mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 12:52:10 +00:00
Fix bad atom links
This commit is contained in:
parent
f148720fba
commit
3f6877a9f1
1 changed files with 3 additions and 3 deletions
|
@ -13,11 +13,11 @@
|
|||
{{- $isNotes := false -}}
|
||||
{{- if or (eq .Section "notes") (eq .Title "Notes") -}}
|
||||
{{- $isNotes = true -}}
|
||||
<link rel="alternate" type="application/atom+xml" href="{{ site.BaseURL }}notes.xml" title="Notes" />
|
||||
<link rel="alternate" type="application/atom+xml" href="{{ site.BaseURL }}notes/atom.xml" title="Notes" />
|
||||
{{- end }}
|
||||
<link rel="alternate" type="application/atom+xml" href="{{ site.BaseURL }}posts.xml" title="Posts" />
|
||||
<link rel="alternate" type="application/atom+xml" href="{{ site.BaseURL }}posts/atom.xml" title="Posts" />
|
||||
{{ if not $isNotes -}}
|
||||
<link rel="alternate" type="application/atom+xml" href="{{ site.BaseURL }}notes.xml" title="Notes" />
|
||||
<link rel="alternate" type="application/atom+xml" href="{{ site.BaseURL }}/notes/atom.xml" title="Notes" />
|
||||
{{- end }}
|
||||
<title>{{ .Title }}{{ if and (lt (len .Title) 54) (ne $canonicalRelPermalink "/") }} - Seirdy{{ end }}</title>
|
||||
{{ $description := .Site.Params.Description -}}
|
||||
|
|
Loading…
Reference in a new issue