Added link alternate for activity pub on posts

This commit is contained in:
Jeffrey Phillips Freeman 2023-10-13 18:02:10 -04:00
parent 3fbc6ee965
commit 345ec25cf2
No known key found for this signature in database
GPG key ID: AD914585C9406B6A
2 changed files with 6 additions and 0 deletions

View file

@ -6,6 +6,8 @@
* Created activity and status pages for each page independent from the outbox.
This should enable searches for specific posts to work rather than simply
pointing to the main user.
* Added header link alternates specifying the dual mime type of pages. This
should further help with searching for pages as AP status.
* In the comment section for a page if a user doesnt have a profile picture
setup it will now default to a generic avatar rather than render text.
* Removed image alt text when rendering page comments. If an image profile link

View file

@ -17,6 +17,10 @@
<meta name="supported-color-schemes" content="light dark">
<meta name="theme-color" content="{{ if .Params.themecolor }}#{{ .Params.themecolor}}{{ else }}#000000{{ end }}">
{{ if (and .Permalink (not .IsHome)) }}
<link href='{{ .Permalink }}' rel='alternate' type='application/activity+json'>
{{end}}
<meta property="og:site_name" content="{{ site.Params.siteName }}">
<!-- Indicates the twitter account that is the source for this webpage -->