mirror of
https://github.com/loikein/hugo-tufte.git
synced 2025-08-07 19:52:45 +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/sidenote.html
Normal file
3
layouts/shortcodes/sidenote.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<label for="{{ .Get "id" }}" class="margin-toggle sidenote-number"></label>
|
||||
<input type="checkbox" id="{{ .Get "id" }}" class="margin-toggle"/>
|
||||
<span class="sidenote">{{ .Inner }}</span>
|
Loading…
Add table
Add a link
Reference in a new issue