indiewebify jefklak!

This commit is contained in:
Wouter Groeneveld 2021-03-17 19:18:58 +01:00
parent 3f1a134688
commit 3fd8087bcf
2 changed files with 28 additions and 21 deletions

View File

@ -4,23 +4,28 @@
{{ partial "mobile_nav_toggle.html" . }}
<div class="row">
<div class="col-lg-8">
<article>
<article class="h-entry">
<header>
<h1>{{ .Title }}</h1>
<h1 class="p-name">{{ .Title }}</h1>
{{ if isset $.Params "date" }}
<span class="metatitle">
{{ $createdate := .Date.Format (.Site.Params.dateFormat | default "2 January 2006") }}
<span title="Created Date">
<i class='fa fa-calendar'></i>&nbsp;{{ $createdate }}
</span>
<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>
{{ end }}
</span>
<hr/>
</header>
<div class="e-content">
{{ .Content | safeHTML }}
</div>
{{ if isset $.Params "played_on" }}
<div class="categories">
@ -40,7 +45,7 @@
<div class="categories">
Categorized under:
{{ range .Params.tags }}
<a href="{{ $.Site.BaseURL }}tags/{{ . | urlize }}"><kbd class="item-tag">{{ . }}</kbd></a>
<a class="u-url p-category" href="{{ $.Site.BaseURL }}tags/{{ . | urlize }}"><kbd class="item-tag">{{ . }}</kbd></a>
{{ end }}
{{ end }}
</div>

View File

@ -4,20 +4,22 @@
Bio and Support
</h3>
<div class="avatar">
<img loading="lazy" src="/img/avatar.jpg" alt="Me!" />
</div>
<div class="support">
<p>
I'm Wouter, a level {{ .Site.Params.level }} <em>Retro Gamer</em>, and I love the sight of experience points on old and forgotten hardware. I sometimes convince others join in on the nostalgic grind.
Read more <a href="/about">about me here</a>.
</p>
<p>
If you found this article amusing and/or helpful, you can <a href="https://ko-fi.com/woutergroeneveld"><strong>buy me a coffee</strong></a> - although I'm more of a tea fan myself. I also like to hear your feedback via <a href="https://chat.brainbaking.com/@wouter">Mastodon</a> or e-mail: <a class="meel">say hello</a>. Thanks!
</p>
<noscript>
JavaScript is disabled. I use it to obfuscate my e-mail, keeping spambots at bay. <br/>
Reach me using: <code>[firstname] at [brainbaking] dot [you-know]</code>.
</noscript>
<div class="p-author h-card">
<div class="avatar">
<img class="u-photo" loading="lazy" src="/img/avatar.jpg" alt="Me!" />
</div>
<div class="support">
<p class="p-note">
I'm <span class="p-name">{{ .Site.Author.name }}</span>, a level {{ .Site.Params.level }} <em class="p-job-title">Retro Gamer</em>, and I love the sight of experience points on old and forgotten hardware. I sometimes convince others join in on the nostalgic grind.
Read more <a href="/about">about me here</a>.
</p>
<p>
If you found this article amusing and/or helpful, you can <a rel="me" href="https://ko-fi.com/woutergroeneveld"><strong>buy me a coffee</strong></a> - although I'm more of a tea fan myself. I also like to hear your feedback via <a rel="me" class="u-url" href="https://chat.brainbaking.com/@wouter">Mastodon</a> or e-mail: <a class="meel">say hello</a>. Thanks!
</p>
<noscript>
JavaScript is disabled. I use it to obfuscate my e-mail, keeping spambots at bay. <br/>
Reach me using: <code>[firstname] at [brainbaking] dot [you-know]</code>.
</noscript>
</div>
</div>
{{ end }}