diff --git a/layouts/_default/single.html b/layouts/_default/single.html index f4e18ca..c22c4a1 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,6 +1,9 @@ {{ define "main" }}
-

{{ .Title | markdownify }}

+

+ {{ .Title | markdownify }} + {{ if .Draft }}{{ partial "icon.html" "edit" }}{{ end }} +

{{ partial "post-metadata.html" . }} diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index ec2161d..895980f 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -2,6 +2,7 @@

{{ with .Parent.Params.icon }}{{ partial "icon.html" . }}{{ end }} {{ .Title | markdownify }} + {{ if .Draft }}{{ partial "icon.html" "edit" }}{{ end }}

{{ partial "post-metadata.html" . }}