ybbond

My site. The main domain
Log | Files | Refs | README | LICENSE | CC-LICENSE

commit 984074c510bf199360dc4e5a9764d331aab990e1
parent ada65148b029337f22020e67debb24593ef6be2d
Author: Yohanes Bandung <bandungpenting@gmail.com>
Date:   Sat,  2 May 2020 03:16:02 +0700

hotfix: try fix notes rss again

Diffstat:
Mlayouts/notes/rss.xml | 2+-
Mlayouts/partials/post/notes-item.html | 2+-

2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/layouts/notes/rss.xml b/layouts/notes/rss.xml
@@ -28,7 +28,7 @@
   {{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
     {{ end }}
     {{ $dateformat := .Date.Format "2006-01-02 15:04" }}
-    {{ $idslug := (print $dateformat "-") | urlize }}
+    {{ $idslug := (print "date-" $dateformat "-") | urlize }}
     {{ range $pages }}
     <item>
       <title>{{ .Title }}</title>
diff --git a/layouts/partials/post/notes-item.html b/layouts/partials/post/notes-item.html
@@ -1,5 +1,5 @@
 {{ $dateformat := .Date.Format "2006-01-02 15:04" }}
-{{ $idslug := (print $dateformat "-") | urlize }}
+{{ $idslug := (print "date-" $dateformat "-") | urlize }}
 <div class="notes">
   <p class="notes__title" id={{ $idslug }}>
     <span>