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
|
||||
hidefromhome: true
|
||||
type: page
|
||||
type: other
|
||||
---
|
||||
|
||||
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
|
||||
pygmentsCodeFencesGuessSyntax = true
|
||||
|
||||
disableKinds = ["taxonomy","taxonomyTerm"]
|
||||
|
||||
[params]
|
||||
logo = "/images/logo.png"
|
||||
subtitle = "A Glog ... Plog ... Blog ..."
|
||||
|
|
|
@ -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>
|
||||
|
|
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