diff options
author | Paul Wellner Bou <paul@wellnerbou.de> | 2021-11-13 11:36:22 +0300 |
---|---|---|
committer | Paul Wellner Bou <paul@wellnerbou.de> | 2021-11-13 12:03:37 +0300 |
commit | 1c0f9e5c35c2fc1acdee5e2deb066538b332cee8 (patch) | |
tree | 96bc5a19f771780dbab64e81aef3be52fd0fa377 | |
parent | 1d4b684a0121fbb92529ce3e9a067edbffbf129d (diff) |
Add README
-rw-r--r-- | README.md | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -14,7 +14,7 @@ It was originally developed by [b. avianto](https://github.com/avianto/hugo-kier - [git submodule method](#git-submodule-method) - [independent directory method](#independent-directory-method) - [Configuration](#configuration) - - [Main Menu](#main-menu) + - [Menus](#menus) - [Categories & Tags](#categories--tags) - [Images](#images) - [Code highlight](#code-highlight) @@ -108,7 +108,7 @@ googleAnalytics = "" #Google Analytics ID disableDarkModeCSS = false # disables css style for users using dark-mode ``` -### Main Menu +### Menus To add non-posts related page (eq. About page) to the main menu, adding these lines to the page [front matter](https://gohugo.io/content-management/front-matter/): @@ -138,7 +138,6 @@ menu = "main" weight = "10" ``` - YAML: ```yml @@ -147,6 +146,11 @@ menu : "main" weight : "10" ``` +Following menus are available: + +* `main`, displayed in the navigation bar at the top of the page +* `footer`, displayed on the lower right, in the footer + ### Categories & Tags Pages can include both, either, or neither *Categories* or *Tags*. |