diff options
author | Sergio Merino Hernández <merinhunter94@gmail.com> | 2022-09-06 03:17:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-06 03:17:17 +0300 |
commit | 3c01130d0a33006665a5762f151af6016eb02fae (patch) | |
tree | d8865ec7b22d80edf80753f4e5d192567d4cc57f /layouts | |
parent | e7e8344a512c12c02bd7bc8875067af8f737069a (diff) |
* Add showMenu option
The showMenu option allows users to remove the navigation menu if
necessary.
* Update README.md
This commit will update the README.md file to include information about
the showMenu option.
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/nav.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index bdfd931..c38c0b6 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -1,3 +1,4 @@ +{{ if .Site.Params.showMenu | default true }} <!-- Begin Nav bar --> <div class="container"> <hr> @@ -115,3 +116,4 @@ <hr> </div> <!-- End Nav bar --> +{{ end }} |