120 lines
5.1 KiB
HTML
120 lines
5.1 KiB
HTML
{{ partial "header" . }}
|
|
{{ $itms := 5 }}
|
|
|
|
<main class="intro">
|
|
<h1>
|
|
<span style="color: #9C7747">Brain</span>
|
|
<svg class="logo"><title>Brain Baking Logo</title><use xlink:href='#logo'></use></svg>
|
|
<span style="color: #694425">Baking</span>
|
|
</h1>
|
|
|
|
<div class="txtblock">
|
|
<article>
|
|
<div class="flexlist">
|
|
<h2>Freshly Baked Thoughts</h2>
|
|
<small><a href="/archives">Archives</a> »</small>
|
|
</div>
|
|
|
|
{{ $tags := slice }}
|
|
{{ $cats := slice }}
|
|
<ul class="smallist">
|
|
{{ range first $itms (where .Site.Pages "Section" "post").ByDate.Reverse }}
|
|
<li class="flexlist">
|
|
<h3>
|
|
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
|
</h3>
|
|
<small>
|
|
{{ .Date.Format ("02 Jan 2006") }}
|
|
</small>
|
|
</li>
|
|
{{ if isset .Params "tags" }}
|
|
{{ $tags = $tags | append .Params.tags }}
|
|
{{ end }}
|
|
{{ if isset .Params "categories" }}
|
|
{{ $cats = $cats | append .Params.categories }}
|
|
{{ end }}
|
|
{{ end }}
|
|
</ul>
|
|
</article>
|
|
<article>
|
|
<div class="flexlist">
|
|
<h2>Popular Bakings This Month</h2>
|
|
<small><a href="https://stats.brainbaking.com">Statistics</a> »</small>
|
|
</div>
|
|
|
|
{{ $tags := slice }}
|
|
{{ $cats := slice }}
|
|
<ul class="smallist">
|
|
{{ range first $itms (where .Site.Pages "Section" "post").ByDate.Reverse }}
|
|
<li class="flexlist">
|
|
<h3>
|
|
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
|
</h3>
|
|
<small>
|
|
{{ .Date.Format ("02 Jan 2006") }}
|
|
</small>
|
|
</li>
|
|
{{ if isset .Params "tags" }}
|
|
{{ $tags = $tags | append .Params.tags }}
|
|
{{ end }}
|
|
{{ if isset .Params "categories" }}
|
|
{{ $cats = $cats | append .Params.categories }}
|
|
{{ end }}
|
|
{{ end }}
|
|
</ul>
|
|
</article>
|
|
<article>
|
|
<div class="flexlist">
|
|
<h2>Random Tasty Treats</h2>
|
|
<small><a href="/post">All posts</a> »</small>
|
|
</div>
|
|
{{ $tags := slice }}
|
|
{{ $cats := slice }}
|
|
<ul class="smallist">
|
|
{{ range first $itms (shuffle (where .Site.Pages "Section" "post")) }}
|
|
<li class="flexlist">
|
|
<h3>
|
|
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
|
</h3>
|
|
<small>
|
|
{{ .Date.Format ("02 Jan 2006") }}
|
|
</small>
|
|
</li>
|
|
{{ if isset .Params "tags" }}
|
|
{{ $tags = $tags | append .Params.tags }}
|
|
{{ end }}
|
|
{{ if isset .Params "categories" }}
|
|
{{ $cats = $cats | append .Params.categories }}
|
|
{{ end }}
|
|
{{ end }}
|
|
</ul>
|
|
</article>
|
|
</div>
|
|
|
|
<div class="belowsingle">
|
|
<div class="txtblock">
|
|
<h2 class="page-header"><a href="/about" alt="go to the about page"><svg class='icon'><title>about me</title><use xlink:href='#about'></use></svg></a>About the Head Brain Baker</h2>
|
|
<article class="p-author h-card">
|
|
<div class="avatar">
|
|
<img class="u-photo" src="{{ .Site.BaseURL }}/img/avatar.jpg" alt="A photo of Me!" />
|
|
</div>
|
|
<p class="p-note">
|
|
Hey! I'm <a class="p-name u-uid u-url" rel="me" href="{{ .Site.BaseURL }}">{{ .Site.Author.name }}</a>, a <em class="p-job-title">Brain Baker</em> living in <span class="p-locality">Belgium</span>. I currently find myself teaching, writing, programming, researching, and of course baking bread! <em>Brain Baking</em> is my way to inspire myself and others to ponder and learn. Read more <a class="u-url" href="about">about me here</a>.
|
|
</p>
|
|
<p>
|
|
If you found my bakings amusing and/or helpful, you can <a rel="me" href="https://ko-fi.com/woutergroeneveld"><strong>buy me a coffee</strong></a>—if you don't mind I'll use it to enjoy a cup of tea instead. I also like to hear about your own <em>bakings</em> via <svg class='icon icon-text'><title>chat icon</title><use xlink:href='#discuss'></use></svg><a rel="me" class="u-url" href="{{ .Site.Author.mastodonlink }}">Mastodon</a> or <svg class='icon icon-text'><title>mail icon</title><use xlink:href='#mail'></use></svg><span class="link meel">e-mail</span>. Thanks!
|
|
</p>
|
|
<hr/>
|
|
</article>
|
|
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
<footer>
|
|
<p class="copyright text-muted">{{ .Site.Params.copyright | markdownify }}</p>
|
|
</footer>
|
|
|
|
</body>
|
|
</html>
|