Skip to content

Commit 0a682c4

Browse files
authored
Banner: Refactor code due to param name change (#282)
1 parent 0226a4d commit 0a682c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/partials/banner.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- with .Params.banner -}}
1+
{{- with index .Params "nd-banner" -}}
22
{{- if .enabled -}}
33
<!-- Gather the dates and default to beginning or end of time if frontmatter is not provided -->
44
{{- $currentDate := now | dateFormat "2006-01-02" -}}

0 commit comments

Comments
 (0)