aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/meta-via.html
blob: c34ca736ad2ee53d677407cd847dbe269668ada2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{{- $author := .Section -}}

{{- if .Params.feed -}}
  <a
    data-hover=""
    data-anchored="via"
    href="{{ "" | absURL }}/{{ $author }}/feeds/#feeds"
    title="{{ $author }}@{{ or (urls.Parse ("" | absURL)).Host "localhost" }}"
  >
    {{- safeHTML (readFile (print (partial "function-paths.html").static "/icons/tabler/rss.svg")) -}}
    via @{{ $author }}
  </a>
{{- end -}}