Minor update to how drafts posts are labeled

This commit is contained in:
jimmyff 2023-07-06 19:13:09 +01:00
parent 10c06b661c
commit dc022d0661
4 changed files with 6 additions and 5 deletions

View file

@ -98,6 +98,8 @@
color: var(--red);
font-weight: bold;
font-size: 1rem;
margin-left: 0.5rem;
display: inline-block;
}
.tags {

View file

@ -137,8 +137,7 @@
<script>
feather.replace();
</script>
{% block body_end %}
{% endblock %}
{% block body_end -%}
{% endblock body_end -%}
</body>
</html>

View file

@ -18,7 +18,7 @@
<div class="matter">
<div class="title small">
<a href="{{ post.permalink | safe }}">{{ post.title }}</a>
{% if post.draft %}<span class="draft">Draft</span>{% endif %}
{% if post.draft %}<span class="draft">(Draft)</span>{% endif %}
</div>
{{ hooks::posts_below_title(page=post) }}
</div>

View file

@ -18,7 +18,7 @@
<div class="matter">
<div class="title small">
<a href="{{ post.permalink | safe }}">{{ post.title }}</a>
{% if post.draft %}<span class="draft">Draft</span>{% endif %}
{% if post.draft %}<span class="draft">(Draft)</span>{% endif %}
</div>
{{ hooks::posts_below_title(page=post) }}
</div>