diff options
author | naro143 <y.ishimi@itdharman.com> | 2019-04-25 09:46:17 +0300 |
---|---|---|
committer | naro143 <y.ishimi@itdharman.com> | 2019-04-25 09:46:17 +0300 |
commit | c5fd03183fd3b48f4d880eab3ec64f1c229ff087 (patch) | |
tree | af92e0600de2e518c031b24d50c8ab3bdab29aee | |
parent | 8e5c2e99cc3c4b495f42d98ea1374ce2926f1521 (diff) |
fix: shortcode for ver 0.55
-rw-r--r-- | layouts/shortcodes/portfolio.html | 1 | ||||
-rw-r--r-- | layouts/shortcodes/private.html | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/layouts/shortcodes/portfolio.html b/layouts/shortcodes/portfolio.html index 1e24197..4d90d0e 100644 --- a/layouts/shortcodes/portfolio.html +++ b/layouts/shortcodes/portfolio.html @@ -1,3 +1,4 @@ +{{ $_hugo_config := `{ "version": 1 }` }} {{ if .IsNamedParams }} {{ $.Scratch.Add "image" ( .Get "image") }} {{ $.Scratch.Add "alt" ( .Get "alt") }} diff --git a/layouts/shortcodes/private.html b/layouts/shortcodes/private.html index eefcbc1..f4608d1 100644 --- a/layouts/shortcodes/private.html +++ b/layouts/shortcodes/private.html @@ -1,5 +1,6 @@ +{{ $_hugo_config := `{ "version": 1 }` }} <div class="private"> <div class="private-inner"> - {{ .Inner }} - </div> + {{ .Inner }} + </div> </div>
\ No newline at end of file |