hyde / docs

Hyde documentation
http://hyde.github.io
31 stars 13 forks source link

Document extension & configuration of Jinja2 #2

Open alanhogan opened 13 years ago

alanhogan commented 13 years ago

Questions that should be answered by Hyde docs:

navilan commented 13 years ago

Agreed on all the points. Will make sure they are included.

Marking and reference will go here: http://hyde.github.com/templates/markrefer.html

To answer your question here, mark tag is there to block sections that need to be used elsewhere at a later point.

For example,

Here is a mark tag: https://github.com/hyde/hyde/blob/master/hyde/layouts/basic/content/blog/happy-post.html#L17-23 and here is how it is used: https://github.com/hyde/hyde/blob/master/hyde/layouts/basic/layout/macros.j2#L2-6