aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/meta-anchored.html
blob: 61175b03979ee8d3203e2ce36007e0d96c06c7b7 (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.Liked }}
      <anchored-liked>
       {{ safeHTML (readFile (print (partial "function-paths.html" "static") "/icons/feather/heart.svg")) }}
       <span>Liked</span>
      </anchored-liked>
    {{ end }}
  </micro-metadata-anchored>
{{ end }}