summaryrefslogtreecommitdiff
path: root/themes/flog/layouts/_default/single.html
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2016-08-27 13:03:56 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2016-08-27 13:03:56 +0200
commit0f9a69bb83882c45d67b901bf9d897d7fd35eb2f (patch)
treec47e10e85663893f931d1a6d8476de35369764f0 /themes/flog/layouts/_default/single.html
parent66725af0f80fd8fbff29d553c6f20054409ab0c0 (diff)
downloadpragblog-0f9a69bb83882c45d67b901bf9d897d7fd35eb2f.tar.gz
pragblog-0f9a69bb83882c45d67b901bf9d897d7fd35eb2f.zip
rework images and background
Diffstat (limited to 'themes/flog/layouts/_default/single.html')
-rw-r--r--themes/flog/layouts/_default/single.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/themes/flog/layouts/_default/single.html b/themes/flog/layouts/_default/single.html
index 330c6fd..e6be8ee 100644
--- a/themes/flog/layouts/_default/single.html
+++ b/themes/flog/layouts/_default/single.html
@@ -1,7 +1,11 @@
{{ partial "header.html" . }}
+<main role="main">
<div class="white z-depth-1">
<main role="main" class="container">
<article itemscope itemtype="http://schema.org/BlogPosting" class="section">
+ {{ if .Params.image }}
+ <img src="/images/{{ .Params.image }}" style="width: 100%;">
+ {{ end }}
<h1 itemprop="headline" class="header">{{ .Title }}</h1>
<span><time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "02.01.2006" }}</time></span>
<section itemprop="articleBody" class="flow-text">
@@ -10,4 +14,5 @@
</article>
</main>
</div>
+</main>
{{ partial "footer.html" . }}