Copied a lot of stuff from my template repo

This commit is contained in:
Andre Beging
2020-02-11 22:55:29 +01:00
parent 94d14ed717
commit fe926d1898
43 changed files with 13609 additions and 3 deletions

18
layouts/404.html Normal file
View File

@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="de">
{{ partial "head.html" . }}
<body class="hero">
{{ partial "navigation.html" . }}
<div id="hero">
<div>
<h1>Seite nicht gefunden</h1>
<div style="padding: 5vh 0;">
<h2>Fehler 404</h2>
<h3>Auch in der Wissenschaft funktioniert nicht immer alles</h3>
</div>
<h3><a href='{{ "" | absURL }}' class="btn btn-light btn-lg">Zurück</a></h3>
</div>
</div>
{{ partial "footer.html" . }}
</body>
</html>

View File

@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="de">
{{ partial "head.html" . }}
<body {{ if .Params.ShowHero }}class="hero"{{ end }}>
{{ partial "navigation.html" . }}
{{ if .Params.ShowHero }}
{{ partial "hero.html" . }}
{{ end }}
<div id="content">
{{ .Content }}
</div>
{{ partial "footer.html" . }}
</body>
</html>

5
layouts/index.html Normal file
View File

@@ -0,0 +1,5 @@
<!DOCTYPE html>
<html lang="de">
{{ partial "head.html" . }}
{{ partial "body.html" . }}
</html>aa

View File

@@ -0,0 +1,10 @@
<body {{ if .Params.ShowHero }}class="hero"{{ end }}>
{{ partial "navigation.html" . }}
{{ if .Params.ShowHero }}
{{ partial "hero.html" . }}
{{ end }}
<div id="content">
{{ .Content }}
</div>
{{ partial "footer.html" . }}
</body>

View File

@@ -0,0 +1,27 @@
<footer>
<div class="footer-row">
<div class="column">
<p>
<strong>Nacht der Wissenschaft Siegen</strong>
</p>
<p>
Eine Veranstaltung der Studentischen Initiative für
Wissenschaftskommunikation.<br />Kurz: WissKomm
</p>
<p>
<a href="http://www.wisskomm.org" target="_blank">www.wisskomm.org</a>
</p>
<p>
<a href='{{ "legal" | absURL }}'>Impressum</a> | <a href='{{ "privacy" | absURL }}'>Datenschutzerklärung</a>
</p>
</div>
<div class="column">
<p>
<a href="https://www.facebook.com/ndwsiegen/" target="_blank"><img src='{{ "img/facebook_g.png" | absURL }}' width="50px" /></a>
<a href="https://www.instagram.com/nacht_der_wissenschaft_siegen/" target="_blank"><img src='{{ "img/instagram_g.png" | absURL }}' width="50px" /></a>
</p>
</div>
</div>
</footer>
<script src='{{ "js/script.js" | absURL }}'></script>

View File

@@ -0,0 +1,13 @@
<head>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="manifest" href="/site.webmanifest" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#000000" />
<meta name="msapplication-TileColor" content="#ffffff" />
<meta name="theme-color" content="#040404" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{{if .Title}}{{ .Title }} | {{end}}<DD> Wochenende</title>
<link rel="stylesheet" href='{{ "css/ndws.css" | absURL }}' />
</head>

View File

@@ -0,0 +1,9 @@
<div id="hero">
<div>
<h1>Das erste alljährliche*<br /><img src="assets/dd_white.png" style="height: 3.1rem; display: inline-block;">-Wochenende</DD></h1>
<div style="padding: 5vh 0;">
<h2>28.08 - 30.08.2020</h2>
</div>
<h3><a href="" class="btn btn-light btn-lg">Jetzt anmelden!</a></h3>
</div>
</div>

View File

@@ -0,0 +1,22 @@
<div class="nav">
<nav>
<div class="nav-left">
<a href='{{ "" | absURL }}' class="header-logo">
<img src='{{ "assets/dd_white.png" | absURL }}' />
</a>
<ul class="nav-links">
<a href='{{ "anmeldung" | absURL }}'>
<li>Anmeldung</li>
</a>
<a href='{{ "asd" | absURL }}'>
<li>Anmeldung</li>
</a>
</ul>
</div>
<div class="nav-right">
<ul class="nav-links">
<!-- <a href='{{ "contact" | absURL }}'><li>Kontakt / Anfahrt</li></a> -->
</ul>
</div>
</nav>
</div>