aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/meta-via.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2024-02-21 19:30:29 -0500
committertdro <tdro@noreply.example.com>2024-02-21 19:30:29 -0500
commit574bc4a6f013a616b2dcf73d239943924dff6bf1 (patch)
treedb030cf951b789eaee25fcd7111d629416dbf00f /themes/default/layouts/partials/meta-via.html
parenta1ca7f48d94ba56c235f8b28f24a578e41a4138d (diff)
downloadcanory-574bc4a6f013a616b2dcf73d239943924dff6bf1.tar.gz
canory-574bc4a6f013a616b2dcf73d239943924dff6bf1.tar.bz2
canory-574bc4a6f013a616b2dcf73d239943924dff6bf1.zip
themes/default/layouts/partials/meta: Merge anchored elements
Diffstat (limited to 'themes/default/layouts/partials/meta-via.html')
-rw-r--r--themes/default/layouts/partials/meta-via.html11
1 files changed, 5 insertions, 6 deletions
diff --git a/themes/default/layouts/partials/meta-via.html b/themes/default/layouts/partials/meta-via.html
index 3f5476c..c34ca73 100644
--- a/themes/default/layouts/partials/meta-via.html
+++ b/themes/default/layouts/partials/meta-via.html
@@ -1,14 +1,13 @@
{{- $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"
+ 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>
-</anchored-via>
{{- end -}}