Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_index.md « control-page-menu « create-page « content « exampleSite - github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e584e8f6e783c44f3e7edcf571c6271ac0980daf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
+++
title="Navigation entries"
pre = "👻  "
post = "  👋"
subpage = true
hidden = false
weight = 300
+++

Each page is displayed on navigation bars
* _index.md files are displayed on the left menu
* other files are displayed as subpages (like this one) bellow the section title.


You can control how they are displayed thanks to page FrontMatter.

Hugo-theme-docport uses the following parameters to acheive this :

```toml
+++
# Hide this page from navigation
hidden = false


# Display before and after in navigations menus surrounding page's title
pre = "👻"
post = "👋"

# LEFT MENU ONLY (Sections)
# as an exemple, on the Getting started Page a head="<hr/>" is set
head = "<hr/>"

# Menu opened by default (like the Getting started menu entry)
alwaysopen = false

+++
```