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 ...

  1. i created new post in _posts .md extension containing new custom front matter fields (it published , refixed correctly date) - seems correct

  2. i loop posts using {% post in site.posts %} - works

  3. 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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -