antidocs theme

This commit is contained in:
Nox Sluijtman 2024-02-11 01:09:03 +01:00
parent 53560c95d3
commit eb4af4bb88
13 changed files with 641 additions and 0 deletions

View file

@ -0,0 +1,3 @@
<footer>
Contents of this page are lisenced under <pre><a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a></pre>
</footer>

View file

@ -0,0 +1,5 @@
<link rel='stylesheet' type='text/css' href='/style.css' />
<link rel='alternate' type='application/rss+xml' title="{{ .Site.Title }} RSS" href='/index.xml'>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta charset="UTF-8" />
<meta name="description" content="{{ with .Params.description }}{{ . }}{{ else }}{{ .Summary }}{{ end }}">

View file

@ -0,0 +1,4 @@
<header>
<h1><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1>
{{- partial "menu.html" . -}}
</header>

View file

@ -0,0 +1,7 @@
<menu>
{{range $name, $taxonomy := .Site.Taxonomies.tags}}
{{ with $.Site.GetPage (printf "/tags/%s" $name) }}
<a href={{ .RelPermalink }} title="All pages with tag <i>{{$name}}</i>">#{{$name}}</a>
{{end}}
{{end}}
</menu>