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

github.com/thomasheller/crab.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Heller <thomas.m.heller@gmail.com>2020-09-24 20:36:45 +0300
committerGitHub <noreply@github.com>2020-09-24 20:36:45 +0300
commit3e62b32a9641a326f6f79cc8de4b24fd07b8c03f (patch)
tree1722df247bdbb02dec8a9d881fe1911d377d7d2b
parent531b873ce85eda0c2b25a7a16c3c94af408e50f6 (diff)
parentf5cc8f45456e8b6a23188ddf6ddb35e72370210e (diff)
Merge pull request #21 from thomasheller/feature/issue-19HEADmaster
update summary shortcode to work with hugo v0.55 and newer
-rw-r--r--README.md4
-rw-r--r--exampleSite/content/_index.md4
-rw-r--r--exampleSite/content/contact.md4
-rw-r--r--exampleSite/content/features/two-column-layout.md4
4 files changed, 8 insertions, 8 deletions
diff --git a/README.md b/README.md
index d178a1f..147522a 100644
--- a/README.md
+++ b/README.md
@@ -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.