From 933081348c16dc555d97b203a2988564c88861cc Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sun, 10 Oct 2021 18:42:11 -0700 Subject: [PATCH] Add a draft tag to drafts in recent_posts --- layouts/shortcodes/recent_posts.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/layouts/shortcodes/recent_posts.html b/layouts/shortcodes/recent_posts.html index 8aa4bca..861c6d9 100644 --- a/layouts/shortcodes/recent_posts.html +++ b/layouts/shortcodes/recent_posts.html @@ -8,6 +8,9 @@
  • {{ .Title }} + {{ if $page.Draft }} + draft + {{ end }}
  • {{ end }} @@ -15,10 +18,10 @@ {{ if gt $paginator.TotalPages 1 }} -{{ end }} \ No newline at end of file +{{ end }} \ No newline at end of file