Implement draft system
This commit is contained in:
@@ -10,7 +10,7 @@ layout: layouts/base.njk
|
||||
<a href="{{ tagUrl }}">#{{ tag }} </a>
|
||||
{%- endfor %}
|
||||
</p>
|
||||
<h1>{{ title | markdownify | safe}}</h1>
|
||||
<h1>{% if draft %}<mark class="draftMarker">DRAFT:</mark> {% endif %}{{ title | markdownify | safe}}</h1>
|
||||
{% if synopsis %}
|
||||
<p class="post-synopsis">
|
||||
{{ synopsis | markdownify | safe}}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<a href="{{ post.url }}" class="postlist-link">
|
||||
{% endif %}
|
||||
<h3>
|
||||
{% if post.data.title %}{{ post.data.title | markdownify | safe }}{% else %}?{% endif %}
|
||||
{% if post.data.draft %}<mark class="draftMarker">DRAFT:</mark> {% endif %}{% if post.data.title %}{{ post.data.title | markdownify | safe }}{% else %}?{% endif %}
|
||||
</h3>
|
||||
{% if not postListTypeMicroblog %}
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user