Skip to content
Permalink
Browse files

examples: Fix multilingual example compatibility with latest version

  • Loading branch information...
robinwassen authored and bep committed Aug 1, 2019
1 parent 53077b0 commit b8758de19ec75b4565075314f9578270a092bc6f
@@ -3,7 +3,6 @@ baseURL = "http://example.com"
defaultContentLanguage = "en"

[taxonomies]
group = "groups"

[languages]
[languages.en]
@@ -26,14 +25,14 @@ weight = 2
weight = 1
title = "Minu mitmekeelne leht"
[[languages.et.menu.main]]
url = "/kodu"
url = "/et/home"
name = "Kodu"
weight = 0
[[languages.et.menu.main]]
url = "/uudised"
url = "/et/news"
name = "Uudised"
weight = 1
[[languages.et.menu.main]]
url = "/minust"
url = "/et/about"
name = "Minust"
weight = 2
@@ -1,6 +1,5 @@
+++
title = "About"
url = "/about"
+++

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Illum ex deleniti ut tenetur amet accusantium dolores nam provident! Ipsum, dicta voluptatum quas architecto nostrum sapiente eos commodi numquam accusantium reprehenderit.
@@ -1,6 +1,5 @@
+++
title = "Minust"
url = "/minust"
+++

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Illum ex deleniti ut tenetur amet accusantium dolores nam provident! Ipsum, dicta voluptatum quas architecto nostrum sapiente eos commodi numquam accusantium reprehenderit.
@@ -1,6 +1,5 @@
+++
title = "Home"
url = "/home"
+++

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Illum ex deleniti ut tenetur amet accusantium dolores nam provident! Ipsum, dicta voluptatum quas architecto nostrum sapiente eos commodi numquam accusantium reprehenderit.
@@ -1,6 +1,5 @@
+++
title = "Kodu"
url = "/kodu"
+++

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Illum ex deleniti ut tenetur amet accusantium dolores nam provident! Ipsum, dicta voluptatum quas architecto nostrum sapiente eos commodi numquam accusantium reprehenderit.
@@ -0,0 +1,5 @@
+++
title = "News"
+++

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ratione, porro, doloribus ducimus reprehenderit nobis at voluptates ipsa dicta nostrum perferendis in vitae. Magnam, quia officia modi incidunt tenetur ratione cum.
@@ -0,0 +1,5 @@
+++
title = "Uudised"
+++

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ratione, porro, doloribus ducimus reprehenderit nobis at voluptates ipsa dicta nostrum perferendis in vitae. Magnam, quia officia modi incidunt tenetur ratione cum.
@@ -1,6 +1,5 @@
+++
title = "Alpha"
groups = ["news"]
+++

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ratione, porro, doloribus ducimus reprehenderit nobis at voluptates ipsa dicta nostrum perferendis in vitae. Magnam, quia officia modi incidunt tenetur ratione cum.
@@ -1,7 +1,5 @@
+++
title = "Alfa"
url = "/uudis/alfa"
groups = ["uudised"]
+++

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ratione, porro, doloribus ducimus reprehenderit nobis at voluptates ipsa dicta nostrum perferendis in vitae. Magnam, quia officia modi incidunt tenetur ratione cum.
@@ -1,6 +1,5 @@
+++
title = "Beta"
groups = ["news"]
+++

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ratione, porro, doloribus ducimus reprehenderit nobis at voluptates ipsa dicta nostrum perferendis in vitae. Magnam, quia officia modi incidunt tenetur ratione cum.
@@ -1,7 +1,5 @@
+++
title = "Beeta"
url = "/uudis/beeta"
groups = ["uudised"]
+++

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ratione, porro, doloribus ducimus reprehenderit nobis at voluptates ipsa dicta nostrum perferendis in vitae. Magnam, quia officia modi incidunt tenetur ratione cum.

This file was deleted.

This file was deleted.

@@ -0,0 +1,13 @@
{{ partial "head.html" . }}
{{ partial "header.html" . }}
{{ .Content }}

<ul>
{{ range .Pages }}
<li>
<a href="{{.Permalink}}">{{.Title}}</a>
</li>
{{ end }}
</ul>

{{ partial "footer.html" . }}
@@ -1,7 +1,7 @@
<header>
<nav id="language-menu">
<a href="/home">English</a>
<a href="/kodu">Eesti</a>
<a href="/et/home">Eesti</a>
</nav>

<h1 id="title">{{ .Site.Title }}</h1>

This file was deleted.

0 comments on commit b8758de

Please sign in to comment.
You can’t perform that action at this time.