forked from github/pelican
Show article category/tags even if no authors
Before this commit, the behavior of the simple theme is to hide the category and tags if there is no author defined, even if the category/tags are present. This appears to be unintentional, due to a misplaced `endif`. Fix this by moving the endif to the right place, so that the other if blocks aren't nested.
This commit is contained in:
parent
b30270190a
commit
6ec5a984ad
1 changed files with 1 additions and 1 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue