Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/gohugoioTheme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-04-09 13:33:09 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-04-09 13:33:09 +0300
commit3343de3d5fc4e562df21efe4fe827ca39efdc17c (patch)
treef65c64d776daea74940c24679bc046f69fd0487c
parent62991fbb7cd50cc4702c880a7545293772b4d011 (diff)
Adjust shortcodes for 0.55
Took the easy approach. Fixes #783
-rw-r--r--layouts/shortcodes/note.html1
-rw-r--r--layouts/shortcodes/tip.html1
-rw-r--r--layouts/shortcodes/warning.html1
3 files changed, 3 insertions, 0 deletions
diff --git a/layouts/shortcodes/note.html b/layouts/shortcodes/note.html
index fcf081bd..24d2cd0b 100644
--- a/layouts/shortcodes/note.html
+++ b/layouts/shortcodes/note.html
@@ -1,3 +1,4 @@
+{{ $_hugo_config := `{ "version": 1 }` }}
<aside class="admonition note">
<div class="note-icon">
{{partial "svg/exclamation.svg" (dict "size" "20px" ) }}
diff --git a/layouts/shortcodes/tip.html b/layouts/shortcodes/tip.html
index 0b56ac56..139e3376 100644
--- a/layouts/shortcodes/tip.html
+++ b/layouts/shortcodes/tip.html
@@ -1,3 +1,4 @@
+{{ $_hugo_config := `{ "version": 1 }` }}
<aside class="admonition tip">
<div class="tip-icon">
{{partial "svg/exclamation.svg" .}}
diff --git a/layouts/shortcodes/warning.html b/layouts/shortcodes/warning.html
index d05057e5..c9147be6 100644
--- a/layouts/shortcodes/warning.html
+++ b/layouts/shortcodes/warning.html
@@ -1,3 +1,4 @@
+{{ $_hugo_config := `{ "version": 1 }` }}
<aside class="admonition warning">
<div class="admonition-icon">
{{partial "svg/exclamation.svg" .}}