draft property
This commit is contained in:
@ -6,6 +6,9 @@ layout: default
|
||||
|
||||
<ul class="post-list">
|
||||
{% for post in site.posts %}
|
||||
{% if post.draft %}
|
||||
{% continue %}
|
||||
{% endif %}
|
||||
<li class='lang-{% if post.lang %}{{ post.lang }}{% else %}en{% endif %}'>
|
||||
<h2>
|
||||
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
|
||||
|
Reference in New Issue
Block a user