mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 21:02:09 +00:00
Always include canonical URL, index onion
This commit is contained in:
parent
e660a132c2
commit
9c736e7874
1 changed files with 2 additions and 2 deletions
|
@ -15,12 +15,12 @@
|
|||
{{ $webmanifest := resources.Get "/manifest.webmanifest" | resources.ExecuteAsTemplate "manifest.webmanifest" . | resources.Minify | resources.Fingerprint "md5" -}}
|
||||
{{ printf `<link rel="manifest" href="%s">` $webmanifest.RelPermalink | safeHTML }}
|
||||
<link rel="alternate" type="application/rss+xml" href="{{ .Site.BaseURL }}posts/index.xml" title="{{ $.Site.Title }}">
|
||||
{{ if ne .Site.BaseURL "https://seirdy.one/" -}}
|
||||
{{ if and (ne .Site.BaseURL "https://seirdy.one/") (ne .Site.BaseURL "http://wgq3bd2kqoybhstp77i3wrzbfnsyd27wt34psaja4grqiezqircorkyd.onion/") -}}
|
||||
<meta name="robots" content="noindex">
|
||||
{{ else -}}
|
||||
<link rel="webmention" href="https://seirdy.one/webmentions/receive">
|
||||
<link rel="canonical" href="https://seirdy.one{{ .RelPermalink }}">
|
||||
{{ end -}}
|
||||
<link rel="canonical" href="https://seirdy.one{{ .RelPermalink }}">
|
||||
<link rel="pgpkey" type="application/pgp-keys" href="{{ .Site.BaseURL }}publickey.asc">
|
||||
{{- $resources := slice -}}
|
||||
{{ $resources = $resources | append (resources.Get "/css/main.css") -}}
|
||||
|
|
Loading…
Reference in a new issue