aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/meta-menu.html
blob: f5e127d99bb77ceb0da5946c1af300299b994a25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{{- $id := partial "card-id.html" . -}}

<menu>
  <li>
    <label for="context-metadata-{{ $id }}">
      {{- safeHTML (readFile (print (partial "function-paths.html").static "/icons/feather/arrow-down-circle.svg")) -}}
      <span>menu</span>
    </label>
  </li>
  <li>
    <input hidden="" type="checkbox" id="context-metadata-{{ $id }}" />
    <context-menu position="anchor">

      {{- partial "menu-markdown.html"  . -}}
      {{- partial "menu-plain.html"     . -}}
      {{- partial "menu-embed.html"     . -}}
      {{- partial "menu-permalink.html" . -}}
      {{- partial "menu-datetime.html"  . -}}

    </context-menu>
  </li>
</menu>
{{- /* This comment removes trailing newlines and white spaces. */ -}}