mirror of
https://github.com/loikein/hugo-tufte.git
synced 2025-08-06 03:12:43 +02:00
edit .gitignore; add some shortcodes
This commit is contained in:
parent
b25f6aa483
commit
ae230d5615
4 changed files with 126 additions and 1 deletions
layouts/shortcodes
|
@ -1,3 +1,3 @@
|
|||
{{ $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>
|
||||
<span class="marginnote">{{ .Inner | markdownify}}</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue