blob: 8662b3224e26a914c7e306c618d9743903570e87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{{- if .Draft -}}
<micro-metadata-draft>
{{- /* This comment removes trailing newlines and white spaces. */ -}}
<em>
{{- /* This comment removes trailing newlines and white spaces. */ -}}
<a href="{{ .Site.BaseURL }}/{{ .Type }}/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. */ -}}
</micro-metadata-draft>
{{- end -}}
|