~gg/blog-theme

ref: 4b83cd0f339293fe804bea3646555a230bc13f62 blog-theme/layouts/partials/header.html -rw-r--r-- 230 bytes
4b83cd0f — vimux Update demosite 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
<header>
	<a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
	{{ with .Site.Menus.main }}
	<nav>
		<ul>
			{{ range . }}
			<li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li>
			{{ end }}
		</ul>
	</nav>
	{{ end }}
</header>