Minor improvements to the page and other layouts

This commit is contained in:
Thomas Schwery 2020-01-21 20:46:25 +01:00
parent 641e14150a
commit aa449203a4
4 changed files with 21 additions and 4 deletions

View file

@ -1,7 +1,7 @@
---
title: About me
hidefromhome: true
type: page
type: other
---
I am Thomas, a software engineer. I love new challenges and learning

View file

@ -15,6 +15,8 @@ copyright = "Thomas Schwery, No rights reserved (CC0)."
pygmentsCodeFences = true
pygmentsCodeFencesGuessSyntax = true
disableKinds = ["taxonomy","taxonomyTerm"]
[params]
logo = "/images/logo.png"
subtitle = "A Glog ... Plog ... Blog ..."

View file

@ -3,9 +3,10 @@
<main role="main">
<article itemscope itemtype="http://schema.org/BlogPosting">
<h1 class="entry-title" itemprop="headline">{{ .Title }}</h1>
{{ if ne .Type "page"}}
<span class="entry-meta"><time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 02, 2006" }}</time></span>{{ .Date }}
{{ end }}
<span class="entry-meta">
<time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 02, 2006" }}</time>
<span>(~{{ .ReadingTime }} minutes)</span>
</span>
<section itemprop="entry-text">
{{ .Content }}
</section>

View file

@ -0,0 +1,14 @@
{{ partial "header.html" . }}
<main role="main">
<article itemscope itemtype="http://schema.org/BlogPosting">
<h1 class="entry-title" itemprop="headline">{{ .Title }}</h1>
<span class="entry-meta">
</span>
<section itemprop="entry-text">
{{ .Content }}
</section>
</article>
</main>
{{ partial "footer.html" . }}