diff options
author | Özgür Kesim <oec@kesim.org> | 2024-11-29 12:58:13 +0100 |
---|---|---|
committer | Özgür Kesim <oec@kesim.org> | 2024-11-29 12:58:13 +0100 |
commit | 8f3b017430c702b34ba61175fde6710e90b3c002 (patch) | |
tree | e7aab671d88d9526476081244781f2f66186838d | |
parent | dfcb43d433fadbeb0c6b532b08238b8d855c415e (diff) |
fix holiday in overview.md
-rw-r--r-- | templates/overview.md | 4 |
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 }} |