diff options
author | Thomas Heller <thomas.m.heller@gmail.com> | 2020-09-24 20:35:54 +0300 |
---|---|---|
committer | Thomas Heller <thomas.m.heller@gmail.com> | 2020-09-24 20:35:54 +0300 |
commit | f5cc8f45456e8b6a23188ddf6ddb35e72370210e (patch) | |
tree | 1722df247bdbb02dec8a9d881fe1911d377d7d2b | |
parent | 531b873ce85eda0c2b25a7a16c3c94af408e50f6 (diff) |
update summary shortcode to work with hugo v0.55 and newer
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | exampleSite/content/_index.md | 4 | ||||
-rw-r--r-- | exampleSite/content/contact.md | 4 | ||||
-rw-r--r-- | exampleSite/content/features/two-column-layout.md | 4 |
4 files changed, 8 insertions, 8 deletions
@@ -78,9 +78,9 @@ If you put a shortcode like this at the beginning of your content file, the summary will appear in the right column: ```md -{{% summary %}} +{{< summary >}} This appears in the sidebar. *Markdown* is supported! -{{% /summary %}} +{{< /summary >}} ``` ## Tags diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md index 1895254..cebcb5f 100644 --- a/exampleSite/content/_index.md +++ b/exampleSite/content/_index.md @@ -5,12 +5,12 @@ draft = false +++ -{{% summary %}} +{{< summary >}} Summary: **Crab** is a clean Hugo theme for websites. Its features include responsiveness, nested menu support, two-column layout, tag and blog article support. -{{% /summary %}} +{{< /summary >}} Welcome to Crab! Crab is a clean Hugo theme for websites. diff --git a/exampleSite/content/contact.md b/exampleSite/content/contact.md index f516463..0729ef8 100644 --- a/exampleSite/content/contact.md +++ b/exampleSite/content/contact.md @@ -5,9 +5,9 @@ draft = false +++ -{{% summary %}} +{{< summary >}} This is a an example contact page. -{{% /summary %}} +{{< /summary >}} Contact the website author: diff --git a/exampleSite/content/features/two-column-layout.md b/exampleSite/content/features/two-column-layout.md index 895220e..31eb087 100644 --- a/exampleSite/content/features/two-column-layout.md +++ b/exampleSite/content/features/two-column-layout.md @@ -5,7 +5,7 @@ draft = false +++ -{{% summary %}} +{{< summary >}} This is what sidebar content looks like. Actually, this page has more info on: @@ -13,7 +13,7 @@ Actually, this page has more info on: - alpha - beta - gamma -{{% /summary %}} +{{< /summary >}} Crab allows you to put content in a second column on the right-hand side of the page. |