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 >}}
+
{{ tabs >}}
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 >}}
+
+{{ tabs >}}
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 @@
{{ $currentNode := . }}
{{ $showvisitedlinks := .Site.Params.showVisitedLinks }}
- {{ i18n "Back-home"}}
+ {{ i18n "Back-home"}}
{{range .Site.Home.Sections.ByWeight}}
{{ template "section-tree-nav" dict "sect" . "currentnode" $currentNode "showvisitedlinks" $showvisitedlinks}}
{{end}}
@@ -35,7 +34,7 @@
{{ define "menu-nextprev" }}
{{$currentNode := .currentnode }}
{{ if ne .menu.Params.hidden true}}
- {{if hasPrefix $currentNode.URL .menu.URL }}
+ {{if hasPrefix $currentNode.Permalink .menu.Permalink }}
{{ $currentNode.Scratch.Set "NextPageOK" "OK" }}
{{ $currentNode.Scratch.Set "prevPage" ($currentNode.Scratch.Get "prevPageTmp") }}
{{else}}
@@ -61,10 +60,10 @@
{{ end }}
{{with ($.Scratch.Get "prevPage")}}
- {{.Title}}
+ {{.Title}}
{{end}}
{{with ($.Scratch.Get "nextPage")}}
- {{.Title}}
+ {{.Title}}
{{end}}
@@ -80,11 +79,11 @@
{{ $currentNode := .currentnode }}
{{with .sect}}
{{safeHTML .Params.head}}
--
-
+
{{safeHTML .Params.Pre}}{{or .Params.menuTitle .LinkTitle .Title}}{{safeHTML .Params.Post}}
{{ $numberOfPages := (add (len .Pages) (len .Sections)) }}