mirror of
https://github.com/loikein/hugo-tufte.git
synced 2025-08-13 14:12:43 +02:00
Implement side + margin note shortcodes.
This commit is contained in:
parent
bb0310ec65
commit
7584401279
3 changed files with 15 additions and 0 deletions
layouts/shortcodes
3
layouts/shortcodes/marginnote.html
Normal file
3
layouts/shortcodes/marginnote.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<label for="{{ .Get 0 }}" class="margin-toggle">⊕</label>
|
||||
<input type="checkbox" id="{{ .Get 0 }}" class="margin-toggle"/>
|
||||
<span class="marginnote">{{ .Inner }}</span>
|
Loading…
Add table
Add a link
Reference in a new issue