summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/overview.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/overview.md b/templates/overview.md
index caff0cb..bc1a4c8 100644
--- a/templates/overview.md
+++ b/templates/overview.md
@@ -16,6 +16,6 @@
# Days
{{ range .Days 2024 03 }}
-{{if or .IsWeekend .IsHoliday }}# {{end}}{{.Date}}{{ if .IsHoliday}} ({{ index $hd .Date}}){{end -}}
+{{if or .IsWeekend .Holiday }}# {{end}}{{.Date}}{{with .Holiday}} ({{ . }}){{end -}}
{{ with .Planned }} Planned: {{ .Total }}{{ end }}{{ with .Worked }} Worked: {{ .Total }}{{end}}
-{{- end }} \ No newline at end of file
+{{- end }}