]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
fix incorrect info about custom data and fix prototype link
authorZeb Pykosz <zeb.apy@gmail.com>
Thu, 30 Jun 2016 13:42:20 +0000 (09:42 -0400)
committerZeb Pykosz <zeb.apy@gmail.com>
Thu, 30 Jun 2016 19:19:53 +0000 (15:19 -0400)
Either the source files that have panini preconfigured need to be updated to add the `data: 'src/data'` path or the documentation should reflect the requirement.

Also the prototyping link was dead. I'm not sure if this is the correct new link but I've added it for now.

docs/pages/panini.md

index 3f833f80008293ab2fd9897528aa9f7ecac4a4f9..53df59d77f9c77ee8af87f1e4a0699d7150c0134 100644 (file)
@@ -12,7 +12,7 @@ If you've ever created a static site, maybe you had five pages that all shared t
 
 Panini is a flat file compiler that uses the concepts of templates, pages, and partials&mdash;powered by the [Handlebars](http://handlebarsjs.com/) templating language&mdash;to streamline the process of creating static prototypes.
 
-Our [prototyping template](starter-projects.html) uses Panini, along with a host of other tools for processing Sass and images, to make creating optimized templates easy. It's already been configured to utilize all of the features below, but if you want to learn the specifics of how to configure the library, head over to the [Panini GitHub page](https://github.com/zurb/panini).
+Our [prototyping template](https://github.com/zurb/foundation-emails-template) uses Panini, along with a host of other tools for processing Sass and images, to make creating optimized templates easy. It's already been configured to utilize most of the features below, but if you want to learn the specifics of how to configure the library, head over to the [Panini GitHub page](https://github.com/zurb/panini).
 
 ---
 
@@ -196,6 +196,8 @@ Custom data can be added to your pages. This data can then be inserted into your
 
 To add variables to a specific page only, add it at the top of the page's HTML as a [Front Matter](http://jekyllrb.com/docs/frontmatter/) block. Let's say the below content is inside `src/pages/index.html`.
 
+**Before you can use custom data, be sure your Panini configuration has the `data: 'src/data'` path configured.**
+
 ```html
 ---
 title: Page Title