Article info

This commit is contained in:
Andrei Astafev 2019-04-20 09:31:28 +03:00
parent 840267b63e
commit 34554b1be2

View File

@ -5,7 +5,7 @@
</span> </span>
{% if SHOW_DATE_MODIFIED %} {% if SHOW_DATE_MODIFIED %}
{% if article.modified %} {% if article.modified %}
<span class="label label-default">{{ _('Modified') }}</span> <span class="label label-default"> | {{ _('Modified') }}</span>
<span class="modified"> <span class="modified">
<i class="fa fa-calendar"></i><time datetime="{{ article.modified.isoformat() }}"> {{ article.locale_modified }}</time> <i class="fa fa-calendar"></i><time datetime="{{ article.modified.isoformat() }}"> {{ article.locale_modified }}</time>
</span> </span>
@ -14,26 +14,26 @@
{% if SHOW_SERIES %} {% if SHOW_SERIES %}
{% if article.series %} {% if article.series %}
<span class="label label-default">{{ _('Series') }}</span> <span class="label label-default"> | {{ _('Series') }}</span>
Part {{ article.series.index}} of {{ article.series.name }} Part {{ article.series.index}} of {{ article.series.name }}
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if SHOW_ARTICLE_AUTHOR %} {% if SHOW_ARTICLE_AUTHOR %}
{% if article.author %} {% if article.author %}
<span class="label label-default">{{ _('By') }}</span> <span class="label label-default"> | {{ _('By') }}</span>
<a href="{{ SITEURL }}/{{ article.author.url }}"><i class="fa fa-user"></i> {{ article.author }}</a> <a href="{{ SITEURL }}/{{ article.author.url }}"><i class="fa fa-user"></i> {{ article.author }}</a>
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if SHOW_ARTICLE_CATEGORY %} {% if SHOW_ARTICLE_CATEGORY %}
<span class="label label-default">{{ _('Category') }}</span> <span class="label label-default"> | {{ _('Category') }}</span>
<a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a> <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
{% endif %} {% endif %}
{% if PDF_PROCESSOR %} {% if PDF_PROCESSOR %}
<span class="label label-default"> <span class="label label-default"> | {{ _('Download') }}
<a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">PDF</a> <a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf"><i class="fa fa-file-pdf-o"></i></a>
</span> </span>
{% endif %} {% endif %}