mirror of
https://github.com/aljazceru/njump.git
synced 2026-02-16 03:24:24 +01:00
add rel="self" link to Atom feeds
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
<author>
|
||||
<name>{{.Metadata.Name}}</name>
|
||||
</author>
|
||||
<link rel="self" type="application/atom+xml" href="https://{{.Host}}/{{.Metadata.Npub}}.rss" />
|
||||
<link href="https://{{.Host}}/{{.Metadata.Npub}}" />
|
||||
<id>https://{{.Host}}/{{.Metadata.Npub}}</id>
|
||||
<icon>{{.Metadata.Picture}}</icon>
|
||||
@@ -14,6 +15,7 @@
|
||||
{{if not (eq "" .RelayHostname)}}
|
||||
<title>Nostr notes on {{.RelayHostname}}</title>
|
||||
<link href="https://{{.Host}}/r/{{.RelayHostname}}" />
|
||||
<link rel="self" type="application/atom+xml" href="https://{{.Host}}/r/{{.RelayHostname}}.rss" />
|
||||
<id>https://{{.Host}}/r/{{.RelayHostname}}</id>
|
||||
<icon>{{.Info.Icon}}</icon>
|
||||
<logo>{{.Info.Icon}}</logo>
|
||||
|
||||
Reference in New Issue
Block a user