blob: 3ba6aee5054580b5d9287f32deef540112fdf49e (
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 -}}
|