diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 428a5ee6..a77d1420 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -4,7 +4,7 @@

{{ .Title | emojify }}

{{ partial "article-meta.html" . }} - {{ if .Draft }} + {{ if and .Draft .Site.Params.article.showDraftLabel }} diff --git a/layouts/partials/article-link.html b/layouts/partials/article-link.html index 3490bd49..535f822b 100644 --- a/layouts/partials/article-link.html +++ b/layouts/partials/article-link.html @@ -13,7 +13,7 @@ {{ else }} {{ .Title }} {{ end }} - {{ if .Draft }} + {{ if and .Draft .Site.Params.article.showDraftLabel }}