123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- {% extends "base.html" %}
- {% block meta_author %}{{ article.author|e }}{% endblock %}
- {% block meta_description %}{{ article.description|e }}{% endblock %}
- {% block meta_keywords %}{{ [article.tags|join(', '), article.category, article.keywords]|join(', ') }}{% endblock %}
- {% block title %}{{ SITENAME }} - {{ article.title }} - {{ article.author }}{% endblock title %}
- {% block nav %}
- <a href="{{ SiteProtoDomainTLD }}">Blog</a> ›<a href="{{ SiteProtoDomainTLD }}/{{ article.category.url }}">{{ article.category }}</a> ›{{ article.title }}
- {% endblock %}
- {% block content %}
- {{ super() }}
- <section>
- <header>
- <h2>{{ article.title }}</h2>
- {% import 'translations.html' as translations with context %}
- {{ translations.translations_for(article) }}
- <div>
- <span>Post in</span>
- <abbr title="{{ article.date.isoformat() }}">
- <a href="{{ SiteProtoDomainTLD }}/archive/{{ article.date|strftime("%Y%m%d") }}/">{{ article.locale_date }}</a>
- </abbr>
- <span> | By</span>
- {% if article.author %}
- <a href="{{ SiteProtoDomainTLD }}/author/{{ article.author|lower() }}/index.html">{{ article.author }}</a>
- {% elif AUTHOR %}
- <a href="{{ SiteProtoDomainTLD }}/author/{{ AUTHOR }}.html">{{ AUTHOR }}</a>
- {% endif %}
- <span> | Tags</span>
- {% for tag in article.tags %}
- <a href="{{ SiteProtoDomainTLD }}/{{ tag.url }}">{{ tag }}</a>
- {% endfor %}
- </div>
- </header>
-
- <div>
- {{ article.content }}
- </div>
-
- <footer>
- <span>Category:</span>
- <abbr>
- <a href="{{ SiteProtoDomainTLD }}/{{ article.category.url }}">{{ article.category }}</a>
- </abbr>
- </footer>
- </section>
- {% endblock %}
|