added privacy policy

This commit is contained in:
Vrifox 2020-10-05 09:57:10 +02:00
parent c8698d8c80
commit 26cd9f0bea
16 changed files with 285 additions and 112 deletions

View file

@ -3,32 +3,42 @@
{{ end }}
{{ define "main" }}
<main class="container">
<section>
<header>
<h1>{{ .Params.heading }}</h1>
<span class="subtitle">{{.Params.subheading}}</span>
</header>
{{ .Content }}
</section>
<section class="section-articles">
{{ range .Pages }}
<a href="{{ .Permalink }}">
<article>
<main>
<div class="container">
<section>
<header>
<h1>{{ .Title }}</h1>
<p class="meta" title="{{ .Date.Format "2 Jan 2006, 15:04 MST" }}">
<span class="date">{{ .Date.Format "2 January 2006" }}</span>
<span class="author">{{ with .Params.author }}by {{ end }}{{ .Params.author }}</span>
</p>
{{ with .Description }}
<p>{{ . }}</p>
{{ end }}
{{ with .Params.featured_image }}
<img src="{{ . | relURL }}" loading="lazy">
{{ end }}
</article>
</a>
{{ end }}
</section>
<span class="subtitle">{{.Params.subheading}}</span>
</header>
{{ .Content }}
</section>
<section class="section-articles">
{{ range .Pages }}
<a href="{{ .Permalink }}">
<article>
<h1>{{ .Title }}</h1>
{{ if eq .Params.type "project" }}
<p class="" title="last change: {{ .Date.Format "2 Jan 2006" }}">
{{ with .Params.activetime }}<span class="date">{{ . }}</span>{{ end }}
{{ with .Params.status }}<span class="status">{{ . }}</span>{{ end }}
</p>
{{ end }}
{{ if ne .Params.type "project" }}
<p class="meta" title="{{ .Date.Format "2 Jan 2006, 15:04 MST" }}">
<span class="date">{{ .Date.Format "2 January 2006" }}</span>
{{ with .Params.author }}<span class="author">by {{ .Params.author }}</span>{{ end }}
</p>
{{ end }}
{{ with .Description }}
<p>{{ . }}</p>
{{ end }}
{{ with .Params.featured_image }}
<img src="{{ . | relURL }}" loading="lazy" alt="">
{{ end }}
</article>
</a>
{{ end }}
</section>
</div>
</main>
{{ end }}