diff --git a/themes/nluug/layouts/projecten/single.html b/themes/nluug/layouts/projecten/single.html index 7056304..00ba69d 100644 --- a/themes/nluug/layouts/projecten/single.html +++ b/themes/nluug/layouts/projecten/single.html @@ -10,20 +10,30 @@ {{ range . }} {{ $.Scratch.Set "counter" (add ($.Scratch.Get "counter") 1) }} {{ with .name }}
{{ . }}
{{ end }} - {{ with .goal }}Doel: {{ . }}
{{ end }} - {{ with .link }}Relevante link: {{ .name }}
{{ end }} - {{ if .finished }}✔️ Hoofdtaak is afgerond
{{ end }} - {{ $.Scratch.Set "counter2" 0 }} - {{ with .subtasks }} - {{ range . }} - {{ $.Scratch.Set "counter2" (add ($.Scratch.Get "counter2") 1) }} -{{ . }}
{{ end }} - {{ if .finished }}✔️ Subtaak is afgerond
{{ end }} - {{ with .link }}Relevante link: {{ .name }}
{{ end }} +{{ . }}{{ end }} + {{ with .goal }}
Doel: {{ . }}
{{ end }} + {{ with .comment }}{{ . }}
{{ end }} + {{ if .finished }} +✔️ Afgerond{{ with .link }}, zie {{ .name }}{{ end }}
+ {{ else }} +🛠️ Nog af te ronden
{{ end }} - {{ end }} + {{ $.Scratch.Set "counter2" 0 }} + {{ with .subtasks }} + {{ range . }} + {{ $.Scratch.Set "counter2" (add ($.Scratch.Get "counter2") 1) }} +{{ . }}{{ end }} + {{ with .comment }}
{{ . }}
{{ end }} + {{ if .finished }} +✔️ Subtaak afgerond{{ with .link }}, zie {{ .name }}{{ end }}
+ {{ else }} +🛠️ Subtaak wordt nog aan gewerkt
+ {{ end }} + {{ end }} + {{ end }} +