Created
January 5, 2022 00:29
-
-
Save AbeEstrada/a8c2d0ee56014ab888cef96c7b513cf2 to your computer and use it in GitHub Desktop.
Hugo Shortcode: Details
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ if .Inner }}<details {{ if eq (.Get "open") "true" }}open{{ end }}> | |
{{ with .Get "title" }}<summary>{{.}}</summary>{{ end }} | |
{{ .Inner | markdownify }} | |
</details>{{ end }} |
Author
AbeEstrada
commented
Jan 5, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment