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