mirror of
https://github.com/ItsDrike/itsdrike.com.git
synced 2024-11-09 21:49:41 +00:00
Fix 'render of section failed' build issue after hugo update
This commit is contained in:
parent
903123081b
commit
01d192db11
|
@ -10,7 +10,7 @@
|
|||
<div class="item-list-group">
|
||||
<ul class="item-list-items">
|
||||
{{ range .Pages.ByTitle }}
|
||||
<li class="item-list-item" data-id="{{ with .File}}{{ .File.UniqueID }}{{ end }}">
|
||||
<li class="item-list-item" data-id="{{ with .File}}{{ .UniqueID }}{{ end }}">
|
||||
{{ partial "list_item.html" (dict "context" . "dateformat" "Jan 02, 2006") }}
|
||||
</li>
|
||||
{{ end }}
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<!-- List all posts in this year group -->
|
||||
<ul class="item-list-items">
|
||||
{{ range .Pages }}
|
||||
<li class="item-list-item" data-id="{{ with .File}}{{ .File.UniqueID }}{{ end }}">
|
||||
<li class="item-list-item" data-id="{{ with .File}}{{ .UniqueID }}{{ end }}">
|
||||
{{ partial "list_item.html" (dict "context" . "dateformat" "Jan 02") }}
|
||||
</li>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue