Minor improvements to the page and other layouts
This commit is contained in:
parent
641e14150a
commit
aa449203a4
4 changed files with 21 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: About me
|
title: About me
|
||||||
hidefromhome: true
|
hidefromhome: true
|
||||||
type: page
|
type: other
|
||||||
---
|
---
|
||||||
|
|
||||||
I am Thomas, a software engineer. I love new challenges and learning
|
I am Thomas, a software engineer. I love new challenges and learning
|
||||||
|
|
|
@ -15,6 +15,8 @@ copyright = "Thomas Schwery, No rights reserved (CC0)."
|
||||||
pygmentsCodeFences = true
|
pygmentsCodeFences = true
|
||||||
pygmentsCodeFencesGuessSyntax = true
|
pygmentsCodeFencesGuessSyntax = true
|
||||||
|
|
||||||
|
disableKinds = ["taxonomy","taxonomyTerm"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
logo = "/images/logo.png"
|
logo = "/images/logo.png"
|
||||||
subtitle = "A Glog ... Plog ... Blog ..."
|
subtitle = "A Glog ... Plog ... Blog ..."
|
||||||
|
|
|
@ -3,9 +3,10 @@
|
||||||
<main role="main">
|
<main role="main">
|
||||||
<article itemscope itemtype="http://schema.org/BlogPosting">
|
<article itemscope itemtype="http://schema.org/BlogPosting">
|
||||||
<h1 class="entry-title" itemprop="headline">{{ .Title }}</h1>
|
<h1 class="entry-title" itemprop="headline">{{ .Title }}</h1>
|
||||||
{{ if ne .Type "page"}}
|
<span class="entry-meta">
|
||||||
<span class="entry-meta"><time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 02, 2006" }}</time></span>{{ .Date }}
|
<time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 02, 2006" }}</time>
|
||||||
{{ end }}
|
<span>(~{{ .ReadingTime }} minutes)</span>
|
||||||
|
</span>
|
||||||
<section itemprop="entry-text">
|
<section itemprop="entry-text">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</section>
|
</section>
|
||||||
|
|
14
themes/hugo-tschwery/layouts/other/single.html
Normal file
14
themes/hugo-tschwery/layouts/other/single.html
Normal 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" . }}
|
Loading…
Add table
Reference in a new issue