From 448a3a9c309d5260559e41a6e1091b49771255c9 Mon Sep 17 00:00:00 2001 From: somrat Date: Mon, 30 Dec 2019 16:27:38 +0600 Subject: [PATCH] modified notice shortcode --- .../installation/elements/_index.en.md | 26 ++++++++-------- .../installation/elements/_index.fr.md | 30 ++++++++++--------- layouts/partials/default.html | 13 ++++---- 3 files changed, 36 insertions(+), 33 deletions(-) diff --git a/exampleSite/content/installation/elements/_index.en.md b/exampleSite/content/installation/elements/_index.en.md index e27adfc..9d4666e 100644 --- a/exampleSite/content/installation/elements/_index.en.md +++ b/exampleSite/content/installation/elements/_index.en.md @@ -78,34 +78,36 @@ Lorem ipsum dolor sit amet consectetur adipisicing elit. Quam nihil enim maxime #### Notice -{{% notice note %}} +{{< notice note >}} This is a simple note. -{{% /notice %}} +{{< /notice >}} -{{% notice tip %}} +{{< notice tip >}} This is a simple tip. -{{% /notice %}} +{{< /notice >}} -{{% notice info %}} +{{< notice info >}} This is a simple info. -{{% /notice %}} +{{< /notice >}}
#### Tab {{< tabs >}} - {{% tab "first" %}} + + {{< tab "first" >}} This is first tab - {{%/ tab %}} + {{< /tab >}} - {{% tab "second" %}} + {{< tab "second" >}} this is second tab - {{%/ tab %}} + {{< /tab >}} - {{% tab "third" %}} + {{< tab "third" >}} this is third tab - {{%/ tab %}} + {{< /tab >}} + {{}}
diff --git a/exampleSite/content/installation/elements/_index.fr.md b/exampleSite/content/installation/elements/_index.fr.md index 236581b..9d4666e 100644 --- a/exampleSite/content/installation/elements/_index.fr.md +++ b/exampleSite/content/installation/elements/_index.fr.md @@ -78,35 +78,37 @@ Lorem ipsum dolor sit amet consectetur adipisicing elit. Quam nihil enim maxime #### Notice -{{% notice note %}} +{{< notice note >}} This is a simple note. -{{% /notice %}} +{{< /notice >}} -{{% notice tip %}} +{{< notice tip >}} This is a simple tip. -{{% /notice %}} +{{< /notice >}} -{{% notice info %}} +{{< notice info >}} This is a simple info. -{{% /notice %}} +{{< /notice >}}
#### Tab -{{% tabs %}} - {{% tab "first" %}} +{{< tabs >}} + + {{< tab "first" >}} This is first tab - {{% /tab %}} + {{< /tab >}} - {{% tab "second" %}} + {{< tab "second" >}} this is second tab - {{% /tab %}} + {{< /tab >}} - {{% tab "third" %}} + {{< tab "third" >}} this is third tab - {{% /tab %}} -{{% tabs %}} + {{< /tab >}} + +{{}}
diff --git a/layouts/partials/default.html b/layouts/partials/default.html index 026acac..5a4cf27 100644 --- a/layouts/partials/default.html +++ b/layouts/partials/default.html @@ -7,8 +7,7 @@