65 lines
3.2 KiB
HTML
65 lines
3.2 KiB
HTML
{{ partial "header" . }}
|
|
|
|
<main class="intro">
|
|
<div class="txtblock">
|
|
<h1>
|
|
<span style="float: left; color: #9C7747">Brain</span>
|
|
<div class="avatar-container" style="float: left;">
|
|
<div class="avatar-img-border">
|
|
<a title="{{ .Site.Title }}" href="{{ .Site.BaseURL }}">
|
|
<img class="avatar-img" src="/img/avatar-icon.png" alt="{{ .Site.Title }}" />
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<span style="float: left; color: #694425">Baking</span>
|
|
</h1>
|
|
<hr style="clear: both;"/>
|
|
|
|
{{ $paginator := .Paginate (where .Site.Pages "Type" "post") $.Site.Params.pagination }}
|
|
{{ $currYear := .Date.Format "2006" }}
|
|
{{ if eq $paginator.PageNumber 1 }}
|
|
<h2><a href="/" alt="home"><svg class='icon'><title>home</title><use xlink:href='#book'></use></svg></a>Freshly Baked Thoughts</h2>
|
|
{{ end }}
|
|
|
|
<div class="list">
|
|
{{ range ($paginator.Pages).GroupByDate "2006" "desc" }}
|
|
{{ if ne $currYear .Key }}
|
|
<h2>{{ .Key }}</h2>
|
|
{{ end }}
|
|
|
|
{{ range .Pages.GroupByDate "Jan" }}
|
|
<h3>{{ .Key }}</h3>
|
|
{{ partial "list-ul" . }}
|
|
{{ end }}
|
|
{{ end }}
|
|
</div>
|
|
{{ template "_internal/pagination.html" . }}
|
|
</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 level {{ .Site.Params.level }} <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. <br/>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>
|