diff --git a/CHANGELOG.md b/CHANGELOG.md index 09d99cf37fa8e8a1d7be2f2a5296c30872f3bfc6..7cdf0ba3d13be6a8ff0a295ccf751fa82e7dd488 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 2049a2b4ce702f6ded3ee304d68b3ce10a8db64f..a58c0590536fe183183383eb17d31355eea8eb26 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -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 -->