mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-24 17:52:11 +00:00
Fix code snippet numbering in feeds
This commit is contained in:
parent
ca16240b39
commit
add67b2e0c
2 changed files with 2 additions and 0 deletions
|
@ -56,6 +56,7 @@
|
|||
{{ range $pages -}}
|
||||
{{- if not .Params.Private -}}
|
||||
<entry>
|
||||
{{- .Page.Scratch.Set "codeIndex" 1 -}}
|
||||
<title>{{ .Title }}</title>
|
||||
<link rel="alternate" type="text/html" href="{{ .Permalink }}" />
|
||||
<id>{{ .Permalink }}</id>
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
{{ end }}
|
||||
{{ range $pages }}
|
||||
<item>
|
||||
{{- .Page.Scratch.Set "codeIndex" 1 -}}
|
||||
<title>{{ .Title }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||
|
|
Loading…
Reference in a new issue