Skip to content

Commit cf34606

Browse files
authored
Merge pull request #19 from Mazizova/fix-hugo-data-ci-compat
Fix production build: use .Site.Data instead of hugo.Data
2 parents 7ee45ad + c626354 commit cf34606

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎layouts/resources/list.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ <h2 class="resource-hub-card-title">{{ .Title }}</h2>
5555
</div>
5656

5757
{{/* ── Recently added ── */}}
58-
{{ $dates := hugo.Data.resource_added }}
58+
{{ $dates := .Site.Data.resource_added }}
5959
{{ $recentItems := slice }}
6060
{{ range .Sections }}
6161
{{ if not .Params.hidden_from_hub }}

0 commit comments

Comments
 (0)