Skip to content

Commit f8def47

Browse files
HeyItsGilbertclaude
andcommitted
Fix warnidf in header.ics for Hugo < 0.123 compatibility
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent cb46068 commit f8def47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

layouts/_partials/header.ics

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if or (eq hugo.Environment "development") (eq hugo.Environment "debug") }}{{ warnidf "debug-partial-used" "Partial used: %s" templates.Current.Name }}{{ end -}}
1+
{{- if or (eq hugo.Environment "development") (eq hugo.Environment "debug") }}{{ warnf "Partial used: %s" templates.Current.Name }}{{ end -}}
22
{{/* Override of component header.ics — uses .Site.Language.Lang instead of .Locale (requires Hugo 0.159+) */}}
33
{{ with dict `` `
44
` "name" (dict "text" "PowerShell.org Community Calendar" "lang" .Site.Language.Lang) `` `

0 commit comments

Comments
 (0)