aboutsummaryrefslogtreecommitdiff
path: root/themes/hugo-pt2021/layouts/partials
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2023-01-14 01:18:58 -0500
committerPaul Duncan <pabs@pablotron.org>2023-01-14 01:18:58 -0500
commit9fb641ece733b936d2bfb9e49e4948b1e0ba6011 (patch)
treed55acfdb12bf193c95d7a595b3855c8fe7de4e4a /themes/hugo-pt2021/layouts/partials
parent327efaade6b21fc8274cda01e3dba9209fea9e33 (diff)
downloadpablotron.org-9fb641ece733b936d2bfb9e49e4948b1e0ba6011.tar.bz2
pablotron.org-9fb641ece733b936d2bfb9e49e4948b1e0ba6011.zip
themes/hugo-pt2021/layouts/partials/head.html: add activitypub <link> to page header
Diffstat (limited to 'themes/hugo-pt2021/layouts/partials')
-rw-r--r--themes/hugo-pt2021/layouts/partials/head.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/themes/hugo-pt2021/layouts/partials/head.html b/themes/hugo-pt2021/layouts/partials/head.html
index 56e7887..422347d 100644
--- a/themes/hugo-pt2021/layouts/partials/head.html
+++ b/themes/hugo-pt2021/layouts/partials/head.html
@@ -48,4 +48,12 @@
{{- range .AlternativeOutputFormats -}}
{{- printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML -}}
{{- end -}}
+
+ {{/* activitypub URL */}}
+ {{- if .Site.Params.activityPubUrl -}}
+ <link
+ rel='me'
+ href='{{ .Site.Params.activityPubUrl }}'
+ />
+ {{- end -}}
</head>