jefklakscodex/themes/jefklak-creative-portfolio/layouts/_default/single.html

66 lines
2.3 KiB
HTML
Raw Normal View History

2018-05-14 22:32:52 +02:00
2018-05-14 07:41:47 +02:00
{{ define "main" }}
2022-11-11 09:57:17 +01:00
<div class="content-column">
2018-05-14 07:41:47 +02:00
<div class="row">
2022-11-20 09:12:37 +01:00
<article data-pagefind-body>
2020-06-05 14:10:22 +02:00
<header>
<h1 class="p-name" data-pagefind-meta="title">{{ .Title }}</h1>
2021-01-05 17:17:22 +01:00
{{ if isset $.Params "date" }}
2020-12-13 21:50:18 +01:00
<span class="metatitle">
2020-12-20 08:55:46 +01:00
{{ $createdate := .Date.Format (.Site.Params.dateFormat | default "2 January 2006") }}
2021-03-17 19:18:58 +01:00
<time datetime='{{ .Date.Format "2006-01-02" }}' class="dt-published" title="Created Date">
2021-03-25 17:49:44 +01:00
<svg class='icon icon-text'>
<title>calendar icon</title>
<use xlink:href='#cal1'></use>
</svg>
2021-03-17 19:18:58 +01:00
<a class="u-url u-uid" href="{{ .RelPermalink }}">
{{ $createdate }}
</a>
</time>
2021-01-05 17:17:22 +01:00
{{ end }}
2018-08-13 14:42:20 +02:00
</span>
<hr/>
2020-06-05 14:10:22 +02:00
</header>
2018-08-13 14:42:20 +02:00
2021-03-17 19:18:58 +01:00
<div class="e-content">
{{ with .Content }}
{{ . | safeHTML }}
{{ else }}
<p>No detailed review yet. Check back soon! </p>
2021-11-15 21:34:38 +01:00
{{ end }}
{{ .Scratch.Set "simplescore" 0 }}
{{ partial "score" . }}
2021-03-17 19:18:58 +01:00
</div>
2018-05-14 07:41:47 +02:00
2020-11-16 10:33:05 +01:00
{{ if isset $.Params "played_on" }}
<div class="categories">
Played on:
{{ if eq .Params.played_on "winxp" }}
2022-11-20 09:12:37 +01:00
<a class="p-category" href="https://brainbaking.com/post/2020/10/building-a-core2duo-winxp-retro-pc/">Windows XP - Core2Duo</a> 2006 build.
2020-11-16 10:33:05 +01:00
{{ else if eq .Params.played_on "win98" }}
2022-11-20 09:12:37 +01:00
<a class="p-category" href="https://brainbaking.com/post/2020/10/building-an-athlon-win98-retro-pc/">Windows 98 SE - Athlon 1.4</a> 2001 build.
2020-11-16 10:33:05 +01:00
{{ else if eq .Params.played_on "486" }}
2022-11-20 09:12:37 +01:00
<a class="p-category" href="https://brainbaking.com/post/2020/09/reviving-a-80486/">DOS 6.22 - 486DX2-66</a> 1993 build.
2020-11-16 10:33:05 +01:00
{{ end }}
</div>
{{ end }}
<div class="categories">
{{ if isset $.Params "tags" }}
Categorized under:
{{ range .Params.tags }}
2021-03-19 21:34:19 +01:00
<a class="p-category" href="{{ $.Site.BaseURL }}tags/{{ . | urlize }}"><kbd class="item-tag">{{ . }}</kbd></a>
{{ end }}
{{ end }}
</div>
2020-06-05 14:10:22 +02:00
</article>
2022-11-11 09:57:17 +01:00
{{ partial "single-comments" . }}
<hr/>
2018-05-14 07:41:47 +02:00
</div>
</div>
{{ end }}