{{ article.title }} {%if article.subtitle %} {{ article.subtitle }} {% endif %} {% if article.toc %} Contents {{ article.toc }} {% else %} {% endif %} {{ article.content }} {% from 'comments.html' import comments with context %} {{ comments(article) }} {% if article.prev_article or article.next_article %} {% endif %} {% if article.date %} Published {% set day = article.date.strftime('%d')|int %} {{ article.date.strftime('%b') }} {{ day }} {{- article.date.strftime(', %Y') }} {% endif %} {% include 'last_updated.html' %} {% if article.category|trim|count > 0 %} Category {{ article.category }} {% endif %} {% if article.tags and article.tags[0]|trim|count > 0 %} Tags {% for tag in article.tags|sort %} {{ tag }} {% for aTag, tagged_articles in tags if aTag == tag %} {{ tagged_articles|count }} {% endfor %} {% endfor %} {% endif %} {% include 'social_links.html' %} {% include 'mailchimp.html' %} {% endblock content %} {% block script %} {{ super() }} {% from 'comments.html' import comments_script with context %} {{ comments_script(article) }} {% endblock script %}