× Search About Posts Code Music Links
Blank Try
experiment
lots
learn
more

Header

Updated on
Last site update: 8 May 2024
 1<header>
 2	<a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
 3	{{ with .Site.Menus.main }}
 4	<nav>
 5		<ul>
 6			{{ range . }}
 7			<li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li>
 8			{{ end }}
 9		</ul>
10	</nav>
11	{{ end }}
12</header>

And this is in the config.toml

1[params]
2  mainSections = ["posts", "code", "duck"]

This defines which posts will appear in the sidebar