mirror of https://github.com/lxndrblz/anatole.git

Alexander Bilz
18.12.2020 f1597bd83cc93d94632c77f8b78d07d3242268ec
About page linked in main menu

Closes #12
3 files modified
20 ■■■■■ changed files
README.md 12 ●●●● patch | view | raw | blame | history
exampleSite/config.toml 5 ●●●●● patch | view | raw | blame | history
exampleSite/content/about.md 3 ●●●●● patch | view | raw | blame | history
README.md
@@ -67,12 +67,12 @@
  weight = 200
  identifier = "posts"
  url = "/post/"
```
If you want to add content to menus, please see the `about.md` file as an example.
```
menu: main
name: "About"
weight: 300
  [[menu.main]]
  name = "About"
  weight = 300
  identifier = "about"
  url = "/about/"
```
### Comments powered by Disqus
No comment section is shown on the `single.html`, unless a disqus code is specified in the `config.toml` file.
exampleSite/config.toml
@@ -63,3 +63,8 @@
  identifier = "posts"
  url = "/post/"
  [[menu.main]]
  name = "About"
  weight = 300
  identifier = "about"
  url = "/about/"
exampleSite/content/about.md
@@ -4,9 +4,6 @@
date: "2018-02-11"
aliases: ["about-us","about-hugo","contact"]
author: "Hugo Authors"
menu: main
name: "About"
weight: 300
---
Written in Go, Hugo is an open source static site generator available under the [Apache Licence 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows.