Vugo theme
This commit is contained in:
commit
64b0159616
33 changed files with 1224 additions and 0 deletions
7
vugo/layouts/partials/footer.html
Normal file
7
vugo/layouts/partials/footer.html
Normal 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>
|
13
vugo/layouts/partials/head.html
Normal file
13
vugo/layouts/partials/head.html
Normal 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>
|
8
vugo/layouts/partials/logo.html
Normal file
8
vugo/layouts/partials/logo.html
Normal 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>
|
6
vugo/layouts/partials/menu.html
Normal file
6
vugo/layouts/partials/menu.html
Normal 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>
|
10
vugo/layouts/partials/nextprev.html
Normal file
10
vugo/layouts/partials/nextprev.html
Normal 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 -}}
|
8
vugo/layouts/partials/pagination.html
Normal file
8
vugo/layouts/partials/pagination.html
Normal 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>
|
8
vugo/layouts/partials/posts_pagination.html
Normal file
8
vugo/layouts/partials/posts_pagination.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue