diff --git a/themes/nluug/layouts/projecten/section.html b/themes/nluug/layouts/projecten/section.html index 9f92573..a566c21 100644 --- a/themes/nluug/layouts/projecten/section.html +++ b/themes/nluug/layouts/projecten/section.html @@ -1,7 +1,8 @@ {{ define "main" }} -
{{ .description }}
+{{ .Params.project.description }}
+ Meer informatie {{ end }} {{ end }} diff --git a/themes/nluug/layouts/projecten/single.html b/themes/nluug/layouts/projecten/single.html new file mode 100644 index 0000000..7056304 --- /dev/null +++ b/themes/nluug/layouts/projecten/single.html @@ -0,0 +1,32 @@ +{{ define "main" }} +{{ $.Scratch.Set "counter" 0 }} + {{ with .Params.project.title }}Project: {{ . }}
{{ end }} + {{ with .description }}{{ . }}
{{ end }} +{{ . }}
{{ 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 }} + {{ end }} + {{ end }} + {{ end }} + {{ else }} +Waarschuwing: dit project is niet goed geconfigureerd in de front matter.
+ {{ end }} +{{ end }}