From e70a1f0e91de0657c0afaa26a61a3126ec2a5a6a Mon Sep 17 00:00:00 2001 From: Charles Wimmer Date: Sun, 31 Jan 2021 14:48:46 -0800 Subject: [PATCH] Fixes Hugo deprecation warnings (#16) --- layouts/partials/meta.html | 2 +- layouts/shortcodes/marginnote.html | 4 ++-- layouts/shortcodes/sidenote.html | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index 632f64e..0c1120f 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/meta.html @@ -4,4 +4,4 @@ -{{ .Hugo.Generator }} +{{ hugo.Generator }} diff --git a/layouts/shortcodes/marginnote.html b/layouts/shortcodes/marginnote.html index 4efb778..9de6d7b 100644 --- a/layouts/shortcodes/marginnote.html +++ b/layouts/shortcodes/marginnote.html @@ -1,3 +1,3 @@ -{{ $marginnoteDomIdSuffix := .Ordinal }} - +{{ $marginnoteDomIdSuffix := .Ordinal }} + {{ .Inner }} diff --git a/layouts/shortcodes/sidenote.html b/layouts/shortcodes/sidenote.html index 96c63fc..22a9a66 100644 --- a/layouts/shortcodes/sidenote.html +++ b/layouts/shortcodes/sidenote.html @@ -1,3 +1,3 @@ -{{ $sidenoteDomIdSuffix := .Ordinal }} - +{{ $sidenoteDomIdSuffix := .Ordinal }} + {{ .Inner }}