feat: change to Hugo-generated site

This commit is contained in:
2021-11-23 18:27:10 +01:00
parent 9a72153aaa
commit 2ec4a00a0a
1732 changed files with 62027 additions and 134 deletions
@@ -0,0 +1,8 @@
{{- /* ID */ -}}
{{- $count := (.Scratch.Get "this").count | default 1 -}}
{{- $id := printf "id-%d" $count -}}
{{- $count | add 1 | .Scratch.SetInMap "this" "count" -}}
{{- with .Content -}}
{{- dict $id . | dict "data" | dict "config" | merge ($.Scratch.Get "this") | $.Scratch.Set "this" -}}
{{- end -}}
{{- return $id -}}