blob: d441b9a0f88797c707d0d9d8a22b10af8decdda5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{{- if .Draft -}}
<meta-draft>
{{- /* This comment removes trailing newlines and white spaces. */ -}}
<em>
{{- /* This comment removes trailing newlines and white spaces. */ -}}
<a href="{{ .Site.BaseURL }}/{{ .Type }}/drafts/#drafts">
{{- safeHTML (readFile (print (partial "function-paths.html").static "/icons/feather/edit.svg")) -}}
<span>Draft</span>
{{- /* This comment removes trailing newlines and white spaces. */ -}}
</a>
{{- /* This comment removes trailing newlines and white spaces. */ -}}
</em>
{{- /* This comment removes trailing newlines and white spaces. */ -}}
</meta-draft>
{{- end -}}
|