antidocs theme
This commit is contained in:
parent
53560c95d3
commit
eb4af4bb88
13 changed files with 641 additions and 0 deletions
3
antidocs/layouts/partials/footer.html
Normal file
3
antidocs/layouts/partials/footer.html
Normal 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>
|
5
antidocs/layouts/partials/head.html
Normal file
5
antidocs/layouts/partials/head.html
Normal 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 }}">
|
4
antidocs/layouts/partials/header.html
Normal file
4
antidocs/layouts/partials/header.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<header>
|
||||
<h1><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1>
|
||||
{{- partial "menu.html" . -}}
|
||||
</header>
|
7
antidocs/layouts/partials/menu.html
Normal file
7
antidocs/layouts/partials/menu.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue