not published = draft

This commit is contained in:
2021-11-06 22:31:58 +00:00
parent b173dc9044
commit 060c2151a6
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ layout: default
<ul class="post-list">
{% for post in site.posts %}
{% if post.draft %}
{% if post.published == false %}
{% continue %}
{% endif %}
<li class='lang-{% if post.lang %}{{ post.lang }}{% else %}en{% endif %}'>