post - Jekyll Front Matter custom fields in _posts .md (markdown) not available in liquid tag -
i aware can add , use html page custom front matter fields using {{ page.myfield }} directive not work posts (i.e. when iterating site.posts in loop.
my problem, have done ...
i created new post in _posts .md extension containing new custom front matter fields (it published , refixed correctly date) - seems correct
i loop posts using {% post in site.posts %} - works
when attempt use these using liquid tag {{ post.mynewfield }} not available show in post.content text not useable field.
surely cannot correct. assume in markdown in front matter section should accessible, seems in jekyll front matter instruction http://jekyllrb.com/docs/frontmatter/#custom-variables
please help.
cause of issue utf-8-dom encoding when should have been utf-8 encoding .md files
Comments
Post a Comment