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

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