Skip to content

Commit

Permalink
fix(lists): use correct var for blog templates
Browse files Browse the repository at this point in the history
  • Loading branch information
neurosnap committed Mar 3, 2023
1 parent 68db7f1 commit 1395c99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lists/html/blog-aside.partial.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
{{range .Posts}}
<article class="my-2">
<div class="flex items-center">
<time datetime="{{.PublishAtISO}}" class="text-sm post-date">{{.PublishdAt}}</time>
<time datetime="{{.PublishAtISO}}" class="text-sm post-date">{{.PublishAt}}</time>
<span class="text-lg flex-1"><a href="{{.URL}}">{{.Title}}</a></span>
</div>
</article>
Expand Down
2 changes: 1 addition & 1 deletion lists/html/blog-default.partial.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
{{range .Posts}}
<article class="my-2">
<div class="flex items-center">
<time datetime="{{.UpdatedAtISO}}" class="text-sm post-date">{{.UpdatedAt}}</time>
<time datetime="{{.PublishAtISO}}" class="text-sm post-date">{{.PublishAt}}</time>
<span class="text-lg flex-1"><a href="{{.URL}}">{{.Title}}</a></span>
</div>
</article>
Expand Down

0 comments on commit 1395c99

Please sign in to comment.