11 |
12 |
13 |
Blog post
14 |
15 | This is an example blog post
16 |
17 |
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
18 |
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/LICENSE-MIT:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2013-2014 Jon Schlinkert, Brian Woodward, Contributors.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in
13 | all copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | THE SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Introduction to Assemble
2 |
3 | > This project will help you get started with Assemble. Just download, install the dependencies, and you're off and running!
4 |
5 | You might be amazed at how little setup is required to start using Assemble. [This gist](https://gist.github.com/jonschlinkert/9579914) includes everything you need to create a 100% complete Assemble project!
6 |
7 | ## Getting started
8 |
9 | Ready to learn how to do _more than_ what's covered in the gist? Of course you are! Let's get this ball rolling!
10 |
11 | ### Install
12 |
13 | Download this project using one of the following options:
14 |
15 | * Use git: `git clone https://github.com/jonschlinkert/assemble-example.git`
16 | * Download directly [from GitHub](https://github.com/jonschlinkert/assemble-example/archive/master.zip), then unpack the zip file.
17 |
18 | Next, in the root of the `assemble-example` directory, to install the necessary dependencies, run:
19 |
20 | ```bash
21 | npm install
22 | ```
23 | Done! You should now be able to run `grunt` to build the project.
24 |
25 | _
127 |
130 |
132 | {{md 'team'}}
133 | Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
134 | do eiusmod tempor incididunt ut labore et dolore magna aliqua.
135 |
136 |
137 |
138 |
141 | Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
142 | do eiusmod tempor incididunt ut labore et dolore magna aliqua.
143 |
144 | ```
145 |
146 | **Pages configuration**
147 |
148 | Pages are the "source files" in your configuration. Jump back up to the [usage section](#usage) for a basic example, or refer to [Grunt's documentation](http://gruntjs.com/configuring-tasks#files) to learn more about the vavious formats that can be used in the Gruntfile for defining source and dest files.
149 |
150 | #### Partials
151 |
152 | > Partials allow you to define a chunk of code one time and use it in multiple places.
153 |
154 | Partials are often used for UI components such as buttons, navbars or modals. But they can also be used for any other snippets or sections of code that might be repeated across multiple pages, or for code that might otherwise be reusable in some way. Partials are easy to spot since they use a `>`, which is the special [Handlebars.js syntax](http://blog.teamtreehouse.com/handlebars-js-part-2-partials-and-helpers)) that is only used with partials: e.g. `{{> foo }}`.
155 |
156 | Continuing with the `layout` example from above, to use a partial for the `head` section simply create a new file, such as `head.hbs` or whatever you prefer, then extract the code from the head section and add it to the new file:
157 |
158 | ```handlebars
159 |
160 |