Initial version
This commit is contained in:
commit
ed5653a7fc
211 changed files with 11043 additions and 0 deletions
6
themes/zen/layouts/shortcodes/details.html
Normal file
6
themes/zen/layouts/shortcodes/details.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
{{ $class := .Get "class" -}}
|
||||
{{ $summary := .Get "summary" -}}
|
||||
<details{{ with $class }} class="{{ . }}"{{ end }}>
|
||||
{{ with $summary }}<summary>{{ . }}</summary>{{ end }}
|
||||
{{ .Inner | $.Page.RenderString (dict "display" "block") }}
|
||||
</details>
|
Loading…
Add table
Add a link
Reference in a new issue