mirror of
https://github.com/loikein/hugo-tufte.git
synced 2025-07-29 00:12:44 +02:00
Merge branch 'main' into master
This commit is contained in:
commit
89b51f17b7
5 changed files with 133 additions and 14 deletions
layouts/shortcodes
|
@ -1,12 +1,4 @@
|
|||
{{ $marginnoteDomIdSuffix := .Ordinal }}
|
||||
<label
|
||||
for="marginnote-{{.Page.File.UniqueID}}-{{ $marginnoteDomIdSuffix }}"
|
||||
class="margin-toggle"
|
||||
>⊕
|
||||
</label>
|
||||
<input
|
||||
type="checkbox"
|
||||
id="marginnote-{{.Page.File.UniqueID}}-{{ $marginnoteDomIdSuffix }}"
|
||||
class="margin-toggle"
|
||||
/>
|
||||
<label for="marginnote-{{.Page.File.UniqueID}}-{{ $marginnoteDomIdSuffix }}" class="margin-toggle">⊕</label>
|
||||
<input type="checkbox" id="marginnote-{{.Page.File.UniqueID}}-{{ $marginnoteDomIdSuffix }}" class="margin-toggle"/>
|
||||
<span class="marginnote">{{ .Inner | markdownify}}</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue