This commit is contained in:
ryfrd 2025-08-14 15:16:21 +01:00
parent c4dcb6e38b
commit 531029a18f
129 changed files with 7765 additions and 6938 deletions

View 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>

View 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>

View 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>

View 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>

View file

@ -0,0 +1 @@
<input type="text" id="search" placeholder="🔎 leaf through the archive"/>