I want to use liquid tags on the Jekyll website page. I have successfully used them in layout files, but when I use them on the page, they are not analyzed by Liquid.
The page is in html format, not Markdown. The page has a valid YAML front element that is successfully used by the layout file. Here is the page code that is not being processed:
--- layout: default title: Media id: media order: 2 --- <section id="photos"> <h2>Photographs</h2> <div id="galleries"> {% for set in site.flickr-sets %} <div class="gallery" data-set="{{ set }}"></div> {% endfor %} </div> </section>
Is there an obvious reason why this does not work? I really need to have access to the global site variable ...
EDIT
This problem does not seem to be limited to just this page. I tried to create a new page and use some kind of liquid syntax and got the same result. It is also any liquid syntax, not just tags.
In the layout file that these pages use, I include the contents of the page using {{ page.content }} , not just {{ content }} . Could this be relevant?
source share