mirror of
https://gitlab.com/EternalWanderer/vugo.git
synced 2025-06-08 06:14:26 +02:00
Initial commit
This commit is contained in:
commit
d703c1bfad
31 changed files with 297 additions and 0 deletions
11
layouts/partials/footer.html
Normal file
11
layouts/partials/footer.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
<!--{{ partial "nextprev.html" . -}}
|
||||
{{ partial "taglist.html" . -}}-->
|
||||
<footer>
|
||||
<div class="mirror">[<a href="http://fxawfamgojpoxxgzmmjiro4wx4eycempujmryk6miz4a64ljl6sz7dqd.onion">onion</a>|<a href="http://lmwr2pugnmv4pkkxlneeepi4oysfly33zfuj7x25s6hfydysnpfq.b32.i2p">i2p</a>|<a href="http://[201:e2aa:7c70:666b:9a28:6406:be7f:bf0d]">yggdrasil</a>]
|
||||
<a rel="lisence" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="CC BY-SA 4.0" src="/stickers/cc4.png"></a>
|
||||
<a rel="rss" href="/index.xml"><img src="/rss.svg" style="max-height:1em"></a>
|
||||
<!--<a href="/index.xml"><img src="/rss.svg" style="max-height:1em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>-->
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
20
layouts/partials/header.html
Normal file
20
layouts/partials/header.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.Language }}">
|
||||
<head>
|
||||
<title>{{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }}</title>
|
||||
<!--<title>{{ .Title }} | {{ .Site.Title }}</title>-->
|
||||
<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>
|
||||
<body>
|
||||
<h1 class="logo" id="{{ .Site.Title }}">{{ .Site.Title | title }}</h1>
|
||||
{{ partial "nav.html" . }}
|
13
layouts/partials/nav.html
Normal file
13
layouts/partials/nav.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<nav>
|
||||
<details open="">
|
||||
<summary>Nav</summary>
|
||||
<a href="/">Home</a>
|
||||
{{- $sec := .Page.Section }}{{ $file := .File.TranslationBaseName -}}
|
||||
{{ range.Site.Menus.main.ByWeight }}{{ $base := path.Base .URL }}
|
||||
<li><a {{ if or ( eq $sec $base ) ( eq $file $base ) ( and (eq $sec "") ( eq $file "_index") (eq $base "/") ) }}class="menuactive" {{ end }}href="{{ .URL }}"><span class=pre>{{ .Pre }}</span><span class=menuname>{{ .Name }}</span></a></li>
|
||||
{{- end }}
|
||||
{{ range .Site.RegularPages }}
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
{{ end }}
|
||||
</details>
|
||||
</nav>
|
10
layouts/partials/nextprev.html
Normal file
10
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
layouts/partials/stickers.html
Normal file
8
layouts/partials/stickers.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
<div class="stickers">
|
||||
<a target="_blank" href="https://blackgnu.net/on-blockchain.html" ><img alt="Web 3 is a scam" src="/stickers/notoweb3.gif" /></a>
|
||||
<a target="_blank" href="https://gemini.circumlunar.space/" ><img alt="Fuck Chromium" src="/stickers/same-shit-different-asshole_banner.gif" /></a>
|
||||
<a target="_blank" href="https://www.vim.org" ><img alt="I ♡ vim" src="/stickers/edited-with-vim_banner.gif" /></a>
|
||||
<a target="_blank" href="https://yewtu.be/watch?v=TdkdR92a7dU"><img alt="Nazi punks, fuck off!" src="/stickers/nonazis.png"></a>
|
||||
<a target="_blank" href="https://wiby.me"><img alt="Wiby is great" src="/stickers/wiby.gif"></a>
|
||||
<a target="_blank" href="https://anybrowser.org/campaign/"><img alt="Viewable in any browser" src="/stickers/4nobody.gif"></a>
|
||||
</div>
|
13
layouts/partials/taglist.html
Normal file
13
layouts/partials/taglist.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
{{- if isset .Params "tags" -}}
|
||||
{{- $tagsLen := len .Params.tags -}}
|
||||
{{- if gt $tagsLen 0 -}}
|
||||
<div style="clear:both" class=taglist>
|
||||
{{- with .Site.Params.relatedtext }}{{ . }}<br>{{ end -}}
|
||||
{{- range $k, $v := .Params.tags -}}
|
||||
{{- $url := printf "tags/%s" (. | urlize | lower) -}}
|
||||
<a id="tag_{{ . | lower }}" href="{{ $url | absURL }}">{{ . | title }}</a>
|
||||
{{- if lt $k (sub $tagsLen 1) }} · {{ end -}}
|
||||
{{- end -}}
|
||||
</div>
|
||||
{{- end -}}
|
||||
{{- end }}
|
Loading…
Add table
Add a link
Reference in a new issue