mirror of
https://github.com/minoplhy/crappy-reverie.git
synced 2024-11-14 13:26:57 +00:00
crappy-reverie : fix hidden post show in categories
This commit is contained in:
parent
f5c0702d6c
commit
3177ca8e67
@ -15,9 +15,11 @@ title: Categories
|
||||
<h3 class="category-head">{{ category_name }}</h3>
|
||||
<a name="{{ category_name | slugize }}"></a>
|
||||
{% for post in site.categories[category_name] %}
|
||||
{% if post.hidden != true %}
|
||||
<article class="archive-item">
|
||||
<h4><a href="{{ site.baseurl }}{{ post.url }}">{% if post.title and post.title != "" %}{{post.title}}{% else %}{{post.excerpt |strip_html}}{%endif%}</a></h4>
|
||||
</article>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user