Using MathJax with Jekyll

Certainly you can use mathjax with Jekyll. To get this working make sure that If you’re writing your post in markdown, your markdown interpreter isn’t hammering your mathjax input. The best way to protect it I have found is to always put display math in <div> elements and inline math in <span> elements, which most … Read more

Jekyll/Liquid Templating: How to group blog posts by year?

It can be done with much, much less Liquid code than in the existing answers: {% for post in site.posts %} {% assign currentdate = | date: “%Y” %} {% if currentdate != date %} <li id=”y{{currentdate}}”>{{ currentdate }}</li> {% assign date = currentdate %} {% endif %} <li><a href=”{{ post.url }}”>{{ post.title }}</a></li> … Read more