aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/meta-anchored.html
blob: 431fa64327f7121fa2a77390c1b0b46cb5c70931 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{{ if or .Weight .Params.Liked .Params.feed }}
  <micro-metadata-anchored>
    {{- partial "meta-via.html" . -}}

    {{ if .Weight }}
      <anchored-pinned>
       {{ safeHTML (readFile (print (partial "function-paths.html").static "/icons/tabler/pinned.svg")) }}
       <span>Pinned</span>
      </anchored-pinned>
    {{ end }}

    {{ if .Params.Marked }}
      <anchored-marked>
       {{ safeHTML (readFile (print (partial "function-paths.html").static "/icons/feather/bookmark.svg")) }}
       <span>Marked</span>
      </anchored-marked>
    {{ end }}
  </micro-metadata-anchored>
{{ end }}