repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

commit
1395c99
parent
68db7f1
author
Eric Bower
date
2023-03-03 12:56:41 +0000 UTC
fix(lists): use correct var for blog templates
2 files changed,  +2, -2
M lists/html/blog-aside.partial.tmpl
+1, -1
1@@ -35,7 +35,7 @@
2         {{range .Posts}}
3             <article class="my-2">
4                 <div class="flex items-center">
5-                    <time datetime="{{.PublishAtISO}}" class="text-sm post-date">{{.PublishdAt}}</time>
6+                    <time datetime="{{.PublishAtISO}}" class="text-sm post-date">{{.PublishAt}}</time>
7                     <span class="text-lg flex-1"><a href="{{.URL}}">{{.Title}}</a></span>
8                 </div>
9             </article>
M lists/html/blog-default.partial.tmpl
+1, -1
1@@ -29,7 +29,7 @@
2         {{range .Posts}}
3         <article class="my-2">
4             <div class="flex items-center">
5-                <time datetime="{{.UpdatedAtISO}}" class="text-sm post-date">{{.UpdatedAt}}</time>
6+                <time datetime="{{.PublishAtISO}}" class="text-sm post-date">{{.PublishAt}}</time>
7                 <span class="text-lg flex-1"><a href="{{.URL}}">{{.Title}}</a></span>
8             </div>
9         </article>