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

61 lines
2.0 KiB
HTML
Raw Normal View History

2018-05-14 22:32:52 +02:00
2018-05-14 07:41:47 +02:00
{{ define "main" }}
2020-05-25 22:08:25 +02:00
<div class="col-xs-12 col-sm-8 col-md-9 content-column">
2018-05-14 07:41:47 +02:00
{{ partial "mobile_nav_toggle.html" . }}
<div class="row">
<div class="col-lg-8">
2021-03-17 19:18:58 +01:00
<article class="h-entry">
2018-08-13 14:42:20 +02:00
2020-06-05 14:10:22 +02:00
<header>
2021-03-17 19:18:58 +01:00
<h1 class="p-name">{{ .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">
<i class='fa fa-calendar'></i>&nbsp;
<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">
{{ .Content | safeHTML }}
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" }}
<a href="https://brainbaking.com/post/2020/10/building-a-core2duo-winxp-retro-pc/">Windows XP - Core2Duo</a> 2006 build.
{{ else if eq .Params.played_on "win98" }}
<a href="https://brainbaking.com/post/2020/10/building-an-athlon-win98-retro-pc/">Windows 98 SE - Athlon 1.4</a> 2001 build.
{{ else if eq .Params.played_on "486" }}
<a href="https://brainbaking.com/post/2020/09/reviving-a-80486/">DOS 6.22 - 486DX2-66</a> 1993 build.
{{ end }}
</div>
{{ end }}
{{ if isset $.Params "tags" }}
<div class="categories">
Categorized under:
{{ range .Params.tags }}
2021-03-17 19:18:58 +01:00
<a class="u-url p-category" href="{{ $.Site.BaseURL }}tags/{{ . | urlize }}"><kbd class="item-tag">{{ . }}</kbd></a>
{{ end }}
{{ end }}
</div>
2018-08-13 14:42:20 +02:00
2020-12-30 15:52:37 +01:00
{{ partial "single-comments" . }}
2018-08-13 14:42:20 +02:00
2020-06-05 14:10:22 +02:00
</article>
2018-05-14 07:41:47 +02:00
</div>
</div>
</div>
{{ end }}