blob: 7269262c8a34d8993846f523783568d3a2c441ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{{- $id := delimit (shuffle (seq 1 7)) "" -}}
<micro-metadata-menu>
<context-control>
<label for="context-metadata-{{ $id }}">
{{ safeHTML (readFile (print (partial "function-paths.html" "static") "/icons/feather/arrow-down-circle.svg")) }}
<span>menu</span>
</label>
<input hidden type="checkbox" id="context-metadata-{{ $id }}" />
<context-menu right>
{{- partial "meta-markdown.html" . -}}
{{- partial "meta-permalink.html" . -}}
<micro-metadata-datetime>
<a title="{{ .Date.Local | time.Format "3:04 PM Jan 2 2006" -}}">
{{- safeHTML (readFile (print (partial "function-paths.html" "static") "/icons/feather/calendar.svg")) -}}
{{ .Date.Local | time.Format "Jan 2 2006" | lower -}}
</a>
</micro-metadata-datetime>
</context-menu>
</context-control>
</micro-metadata-menu>
{{- /* This comment removes trailing newlines and white spaces. */ -}}
|