73 lines
2.4 KiB
HTML
73 lines
2.4 KiB
HTML
|
|
{{ define "main" }}
|
|
<div class="col-xs-12 col-sm-8 col-md-9 content-column">
|
|
{{ partial "mobile_nav_toggle.html" . }}
|
|
<div class="row">
|
|
<div class="col-lg-8">
|
|
<article>
|
|
|
|
<header>
|
|
<h1>{{ .Title }}</h1>
|
|
<span class="metatitle">
|
|
<span title="Created Date">
|
|
<i class='fa fa-calendar'></i> {{ .Date.Format (.Site.Params.dateFormat | default "2 January 2006") }}
|
|
</span>
|
|
|
|
{{ if (not .Params.disableComments) }}
|
|
|
|
|
<span title="Comments">
|
|
<i class="fa fa-comments-o"></i> <a href="{{ .Permalink }}#commento"></a>
|
|
</span>
|
|
{{ end }}
|
|
</span>
|
|
<hr/>
|
|
</header>
|
|
|
|
{{ .Content | safeHTML }}
|
|
|
|
{{ 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 }}
|
|
<a href="{{ $.Site.BaseURL }}tags/{{ . | urlize }}"><kbd class="item-tag">{{ . }}</kbd></a>
|
|
{{ end }}
|
|
{{ end }}
|
|
</div>
|
|
|
|
|
|
{{ if (not .Params.disableComments) }}
|
|
<hr/>
|
|
<h3 class="page-header"><i class="fa fa-comments-o"></i>
|
|
Join the Discussion
|
|
</h3>
|
|
|
|
{{- if (ne hugo.Environment "development") }}
|
|
<script defer src="https://commento.jefklakscodex.com/js/commento.js"></script>
|
|
<script src="https://commento.jefklakscodex.com/js/count.js"></script>
|
|
{{- else }}
|
|
(localhost, commento not loaded)
|
|
{{- end }}
|
|
<div id="commento"></div>
|
|
|
|
{{ end }}
|
|
|
|
</article>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{ end }}
|