article_info.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <footer class="post-info">
  2. <span class="label label-default">Date</span>
  3. <span class="published">
  4. <i class="fa fa-calendar"></i><time datetime="{{ article.date.isoformat() }}"> {{ article.locale_date }}</time>
  5. </span>
  6. {% if SHOW_DATE_MODIFIED %}
  7. {% if article.modified %}
  8. <span class="label label-default">Modified</span>
  9. <span class="modified">
  10. <i class="fa fa-calendar"></i><time datetime="{{ article.modified.isoformat() }}"> {{ article.locale_modified }}</time>
  11. </span>
  12. {% endif %}
  13. {% endif %}
  14. {% if SHOW_SERIES %}
  15. {% if article.series %}
  16. <span class="label label-default">Series</span>
  17. Part {{ article.series.index}} of {{ article.series.name }}
  18. {% endif %}
  19. {% endif %}
  20. {% if SHOW_ARTICLE_AUTHOR %}
  21. {% if article.author %}
  22. <span class="label label-default">By</span>
  23. <a href="{{ SITEURL }}/{{ article.author.url }}"><i class="fa fa-user"></i> {{ article.author }}</a>
  24. {% endif %}
  25. {% endif %}
  26. {% if SHOW_ARTICLE_CATEGORY %}
  27. <span class="label label-default">Category</span>
  28. <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
  29. {% endif %}
  30. {% if PDF_PROCESSOR %}
  31. <span class="label label-default">
  32. <a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">PDF</a>
  33. </span>
  34. {% endif %}
  35. {% include 'includes/taglist.html' %}
  36. {% import 'includes/translations.html' as translations with context %}
  37. {{ translations.translations_for(article) }}
  38. </footer><!-- /.post-info -->