parent
05a15b70bb
commit
979335fef0
951 changed files with 11214 additions and 15 deletions
71
layouts/_default/baseof.html
Normal file
71
layouts/_default/baseof.html
Normal file
|
@ -0,0 +1,71 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ .Title }} | {{ .Site.Title }}</title>
|
||||
<meta name="description" content="{{ .Description }}" />
|
||||
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
|
||||
{{ $css := resources.Get "css/style.css" }}
|
||||
{{ $style := $css | resources.Minify | fingerprint }}
|
||||
<link rel="stylesheet" href="{{ $style.RelPermalink}}">
|
||||
|
||||
<style type="text/css">
|
||||
.intro-header::before {
|
||||
{{ if isset .Params "headerimage" }}
|
||||
background-image: url('/images/{{ .Params.headerimage }}');
|
||||
{{ else }}
|
||||
background-image: url('/images/header/header_badge.jpg');
|
||||
{{ end }}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<input type="checkbox" id="navbar-checkbox" class="navbar-checkbox">
|
||||
<nav class="headernav">
|
||||
<a class="brand" href="/">{{ .Site.Title }}</a>
|
||||
<ul>
|
||||
{{- range site.Menus.main }}
|
||||
<li>
|
||||
<a href="{{ .URL }}">{{ .Name }}</a>
|
||||
</li>
|
||||
{{- end }}
|
||||
</ul>
|
||||
<label for="navbar-checkbox" class="navbar-handle"></label>
|
||||
</nav>
|
||||
<header class="intro-header">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="ten offset-by-one columns">
|
||||
{{- block "header" . }}
|
||||
<div class="site-heading">
|
||||
<h1>{{ .Site.Title }}</h1>
|
||||
<hr>
|
||||
<span class="subheading">{{ $.Site.Params.Subtitle }}</span>
|
||||
</div>
|
||||
{{- end -}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<main>
|
||||
<div class="container">
|
||||
{{- block "main" . }}{{- end -}}
|
||||
</div>
|
||||
</main>
|
||||
<footer>
|
||||
<hr>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="ten offset-by-one columns">
|
||||
<p class="copyright text-muted">Copyright © Leitstelle
|
||||
511 — Chaos Computer Club Hannover e.V.
|
||||
— <a href="/impressum/">Impressum</a>
|
||||
— <a href="/satzung/">Satzung</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
14
layouts/_default/single.html
Normal file
14
layouts/_default/single.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
{{ define "header" }}
|
||||
<div class="post-heading">
|
||||
<h1>{{ .Title }}</h1>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ define "main" }}
|
||||
<div class="row">
|
||||
<div class="ten columns offset-by-one">
|
||||
<article>
|
||||
{{ .Content }}
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue