commit a5fe8b21cca7b0079ad858f34ccc131af0ce66be parent 95e037b5cdf298dea5ab45ee6c7dc8d229da6265 Author: Yohanes Bandung <bandungpenting@gmail.com> Date: Mon, 4 May 2020 03:34:52 +0700 hotfix: FOR REAL! fixes note guid. i am dumb Diffstat:
| M | layouts/notes/rss.xml | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/layouts/notes/rss.xml b/layouts/notes/rss.xml @@ -27,15 +27,15 @@ {{ with .OutputFormats.Get "RSS" }} {{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }} {{ end }} + {{ range $pages }} {{ $dateformat := .Date.Format "2006-01-02 15:04" }} {{ $idslug := (print "date-" $dateformat "-") | urlize }} - {{ range $pages }} <item> <title>{{ .Title }}</title> <link>{{ .Site.BaseURL }}notes#{{ $idslug }}</link> <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate> {{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}} - <guid isPermaLink="false">{{ .Site.BaseURL }}notes#{{ $idslug }}</guid> + <guid isPermaLink="true">{{ .Site.BaseURL }}notes#{{ $idslug }}</guid> <description>{{ .Content | html }}</description> </item> {{ end }}