This is an automated email from the ASF dual-hosted git repository.

ntimofeev pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cayenne-website.git

commit 0be30bfa0895be873621ab8982ce5b8d61d8f39c
Author: Nikita Timofeev <[email protected]>
AuthorDate: Fri Jun 10 14:16:44 2022 +0300

    Update shortcodes to work with newer Hugo versions
---
 src/main/site/layouts/shortcodes/gap.html  | 1 +
 src/main/site/layouts/shortcodes/jira.html | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/main/site/layouts/shortcodes/gap.html 
b/src/main/site/layouts/shortcodes/gap.html
index e0790d61c..627d67e2b 100644
--- a/src/main/site/layouts/shortcodes/gap.html
+++ b/src/main/site/layouts/shortcodes/gap.html
@@ -2,6 +2,7 @@
 This short code simply insert one of pb-x classes from bootstrap, see 
bootstrap docs for possible values.
 Default is pb-3, i.e. padding-bottom: 3rem.
  -->
+{{ $_hugo_config := `{ "version": 1 }` }}
 {{ if (.Get 0) -}}
 {{- with .Get 0 -}}
 <div class="pb-{{ . }}"><!-- gap user defined rem --></div>
diff --git a/src/main/site/layouts/shortcodes/jira.html 
b/src/main/site/layouts/shortcodes/jira.html
index 4dc221ef5..15c471dac 100644
--- a/src/main/site/layouts/shortcodes/jira.html
+++ b/src/main/site/layouts/shortcodes/jira.html
@@ -1 +1,2 @@
+{{ $_hugo_config := `{ "version": 1 }` }}
 <a href="https://issues.apache.org/jira/browse/CAY-{{ .Get 0 }}">CAY-{{ .Get 0 
}}</a>
\ No newline at end of file

Reply via email to