Skip to content

Commit

Permalink
feat: mark draft posts for easy identification
Browse files Browse the repository at this point in the history
  • Loading branch information
carbontwelve committed Jan 2, 2024
1 parent 9b8c093 commit 4eb9bd7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/_includes/components/post-list-line.njk
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<li>
<span>
{% if post.data.draft %}
<span style="color: red">(D)</span>
{% endif %}
<a href="{{ post.url }}" title="Read {{ post.data.title }}">{{ post.data.title }}</a>
{% if displayContentType %}
<small class="content-type">{{ post.data.contentType }}</small>
Expand Down

0 comments on commit 4eb9bd7

Please sign in to comment.