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); color: var(--red);
font-weight: bold; font-weight: bold;
font-size: 1rem; font-size: 1rem;
margin-left: 0.5rem;
display: inline-block;
} }
.tags { .tags {

View file

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

View file

@ -18,7 +18,7 @@
<div class="matter"> <div class="matter">
<div class="title small"> <div class="title small">
<a href="{{ post.permalink | safe }}">{{ post.title }}</a> <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> </div>
{{ hooks::posts_below_title(page=post) }} {{ hooks::posts_below_title(page=post) }}
</div> </div>

View file

@ -18,7 +18,7 @@
<div class="matter"> <div class="matter">
<div class="title small"> <div class="title small">
<a href="{{ post.permalink | safe }}">{{ post.title }}</a> <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> </div>
{{ hooks::posts_below_title(page=post) }} {{ hooks::posts_below_title(page=post) }}
</div> </div>