Created
September 23, 2017 18:17
-
-
Save lhstraathof/d91a8cf72be8b8ad71b4c2ee6aad8c9e to your computer and use it in GitHub Desktop.
Revisions
-
lhstraathof created this gist
Sep 23, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ {{ with .Site.Menus.main }} <nav class="menu"> <ul class="main_menu"> {{ range . }} <li class="main_menu__li"><a class="main_menu__link" href="{{ .URL | absURL }}">{{ .Name }}</a></li> {{ end }} </ul> </nav> {{ end }} ------------------ add this to config.toml # Menu links that appear on the left sidebar [[menu.main]] name = "Home" url = "/" weight = 0