Initial checkin
This commit is contained in:
4
layouts/shortcodes/details.html
Normal file
4
layouts/shortcodes/details.html
Normal file
@@ -0,0 +1,4 @@
|
||||
<details{{ with .Get 1 }} {{ . | safeHTML }}{{ end -}}>
|
||||
<summary>{{ with .Get 0 -}}{{ . | safeHTML }}{{ else -}}{{ errorf "No summary provided"}}{{ end -}}</summary>
|
||||
{{ with .Inner -}}{{ . | markdownify}}{{ else -}}{{ errorf "No details provided"}}{{ end -}}
|
||||
</details>
|
Reference in New Issue
Block a user