add simple theme
This commit is contained in:
parent
9e3457474b
commit
ec19540d92
102 changed files with 4646 additions and 1 deletions
8
themes/PaperMod/layouts/shortcodes/collapse.html
Normal file
8
themes/PaperMod/layouts/shortcodes/collapse.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
{{ if .Get "summary" }}
|
||||
{{ else }}
|
||||
{{ warnf "missing value for param 'summary': %s" .Position }}
|
||||
{{ end }}
|
||||
<p><details {{ if (eq (.Get "openByDefault") true) }} open=true {{ end }}>
|
||||
<summary markdown="span">{{ .Get "summary" | markdownify }}</summary>
|
||||
{{ .Inner | markdownify }}
|
||||
</details></p>
|
Loading…
Add table
Add a link
Reference in a new issue