mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-12-24 22:39:45 +01:00
4 lines
393 B
HTML
4 lines
393 B
HTML
{{ $marginnoteDomIdSuffix := .Ordinal }}
|
|
<label for="marginnote-{{.Page.File.UniqueID}}-{{ $marginnoteDomIdSuffix }}" class="margin-toggle marginnote-ind">💬</label>
|
|
<input type="checkbox" id="marginnote-{{.Page.File.UniqueID}}-{{ $marginnoteDomIdSuffix }}" class="margin-toggle"/>
|
|
<span class="marginnote"><span class="marginnote-ind">💬</span> {{ .Inner | markdownify}}</span>
|