simplify page with https://github.com/adityatelange/hugo-PaperMod.git
This commit is contained in:
parent
7979c40554
commit
c2189ef133
540 changed files with 6036 additions and 29285 deletions
8
themes/hugo-PaperMod/layouts/shortcodes/collapse.html
Normal file
8
themes/hugo-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