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

@ -14,21 +14,26 @@
</p>
<h1 class="title">{{ .Title }}</h1>
{{ with .Params.featured_image }}
<img src="{{ . | relURL }}" loading="lazy">
<img src="{{ . | relURL }}" loading="lazy" alt="">
{{ end }}
{{ .Content }}
<aside class="meta">
{{ with .Params.topics }}
<ul class="topics">
{{ range . }}
<li><a href="{{ "topics" | relURL}}/{{ . | urlize }}">{{ . }}</a> </li>
<li>
<a href="{{ "topics" | relURL}}/{{ . | urlize }}">{{ . }}</a>
</li>
{{ end }}
</ul>
{{ end }}
{{ with .Params.tags }}
<h3>tags</h3>
<ul class="tags">
{{ range . }}
<li> <a href="{{ "tags" | relURL }}/{{ . | urlize }}">{{ . }}</a> </li>
<li>
<a href="{{ "tags" | relURL }}/{{ . | urlize }}">{{ . }}</a>
</li>
{{ end }}
</ul>
{{ end }}
@ -37,12 +42,20 @@
</section>
<section class="section-articles">
<article class="next-article">
{{ with .NextInSection }}<span>{{ if eq .Params.type "project" }}next project{{ end }}{{ if ne .Params.type "project" }}next article{{ end }}</span>
<a href="{{ .Permalink }}">{{ .Title }}</a>{{ end }}
{{ with .NextInSection }}
<a href="{{ .Permalink }}">
{{ if eq .Params.type "project" }}&leftarrow; next project{{ end }}
{{ if ne .Params.type "project" }}&leftarrow; next article{{ end }}
</a>
{{ end }}
</article>
<article class="previous-article">
{{ with .PrevInSection }}<span>{{ if eq .Params.type "project" }}previous project{{ end }}{{ if ne .Params.type "project" }}previous article{{ end }}</span>
<a href="{{ .Permalink }}">{{ .Title }}</a>{{ end }}
{{ with .PrevInSection }}<span></span>
<a href="{{ .Permalink }}">
{{ if eq .Params.type "project" }}previous project &rightarrow;{{ end }}
{{ if ne .Params.type "project" }}previous article &rightarrow;{{ end }}
</a>
{{ end }}
</article>
</section>
</div>