[ADD] Theme3
This commit is contained in:
9
themes/zone3/layouts/404.html
Normal file
9
themes/zone3/layouts/404.html
Normal file
@@ -0,0 +1,9 @@
|
||||
{{ partial "header.html" . }}
|
||||
|
||||
<h1>Page Not Found</h1>
|
||||
|
||||
<p>This page doesn't exist.</p>
|
||||
|
||||
<p><a href="/">Go back to the home page</a></p>
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
18
themes/zone3/layouts/_default/list.html
Normal file
18
themes/zone3/layouts/_default/list.html
Normal file
@@ -0,0 +1,18 @@
|
||||
{{ partial "header.html" . }}
|
||||
|
||||
<h1>{{ .Title }}</h1>
|
||||
|
||||
{{ .Content }}
|
||||
|
||||
{{ range.Data.Pages }}
|
||||
<article class="post-snippet">
|
||||
<h3>
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
</h3>
|
||||
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
|
||||
{{ .Date.Format "January 2, 2006" }}
|
||||
</time>
|
||||
</article>
|
||||
{{ end }}
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
7
themes/zone3/layouts/_default/single.html
Normal file
7
themes/zone3/layouts/_default/single.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{{ partial "header.html" . }}
|
||||
|
||||
<h1>{{ .Title }}</h1>
|
||||
|
||||
{{ .Content }}
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
19
themes/zone3/layouts/baseof.html
Normal file
19
themes/zone3/layouts/baseof.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{{ partial "head.html" . }}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
{{ partial "header.html" . }}
|
||||
|
||||
<main>
|
||||
{{ block "main" . }}{{ end }}
|
||||
</main>
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
|
||||
<script src="./js/script.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
24
themes/zone3/layouts/index.html
Normal file
24
themes/zone3/layouts/index.html
Normal file
@@ -0,0 +1,24 @@
|
||||
{{ define "main" }}
|
||||
|
||||
<section class="red">
|
||||
<div class="container">
|
||||
<pong-game></pong-game>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="container">
|
||||
<h1>{{ .Title }}</h1>
|
||||
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="container">
|
||||
<h1>News</h1>
|
||||
...
|
||||
|
||||
</section>
|
||||
|
||||
{{ end }}
|
||||
|
||||
|
||||
16
themes/zone3/layouts/partials/footer.html
Normal file
16
themes/zone3/layouts/partials/footer.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<footer>
|
||||
<div class="container">
|
||||
<div>
|
||||
If you want to talk to the people behind ChaosZone, head on over to <a href="https://app.element.io/#/room/#chaoszone:matrix.eigenbaukombinat.de">our Matrix Channel</a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
To contact the administrator of this site, write to <a href="mailto:website@chaoszone.cz" class="email">website@chaoszone.cz</a>.
|
||||
</div>
|
||||
|
||||
<div>
|
||||
Website design by ChaosZone Team<br/>
|
||||
© {{ dateFormat "2006" now }} {{ .Site.Title }}
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
12
themes/zone3/layouts/partials/head.html
Normal file
12
themes/zone3/layouts/partials/head.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<title>{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title>
|
||||
|
||||
<link rel="stylesheet" href="./css/style.css" type="text/css" media="all" />
|
||||
|
||||
<link rel="icon" type="image/svg+xml" href="/img/Chaoszone.svg" />
|
||||
|
||||
{{ with .OutputFormats.Get "rss" -}} {{ printf `
|
||||
<link rel="%s" type="%s" href="%s" title="%s" />
|
||||
` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}}
|
||||
17
themes/zone3/layouts/partials/header.html
Normal file
17
themes/zone3/layouts/partials/header.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<header>
|
||||
<div class="container">
|
||||
<a class="logo" href="{{ .Site.BaseURL }}">
|
||||
Chaos <img src="./img/Chaoszone.svg" />Zone
|
||||
</a>
|
||||
<nav class="site-nav">
|
||||
<ul class="main-menu">
|
||||
{{ range.Site.Menus.main }}
|
||||
<li>
|
||||
<a href="{{ .URL }}">{{ .Name }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
Reference in New Issue
Block a user