mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 21:02:09 +00:00
Add a canonical URL
Since there's another version of the site on my tilde serving as a staging area, I should specify a canonical version of the site to avoid duplicate entries in search results.
This commit is contained in:
parent
6cd84118ea
commit
e919c83fd5
1 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,8 @@
|
|||
<meta name="description" content="{{ . }}">
|
||||
{{ 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 }}" />
|
||||
<link href="{{ .Site.BaseURL }}posts/index.xml" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}"/>
|
||||
<link rel="canonical" href="https://seirdy.one{{ .RelPermalink }}"/>
|
||||
|
||||
{{ $resources := slice -}}
|
||||
|
||||
|
|
Loading…
Reference in a new issue