mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-24 09:06:30 -05:00
Create a details shortcode to allow collapsable sections
This commit is contained in:
parent
d5a56b95d8
commit
60bbe5949d
1 changed files with 4 additions and 0 deletions
4
layouts/shortcodes/details.html
Normal file
4
layouts/shortcodes/details.html
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
<details>
|
||||||
|
<summary>{{ .Get 0 | default "See more..."}}</summary>
|
||||||
|
{{ .Inner | markdownify }}
|
||||||
|
</details>
|
Loading…
Reference in a new issue