mirror of
https://git.qoto.org/fedipage/fedipage.git
synced 2024-11-15 19:47:57 +01:00
Added link alternate for activity pub on posts
This commit is contained in:
parent
3fbc6ee965
commit
345ec25cf2
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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 -->
|
||||
|
|
Loading…
Reference in a new issue