Move a bunch of stuff from the theme

This commit is contained in:
Eryn Wells 2021-10-11 12:26:47 -07:00
parent ae15fe67b8
commit ce1c860269
10 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,9 @@
<!---->{{ if not (.Get "summary") }}
<!---->{{ errorf "missing param 'summary': %s" .Position }}
<!---->{{ else if not (.Get "content") }}{{ warnf "missing param 'content': %s" .Position }}
<!---->{{ end }}
<details {{ if (eq (.Get `openByDefault`) true) }}open="true" {{ end }}>
<summary markdown="span">{{ .Get "summary" | markdownify }}</summary>
{{ .Get "content" | markdownify }}
</details>