mirror of
https://github.com/loikein/hugo-tufte.git
synced 2025-08-05 19:02:44 +02:00
Fixes Hugo deprecation warnings (#16)
This commit is contained in:
parent
9120aa5534
commit
e70a1f0e91
3 changed files with 5 additions and 5 deletions
layouts/shortcodes
|
@ -1,3 +1,3 @@
|
|||
{{ $marginnoteDomIdSuffix := .Ordinal }}<label for="marginnote-{{.Page.UniqueID}}-{{ $marginnoteDomIdSuffix }}" class="margin-toggle">⊕</label>
|
||||
<input type="checkbox" id="marginnote-{{.Page.UniqueID}}-{{ $marginnoteDomIdSuffix }}" class="margin-toggle"/>
|
||||
{{ $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"/>
|
||||
<span class="marginnote">{{ .Inner }}</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue