diff options
author | Paul Duncan <pabs@pablotron.org> | 2023-01-14 01:18:58 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2023-01-14 01:18:58 -0500 |
commit | 9fb641ece733b936d2bfb9e49e4948b1e0ba6011 (patch) | |
tree | d55acfdb12bf193c95d7a595b3855c8fe7de4e4a /themes/hugo-pt2021/layouts/partials/head.html | |
parent | 327efaade6b21fc8274cda01e3dba9209fea9e33 (diff) | |
download | pablotron.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/head.html')
-rw-r--r-- | themes/hugo-pt2021/layouts/partials/head.html | 8 |
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> |