docpad: yaml postfix in metadata header -


i have seen somewhere yaml added metadata section:

--- yaml layout: 'post' --- 

why that?

i think found myself.

the metadata section can parsed either yaml or cson. metadata section starting --- yaml, or ---will parsed yaml, while section starting --- cson parsed cson.


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -