article.html 875 B

1234567891011121314151617181920212223242526
  1. {% extends "base.html" %}
  2. {% block content %}
  3. <section id="content" class="body">
  4. <header>
  5. <h2 class="entry-title">
  6. <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
  7. title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
  8. {% import 'translations.html' as translations with context %}
  9. {{ translations.translations_for(article) }}
  10. </header>
  11. <footer class="post-info">
  12. <abbr class="published" title="{{ article.date.isoformat() }}">
  13. {{ article.locale_date }}
  14. </abbr>
  15. {% if article.author %}
  16. <address class="vcard author">
  17. By <a class="url fn" href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a>
  18. </address>
  19. {% endif %}
  20. </footer><!-- /.post-info -->
  21. <div class="entry-content">
  22. {{ article.content }}
  23. </div><!-- /.entry-content -->
  24. </section>
  25. {% endblock %}