summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2016-08-22 17:18:20 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2016-08-22 17:18:20 +0200
commit9a357875fd1b6ea1b8e7f3ca8f74398c110228f5 (patch)
treebf2597842a2962a695e9bcbdbcd769351ef4450c
parent95d05f6aa7804d44a959c2842d828067e77c1167 (diff)
downloadpragblog-9a357875fd1b6ea1b8e7f3ca8f74398c110228f5.tar.gz
pragblog-9a357875fd1b6ea1b8e7f3ca8f74398c110228f5.zip
fix paragraphs
-rw-r--r--themes/flog/layouts/_default/single.html4
-rw-r--r--themes/flog/layouts/partials/listing.html4
2 files changed, 5 insertions, 3 deletions
diff --git a/themes/flog/layouts/_default/single.html b/themes/flog/layouts/_default/single.html
index 2c48769..330c6fd 100644
--- a/themes/flog/layouts/_default/single.html
+++ b/themes/flog/layouts/_default/single.html
@@ -4,8 +4,8 @@
<article itemscope itemtype="http://schema.org/BlogPosting" class="section">
<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">
- <p class="flow-text">{{ .Content }}</p>
+ <section itemprop="articleBody" class="flow-text">
+ {{ .Content }}
</section>
</article>
</main>
diff --git a/themes/flog/layouts/partials/listing.html b/themes/flog/layouts/partials/listing.html
index 4c42879..31e5614 100644
--- a/themes/flog/layouts/partials/listing.html
+++ b/themes/flog/layouts/partials/listing.html
@@ -16,7 +16,9 @@
{{ end }}
<section class="card-content" itemprop="text">
<span class="card-title" itemprop="headline">{{ .Title }}</span>
- <p>{{ .Summary }}</p>
+ <div>
+ {{ .Summary }}
+ </div>
</section>
<div class="card-action">
<a href="{{ .RelPermalink }}">Weiterlesen…</a>