blob: 6fff43879545b7907437e1709dc7403e44e10cfe (
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/#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 -}}
|