mirror of https://github.com/luizdepra/hugo-coder.git

Gabor Nagy
23.33.2018 0485ff61a406b3e29ad5669a8a1a5f250aafe59c
refs
author Gabor Nagy <Aigeruth@users.noreply.github.com>
Friday, March 23, 2018 14:33 +0100
committer Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
Friday, March 23, 2018 14:33 +0100
commit0485ff61a406b3e29ad5669a8a1a5f250aafe59c
tree 23d3bb5152e44da9162df158bd5db2d4086e653b tree | zip | gz
parent 289c9e0b076e8631347ab096755502d7583bb9ef view | diff
Make main menu optional. (#1)

Building the site fails if the menu is not defined in the config,
because the `header.html` references `.Site.Menus.main`. It can be made
optional by using the `with` helper.
1 files modified
4 ■■■ changed files
layouts/partials/header.html 4 ●●● diff | view | raw | blame | history