jon.kelbie.scot website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

70 lines
5.4 KiB

{{ define "main" }}
<section class="about">
<section class="h-feed">
<section class="latest_note"><h2>Latest note</h2>
{{ range (first 1 (where .Site.RegularPages "Type" "=" "note")) }}
<article class="index-note h-entry entry">
<section class="author" style="display:none;">
<a rel="author" class="p-author h-card" rel="me" href="https://jon.kelbie.scot">{{ .Site.Params.Author }}<img src="/images/profile1.jpg"/></a>
</section>
<section class="e-content">{{ .Content }}
</section>
<section class="info">
<span class="categories_span">{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}</span><span class="info-date"><a href="{{ .Permalink }}" class="u-url"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time></a></span><br/>
</section>
</article> {{ end }}
</section>
<section class="latest_articles"><h2>Latest articles</h2>
{{ range (first 3 (where .Site.RegularPages "Type" "=" "article")) }}
<article class="index-article h-entry entry"><a class="u-url" href="{{ .Permalink }}" title="{{ .Title }}">
{{ range first 1 .Page.Params.image }} <img class="banner u-photo" src="{{ replace . "images" "images/300" }}"/>{{ end }}<span class="p-name entry-title">{{ .Title }}</span>
<section class="e-content">{{ .Description }}</section>
</a></article>{{ end }}</section>
<section class="latest_photos"><h2>Latest photos</h2>
{{ range (first 3 (where .Site.RegularPages "Type" "=" "photo")) }}
<article class="index-photo h-entry entry"><a class="u-url" href="{{ .Permalink }}">
<section class="e-content">
{{ if eq .Type "photo"}}
<section class="photos">
{{ $summary := .Content }}
{{ range first 1 .Page.Params.Photo }}
{{ if isset . "value" }}
<img class="u-photo thumb" src="{{ replace .value "800." "300."}}" title="{{$summary}}" alt="{{ .alt }}"/>
{{ else }}
<img class="u-photo thumb" src="{{ replace . "800." "300."}}" title="{{$summary}}" alt="Alt not yet added, will fix!"/>
{{ end }}
{{end}}
</section>
{{end}}
</section>
</a></article>{{ end }}</section>
<h2>Currently</h2>
<section class="index-note">
<b><i class="fa fa-graduation-cap" aria-hidden="true" target="_blank"></i> Studying: <a href="https://www.hw.ac.uk/documents/pams/202122/B91FI_202122.pdf" class="u-url" title="Currently studying: B91FI Filtation and Packaging">B91FI Filtration and Packaging</a></b> @ Heriot Watt University, a course from the MSc in Brewing and Distilling programme.<br/><br/>
<b><i class="fa fa-beer" aria-hidden="true"></i> Fermenter 1: <a href="https://www.sirencraftbrew.com/beers/seasonal-range/undercurrent" class="u-url" target="_blank" title="Currently fermenting: Citra SMaSH IPA">Undercurrent IPA</a></b> from Siren Craft Brew.<br/><br/>
<b><i class="fa fa-beer" aria-hidden="true"></i> Fermenter 2: <a href="https://beersmith.com/blog/2012/10/24/smash-brewing-single-malt-and-single-hop-beers/" class="u-url" target="_blank" title="Currently fermenting: Citra SMaSH IPA">Amarillo SMaSH IPA</a></b> which is my third attempt at a SMaSH IPA.<br/><br/>
<b><i class="fa fa-calendar" aria-hidden="true"></i> Planning:</b> A series of <b><a href="https://beersmith.com/blog/2012/10/24/smash-brewing-single-malt-and-single-hop-beers/" class="u-url" target="_blank" title="Currently planning: SMaSH Beers">Single Malt and Single Hop (SMaSH)</a></b> beers, IPAs most likely to learn about different hops<br/><br/>
<b><i class="fa fa-book" aria-hidden="true" target="_blank"></i> Reading: <a href="https://www.themaltmiller.co.uk/product/for-the-love-of-hops/" class="u-url" title="Currently reading: For the Love of Hops">For the Love of Hops</a></b> by Stan Hieronymus.<br/><br/>
<b><i class="fa fa-television" aria-hidden="true"></i> Watching: <a href="https://en.wikipedia.org/wiki/Borgen_(TV_series)" class="u-url" target="_blank" title="now watching: Borgen">Borgen</a></b> a Danish political drama. Slowly making my way through season 1, it is good!<br/><br/>
<b><i class="fa fa-gamepad" aria-hidden="true"></i> Playing: <a href="https://www.crusaderkings.com/" class="u-url" target="_blank" title="Currently playing: Crusader Kings III">Crusader Kings III</a></b> a grand strategy game with strong story, character and legacy development.</section>
<section class="index_exercise">
<h2>Latest Workout</h2>
{{ range first 1 (sort .Site.Data.workouts "date" "desc")}}
<section class="exercise_grid">
<span class="type"><b>Type</b><br/>{{ .type | humanize }}</span>
<span class="exdate"><b>Date</b><br/>{{ dateFormat "2 Jan 2006" .date }}</span>
<span class="comment"><b>Comment</b><br/>{{ .comment | humanize }}</span>
<span class="image"><a href="{{ .image }}" class="u-url"><img src="{{ .thumb }}" title="{{ .comment }}" alt="route map of outdoor exercise from fitotrack app" /></a></span>
<span class="distance"><b>Distance</b><br/>{{ .distance }}</span>
<span class="duration"><b>Duration</b><br/>{{ .duration }}</span>
<span class="pace"><b>Pace</b><br/>{{ .pace }}</span>
<span class="calories"><b>Calories burned</b><br/>{{ .calories }}</span>
</section>
{{ end }}
</section><br/><br/>
<a href="https://brid.gy/publish/mastodon"></a>
</section>
</section>
{{ end }}