From 0f09e896bba7904d037f78ac4515f3e553d19224 Mon Sep 17 00:00:00 2001 From: loikein Date: Sat, 29 Apr 2023 05:17:50 +0100 Subject: [PATCH] add lang option for side/marginnote --- layouts/shortcodes/marginnote.html | 2 +- layouts/shortcodes/sidenote.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/shortcodes/marginnote.html b/layouts/shortcodes/marginnote.html index 71b3c64..61dcebf 100644 --- a/layouts/shortcodes/marginnote.html +++ b/layouts/shortcodes/marginnote.html @@ -7,6 +7,6 @@ {{- $ind := .Get "ind" | default .Site.Params.marginNoteInd -}} - + {{ .Inner | markdownify}} diff --git a/layouts/shortcodes/sidenote.html b/layouts/shortcodes/sidenote.html index c74d462..786d20d 100644 --- a/layouts/shortcodes/sidenote.html +++ b/layouts/shortcodes/sidenote.html @@ -6,6 +6,6 @@ {{- $label := $.Page.Scratch.Get "sidenoteCounter" -}} - + ({{ $label }}){{ .Inner | markdownify }}