font order optimized for windows

This commit is contained in:
Vrifox 2020-10-09 10:00:12 +02:00
parent 0fa103f9d0
commit 15350681af
6 changed files with 36 additions and 58 deletions

View file

@ -8,8 +8,9 @@
<section class="section-article">
<article>
<p class="meta">
{{ if eq .Params.type "project" }}<span title="{{ .Date.Format "2 Jan 2006" }}">latest update: {{ .Date.Format "2. January 2006" }}</span>{{ end }}
{{ if ne .Params.type "project" }}<span title="{{ .Date.Format "2 Jan 2006, 15:04 MST" }}">{{ .Date.Format "2. January 2006" }}</span>{{ end }}
{{ if eq .Params.type "project" }}<span title="{{ .Date.Format "2. January 2006" }}">last updated: {{ .Date.Format "2. January 2006" }}</span>{{ end }}
{{ if eq .Params.type "post" }}<span title="{{ .Date.Format "2. January 2006, 15:04 MST" }}">{{ .Date.Format "2. January 2006" }}</span>{{ end }}
{{ if eq .Params.type "privacy" }}<span title="{{ .Date.Format "2. January 2006" }}">last updated: {{ .Date.Format "2006-01-02" }}</span>{{ end }}
<span>{{ with .Params.author }}by {{ end }}{{ .Params.author }}</span>
</p>
<h1 class="title">{{ .Title }}</h1>
@ -40,24 +41,26 @@
</aside>
</article>
</section>
<section class="section-articles">
<article class="next-article">
{{ 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></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>
{{ if ne .Params.type "privacy" }}
<section class="section-articles">
<article class="next-article">
{{ 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></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>
{{ end }}
</div>
</main>
{{ end }}