-rw-r--r-- templates/article.html
1 {% extends "base.html" %} 2 3 4 {% block title %}{{ SITENAME }} / {{ article.title }}{% endblock %} 5 6 7 {% block extra_meta %} 8 {% if article.description %} 9 <meta name="description" content="{{article.description}}" /> 10 {% endif %} 11 {% endblock %} 12 13 14 {% block header %} 15 <a href=/>mcol.xyz</a> / <a href=/{{ ARCHIVES_SAVE_AS }}>{{ ARCHIVES_TITLE }}</a> / <a href=/{{ output_file }}>{{ article.title }}</a> 16 {% endblock %} 17 18 19 {% block content %} 20 21 {{ article.content }} 22 23 {% if ARTICLE_FEEDBACK %} 24 <hr><p>{{ ARTICLE_FEEDBACK }}</p> 25 {% endif %} 26 27 <footer><hr> 28 <p>Published @ <time datetime="{{ article.date.isoformat() }}">{{ article.locale_date }}</time> 29 {% if article.category %}in <a href="/{{ article.category.url }}">{{ article.category }}</a>{% endif %} 30 31 {% if article.modified %} 32 / <span class=mod>Modified <time datetime="{{ article.modified.isoformat() }}">{{ article.locale_modified }}</time><span> 33 {% endif %}</p> 34 </footer> 35 36 {% endblock %} 37