Merge pull request #2377 from strburst/simple_no_authors

Show article category/tags even if no authors (in the simple theme)
This commit is contained in:
Justin Mayer 2018-07-06 21:43:01 +02:00 committed by GitHub
commit d84757fae5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,6 +39,7 @@
<a class="url fn" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>
{% endfor %}
</address>
{% endif %}
{% if article.category %}
<div class="category">
Category: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
@ -52,7 +53,6 @@
{% endfor %}
</div>
{% endif %}
{% endif %}
</footer><!-- /.post-info -->
<div class="entry-content">
{{ article.content }}