I'm new to Jekyll, Liquid and Ruby as a whole, so sorry if I'm being really stupid. It seems that Jekyll is ignoring any liquid tags with posts (under the _posts directory), which results in output like the following. These posts are all formatted in markdown, and they all have YAML markup within them.
{% highlight scss %} .noisy { @include noise(#00f); } {% endhighlight %}
I've tested that it isn't just Pygments failing by adding {{ post.title }}
which is also left unparsed. Check out the code on Github
I honestly don't know what I'm doing wrong.
Thanks in advance.
It seems I have figured out my problem. I was using
{{ page.content }}
in my post.html instead of just{{ content }}
.
Highlight in html issue with Jekyll/Liquid and pygments
It's page.title
Template Data · mojombo/jekyll Wiki
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With