.
This commit is contained in:
parent
c4dcb6e38b
commit
531029a18f
129 changed files with 7765 additions and 6938 deletions
10
layouts/partials/footer.html
Normal file
10
layouts/partials/footer.html
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<!-- <hr /> -->
|
||||
<footer id="footer">
|
||||
<small>
|
||||
made with <a href="https://gohugo.io">hugo</a> and my bastardised version of
|
||||
<a href="https://github.com/LukasJoswiak/etch">this nice theme</a>
|
||||
</small>
|
||||
<!-- search javascript -->
|
||||
<script src="/js/search.js"></script>
|
||||
<script src="/js/toggle.js"></script>
|
||||
</footer>
|
||||
16
layouts/partials/head.html
Normal file
16
layouts/partials/head.html
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
{{ with .Site.Params.description -}}
|
||||
<meta name="description" content="{{ . }}">
|
||||
{{ end }}
|
||||
{{ printf `<link rel="shortcut icon" href="%s">` ("favicon.ico" | absURL) | safeHTML }}
|
||||
{{ with .OutputFormats.Get "rss" -}}
|
||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||
{{ end -}}
|
||||
|
||||
<link id="stylesheet" rel="stylesheet" href="/css/light.css">
|
||||
|
||||
<link rel="canonical" href="{{ .Permalink }}" />
|
||||
<title>{{ .Title }}</title>
|
||||
</head>
|
||||
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>
|
||||
5
layouts/partials/results.html
Normal file
5
layouts/partials/results.html
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<ul id="results">
|
||||
{{ range where site.RegularPages "Type" "in" site.Params.mainSections }}
|
||||
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
1
layouts/partials/search.html
Normal file
1
layouts/partials/search.html
Normal file
|
|
@ -0,0 +1 @@
|
|||
<input type="text" id="search" placeholder="🔎 leaf through the archive"/>
|
||||
Loading…
Add table
Add a link
Reference in a new issue