fix #153 : page not found on ex site

This commit is contained in:
Mathieu Cornic 2018-08-10 10:18:13 +02:00
parent 59c4cbf186
commit 65d597d697

View file

@ -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 <new_project>
```
**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
+++