diff --git a/layouts/partials/head.html b/layouts/partials/head.html index a28a96b..cfbc4be 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -23,5 +23,13 @@ + {{ if .Site.IsServer }} + + + + {{ end }} + + {{ .Title }} diff --git a/layouts/shortcodes/numberedsidenote.html b/layouts/shortcodes/numberedsidenote.html deleted file mode 100644 index d9fb351..0000000 --- a/layouts/shortcodes/numberedsidenote.html +++ /dev/null @@ -1,11 +0,0 @@ -{{ .Page.Scratch.Add "numbernote-id" 1 }} -{{ $id := .Page.Scratch.Get "numbernote-id" }} - - - - -[note: -{{ .Inner }} -] - - diff --git a/layouts/shortcodes/sidenote.html b/layouts/shortcodes/sidenote.html index 61ae8e9..4393211 100644 --- a/layouts/shortcodes/sidenote.html +++ b/layouts/shortcodes/sidenote.html @@ -1,7 +1,11 @@ +{{ if $offset := .Get 3 }} + +{{ else }} +{{ end }} [note: {{ .Inner }} ]