Skip to content

Commit cb46068

Browse files
HeyItsGilbertclaude
andcommitted
Fix warnidf compatibility with Hugo < 0.123
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 62900bb commit cb46068

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

layouts/_partials/event.ics

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{- /* Override of component event.ics — uses .Site.Language.Lang instead of .Locale (requires Hugo 0.159+) */ -}}
2-
{{- if or (eq hugo.Environment "development") (eq hugo.Environment "debug") }}{{ warnidf "debug-partial-used" "Partial used: %s" templates.Current.Name }}{{ end -}}
2+
{{- if or (eq hugo.Environment "development") (eq hugo.Environment "debug") }}{{ warnf "Partial used: %s" templates.Current.Name }}{{ end -}}
33
{{- $timezone := partial "ical/get_timezone.ics" . -}}
44
{{- $lang := .Site.Language.Lang -}}
55
{{- $endDate := "" -}}

0 commit comments

Comments
 (0)