diff --git a/themes/vanilla/assets/scss/sidenotes.scss b/themes/vanilla/assets/scss/sidenotes.scss index b7dd3d2..2c20023 100644 --- a/themes/vanilla/assets/scss/sidenotes.scss +++ b/themes/vanilla/assets/scss/sidenotes.scss @@ -68,6 +68,10 @@ $sidenote-highlight-border-width: .2rem; text-align: left; } +.sidenote-delimiter { + display: none; +} + @mixin hidden-sidenote { position: static; margin-top: 1rem; diff --git a/themes/vanilla/layouts/partials/head.html b/themes/vanilla/layouts/partials/head.html index 404144f..be5859a 100644 --- a/themes/vanilla/layouts/partials/head.html +++ b/themes/vanilla/layouts/partials/head.html @@ -8,6 +8,7 @@ {{ $style := resources.Get "scss/style.scss" | resources.ToCSS | resources.Minify }} {{ $sidenotes := resources.Get "scss/sidenotes.scss" | resources.ToCSS | resources.Minify }} {{ $icon := resources.Get "img/favicon.png" }} + {{- partial "sidenotes.html" . -}} diff --git a/themes/vanilla/layouts/partials/sidenotes.html b/themes/vanilla/layouts/partials/sidenotes.html new file mode 100644 index 0000000..3cde4c2 --- /dev/null +++ b/themes/vanilla/layouts/partials/sidenotes.html @@ -0,0 +1,5 @@ + diff --git a/themes/vanilla/layouts/shortcodes/numberedsidenote.html b/themes/vanilla/layouts/shortcodes/numberedsidenote.html index 0b6358a..d9fb351 100644 --- a/themes/vanilla/layouts/shortcodes/numberedsidenote.html +++ b/themes/vanilla/layouts/shortcodes/numberedsidenote.html @@ -4,6 +4,8 @@ +[note: {{ .Inner }} +] diff --git a/themes/vanilla/layouts/shortcodes/sidenote.html b/themes/vanilla/layouts/shortcodes/sidenote.html index 455b908..61ae8e9 100644 --- a/themes/vanilla/layouts/shortcodes/sidenote.html +++ b/themes/vanilla/layouts/shortcodes/sidenote.html @@ -2,6 +2,8 @@ +[note: {{ .Inner }} +]