diff --git a/exampleSite/content.en/sitemap/_index.md b/exampleSite/content.en/sitemap/_index.md new file mode 100644 index 0000000..74240a7 --- /dev/null +++ b/exampleSite/content.en/sitemap/_index.md @@ -0,0 +1,4 @@ +--- +title: "Sitemap" +layout: "sitemap" +--- diff --git a/exampleSite/content.he/sitemap/_index.md b/exampleSite/content.he/sitemap/_index.md new file mode 100644 index 0000000..74240a7 --- /dev/null +++ b/exampleSite/content.he/sitemap/_index.md @@ -0,0 +1,4 @@ +--- +title: "Sitemap" +layout: "sitemap" +--- diff --git a/exampleSite/content.zh/sitemap/_index.md b/exampleSite/content.zh/sitemap/_index.md new file mode 100644 index 0000000..74240a7 --- /dev/null +++ b/exampleSite/content.zh/sitemap/_index.md @@ -0,0 +1,4 @@ +--- +title: "Sitemap" +layout: "sitemap" +--- diff --git a/exampleSite/hugo.toml b/exampleSite/hugo.toml index 34af293..84fb666 100644 --- a/exampleSite/hugo.toml +++ b/exampleSite/hugo.toml @@ -36,6 +36,23 @@ enableGitInfo = true contentDir = 'content.he' languageDirection = 'rtl' weight = 3 + + + +[[languages.en.menu.before]] + name = "Sitemap (EN)" + url = "/sitemap/" + weight = 10 + +[[languages.zh.menu.before]] + name = "Sitemap (ZH)" + url = "/zh/sitemap/" + weight = 10 + +[[languages.he.menu.before]] + name = "Sitemap (HE)" + url = "/he/sitemap/" + weight = 10 [menu] # [[menu.before]] diff --git a/layouts/sitemap/list.html b/layouts/sitemap/list.html new file mode 100644 index 0000000..67efbac --- /dev/null +++ b/layouts/sitemap/list.html @@ -0,0 +1,17 @@ +{{ define "main" }} +

Sitemap

+ +{{ end }}