mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-27 14:12:09 +00:00
Only index the canonical location, seirdy.one
Don't index the staging version on my tilde.
This commit is contained in:
parent
e919c83fd5
commit
b9abb9090c
1 changed files with 24 additions and 21 deletions
|
@ -6,6 +6,9 @@
|
|||
{{ end }}
|
||||
{{ printf `<link rel="shortcut icon" href="%s">` ("favicon.png" | absURL) | safeHTML }}
|
||||
<link href="{{ .Site.BaseURL }}posts/index.xml" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}"/>
|
||||
{{ if eq .Site.BaseURL "https://envs.net/~seirdy/" -}}
|
||||
<meta name="robots" content="noindex">
|
||||
{{ end -}}
|
||||
<link rel="canonical" href="https://seirdy.one{{ .RelPermalink }}"/>
|
||||
|
||||
{{ $resources := slice -}}
|
||||
|
|
Loading…
Reference in a new issue