mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-12-23 18:54:30 +01:00
exampleSite/config.toml: Remove custom_navbar
Now users should just use the "navbar" menu directly via the site's config or page frontmatter. This is a result of switching to Hugo's newish .Site.Params.mainSections slice.
This commit is contained in:
parent
2ad673d5d2
commit
74b3b2bfd8
@ -23,9 +23,6 @@ paginate = 5
|
|||||||
name = "Link 2"
|
name = "Link 2"
|
||||||
url = "https://example.org"
|
url = "https://example.org"
|
||||||
|
|
||||||
# custom navbar menu entry. See the custom_navbar parameter below for
|
|
||||||
# details.
|
|
||||||
|
|
||||||
#[[menu.navbar]]
|
#[[menu.navbar]]
|
||||||
# name = "Link 1"
|
# name = "Link 1"
|
||||||
# url = "https://example.org"
|
# url = "https://example.org"
|
||||||
@ -59,15 +56,6 @@ paginate = 5
|
|||||||
#cookie_consent_info_url = "/cookie-information/"
|
#cookie_consent_info_url = "/cookie-information/"
|
||||||
#cookie_consent_info_url = "http://cookiesandyou.com"
|
#cookie_consent_info_url = "http://cookiesandyou.com"
|
||||||
|
|
||||||
# customise the contents of the navbar at the top of the page. The default
|
|
||||||
# behaviour is to list all static pages not in the posts directory. When the
|
|
||||||
# parameter below is set to true you will have to manually add entries to the
|
|
||||||
# navbar, either by adding the following menu variable to the front matter of
|
|
||||||
# the relevant pages
|
|
||||||
# menu = "navbar"
|
|
||||||
# or by specifying menu entries in a similar way to the sidebar menu above.
|
|
||||||
#custom_navbar = true
|
|
||||||
|
|
||||||
# show sharing icons on pages/posts (default: true)
|
# show sharing icons on pages/posts (default: true)
|
||||||
#sharingicons = true
|
#sharingicons = true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user