Find file
854b580 Aug 17, 2013
@jonschlinkert @hariadi
92 lines (80 sloc) 3.94 KB
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<link rel="stylesheet" href="_gh-pages/assets/bootstrap.css">
<!-- nav partial -->
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="navbar-brand" href="index.html">ASSEMBLE</a>
<ul class="nav">
<li class="active">
<a href="index.html">Home</a>
<a href="site/markdown.html">Markdown</a>
<a href="site/examples.html">Examples</a>
<ul class="nav pull-right">
<li> <a href="">More Examples</a> </li>
<li> <a href="">Visit Assemble</a> </li>
<div class="container">
<!-- body partial, used for adding pages to layout -->
<h1><a href="">boilerplate-site v0.1.1</a></h1>
<p>Boilerplate for generating a basic static site with Assemble.</p>
<p>You may find outdated information or examples in this project. While we&#39;re refactoring, you might be more interested in <a href="">assemble-bootstrap</a> in the meantime.</p>
<h2>Getting Started</h2>
<li><strong><a href="">Download this project</a></strong> and unzip it into a new folder.</li>
<li>In the project folder, run <code>npm install</code> to install <a href="">Assemble</a>, <a href="">Grunt</a> and any other dependencies.</li>
<li>Once the dependencies are installed you may run <code>grunt assemble</code> to build the example project.</li>
<p>If you haven&#39;t used <a href="">Grunt</a> before, be sure to check out the <a href="">Getting Started</a> guide, as it explains how to create a <a href="">Gruntfile</a>, as well as install and use Grunt plugins.</p>
<h2>The &quot;assemble&quot; task</h2>
<p>In the project&#39;s Gruntfile, the example <code>assemble</code> task is pre-loaded with paths and options following standard Grunt.js conventions:</p>
<pre><code class="language-js">grunt.initConfig({
<span class="comment">// The "assemble" task</span>
assemble: {
<span class="comment">// Task-level options.</span>
options: {
flatten: <span class="literal">true</span>,
assets: <span class="string">'dist/assets'</span>,
layout: <span class="string">'templates/layouts/default.hbs'</span>,
partials: <span class="string">'templates/partials/*.hbs'</span>,
data: <span class="string">'src/data/*.{json,yml}'</span>
<span class="comment">// Templates to build into pages</span>
pages: {
files: {
<span class="string">'dist/'</span>: [<span class="string">'templates/pages/*.hbs'</span>]
<h2>Boilerplate Author</h2>
<p><strong>Jon Schlinkert</strong></p>
<li><a href=""><a href=""></a></a></li>
<li><a href=""><a href=""></a></a></li>
<p>In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Use <a href="">Assemble</a> to build and maintain your gh-pages, blog or documentation. Lint and test your code using <a href="">Grunt</a>.</p>
<script src="_gh-pages/assets/highlight.js"></script>