Script to build examples

This commit is contained in:
Tim Schaub
2017-08-25 18:59:18 -06:00
committed by Tim Schaub
parent 7f47883c48
commit 93411a2b91
8 changed files with 282 additions and 8 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
# Code examples
The `.html` files in this folder are built by applying the templates in the `config/examples/` folder. Examples have [YAML front-matter](http://www.metalsmith.io) headers with the following properties:
The `.html` files in this folder are built by applying the templates in the `templates` folder. Examples have [YAML front-matter](http://www.metalsmith.io) headers with the following properties:
* layout: The template from the `config/examples/` directory to use for this example
* layout: The template from the `templates` directory to use for this example
* title: The title of the example
* shortdesc: A short description for the example index
* docs: Documentation of the example. Can be markdown.