.
This commit is contained in:
parent
c4dcb6e38b
commit
531029a18f
129 changed files with 7765 additions and 6938 deletions
19
layouts/partials/header.html
Normal file
19
layouts/partials/header.html
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<header id="banner">
|
||||
<nav class="navbar">
|
||||
<div class="nav-left">
|
||||
<!-- home -->
|
||||
<a href="{{ .Site.BaseURL }}" class="home">🏠</a>
|
||||
<!-- menu items -->
|
||||
{{ range .Site.Menus.main.ByWeight -}} {{ .Pre }}<a
|
||||
href="{{ .URL }}"
|
||||
title="{{ .Title }}"
|
||||
>{{- .Name -}}</a
|
||||
>{{ .Post }} {{- end }}
|
||||
</div>
|
||||
<div class="nav-right">
|
||||
{{ partial "search.html" . }}
|
||||
<!-- theme toggle -->
|
||||
<button id="toggle-button" class="toggle-button" onclick="toggleTheme()">🌚</button>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
Loading…
Add table
Add a link
Reference in a new issue