From 65d597d697b06cf28e5e6e9fe6c03a94d79ade19 Mon Sep 17 00:00:00 2001 From: Mathieu Cornic Date: Fri, 10 Aug 2018 10:18:13 +0200 Subject: [PATCH] fix #153 : page not found on ex site --- exampleSite/content/cont/pages/_index.en.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/exampleSite/content/cont/pages/_index.en.md b/exampleSite/content/cont/pages/_index.en.md index e2ff25d324..0e337dda49 100644 --- a/exampleSite/content/cont/pages/_index.en.md +++ b/exampleSite/content/cont/pages/_index.en.md @@ -11,7 +11,7 @@ In **Hugo**, pages are the core of your site. Once it is configured, pages are d Organize your site like [any other Hugo project](https://gohugo.io/content/organization/). Typically, you will have a *content* folder with all your pages. content - ├── level-one + ├── level-one │ ├── level-two │ │ ├── level-three │ │ │ ├── level-four @@ -85,7 +85,7 @@ Hugo provides a `new` command to create a new website. hugo new site ``` -**Hugo-theme-learn** provides [archetypes]({{< relref "cont/archetypes.fr.md" >}}) to help you create this kind of pages. +**Hugo-theme-learn** provides [archetypes]({{< relref "cont/archetypes.en.md" >}}) to help you create this kind of pages. ## Front Matter configuration @@ -108,7 +108,7 @@ post = "" chapter = false # Hide a menu entry by setting this to true hidden = false -# Display name of this page modifier. If set, it will be displayed in the footer. +# Display name of this page modifier. If set, it will be displayed in the footer. LastModifierDisplayName = "" # Email of this page modifier. If set with LastModifierDisplayName, it will be displayed in the footer LastModifierEmail = "" @@ -145,10 +145,10 @@ weight = 5 By default, **Hugo-theme-learn** will use a page's `title` attribute for the menu item (or `linkTitle` if defined). -But a page's title has to be descriptive on its own while the menu is a hierarchy. +But a page's title has to be descriptive on its own while the menu is a hierarchy. We've added the `menuTitle` parameter for that purpose: -For example (for a page named `content/install/linux.md`): +For example (for a page named `content/install/linux.md`): ```toml +++