{{ article.title }} {%if article.subtitle %} {{ article.subtitle }} {% endif %} {% if article.toc %} Contents {{ article.toc }} {% else %} {% endif %} {% import '_includes/translations.html' as translations with context %} {{ translations.translations_for(article) }} {{ article.content }} {% from '_includes/comments.html' import comments with context %} {{ comments(article) }} {% include '_includes/related_posts.html' with context %} {% 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 '_includes/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 '_includes/social_links.html' %} {% include '_includes/mailchimp.html' %} {% endblock content %} {% block script %} {{ super() }} {% from '_includes/comments.html' import comments_script with context %} {{ comments_script(article) }} {% endblock script %}