Vugo theme

This commit is contained in:
Nox Sluijtman 2024-02-10 20:50:19 +01:00
commit 64b0159616
33 changed files with 1224 additions and 0 deletions

View file

@ -0,0 +1,7 @@
<footer>
<div class="mirror">
[<a rel="rss" href="/index.xml">rss</a>]
[*Insert mirrors here*]
<a rel="lisence" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="CC BY-SA 4.0" src="/stickers/cc4.png"></a>
</div>
</footer>

View file

@ -0,0 +1,13 @@
<head>
<link rel="canonical" href="{{ .Site.BaseURL }}">
<link rel='alternate' type='application/rss+xml' title="{{ .Site.Title }} RSS" href='/index.xml'>
<link rel='stylesheet' type='text/css' href='/style.css'>
{{ with .Site.Params.favicon }}<link rel="icon" href="{{ . }}">
{{ end -}}
<meta name="description" content="{{ with .Params.description }}{{ . }}{{ else }}{{ .Summary }}{{ end }}">
{{ if isset .Params "tags" }}<meta name="keywords" content="{{ with .Params.tags }}{{ delimit . ", " }}{{ end }}">
{{ end -}}
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="index, follow">
<meta charset="utf-8">
</head>

View file

@ -0,0 +1,8 @@
<div class="logo">
<img src="/logoOptimised.png" />
<h1>
<a href="{{ if $.Site.Params.Logo.LogoHomeLink }}{{ $.Site.Params.Logo.LogoHomeLink }}{{else}}{{ $.Site.BaseURL }}{{ end }}">
{{ with $.Site.Params.Logo.logoText }}{{ . }}{{ else }}Void{{ end }}
</a>
</h1>
</div>

View file

@ -0,0 +1,6 @@
<menu>
<a href="/">home<br/></a> {{ range $.Site.Menus.main }} {{ if not .HasChildren }}
<a href="{{ .URL }}">{{ .Name }}<br/></a> {{ end }} {{ end }}
<hr />
{{ range $.Site.Menus.services }} {{ if not .HasChildren }} <a href="{{ .URL }}">{{ .Name }}<br/></a> {{ end }} {{ end }}
</menu>

View file

@ -0,0 +1,10 @@
{{ if or .Next .Prev -}}
<div id="nextprev">
{{- with .Prev }}
<a href="{{ .RelPermalink}}"><div id="prevart">Previous:<br>{{.Title}}</div></a>
{{ end -}}
{{- with .Next -}}
<a href="{{ .RelPermalink}}"><div id="nextart">Next:<br>{{.Title}}</div></a>
{{ end -}}
</div>
{{ end -}}

View file

@ -0,0 +1,8 @@
<div class="pagination__buttons">
{{ if .Paginator.HasPrev }}
<a class="button prev" href="{{ .Paginator.Prev.URL }}"> {{ $.Site.Params.newerPosts | default "Newer posts" }} </a>
{{ end }}
{{ if .Paginator.HasNext }}
<a class="button next" href="{{ .Paginator.Next.URL }}"> {{ $.Site.Params.olderPosts | default "Older posts" }} </a>
{{ end }}
</div>

View file

@ -0,0 +1,8 @@
<div class="pagination__buttons">
{{ if .NextInSection }}
<a class="button prev" href="{{ .NextInSection.RelPermalink }}">{{ .NextInSection.Title }}</a>
{{ end }}
{{ if .PrevInSection }}
<a class="button next" href="{{ .PrevInSection.RelPermalink }}">{{ .PrevInSection.Title }}</a>
{{ end }}
</div>