remove extra p tags from teaser

This commit is contained in:
Lars Hoogestraat 2020-09-14 12:21:25 +02:00
parent 4c450f4d6e
commit 48ca0d6cf6
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@
<h2 class="article_link">{{.Headline}}</h2>
<p class="article_info">written by {{.Author.DisplayName}} on {{.PublishedOn.Time | FormatDate}}</p>
<p>{{.Teaser | ParseMarkdown}}</p>
{{.Teaser | ParseMarkdown}}
{{.Content | ParseMarkdown}}

View File

@ -27,7 +27,7 @@
<h2 class="article_link"><a href="/article/{{.SlugEscape}}">{{.Headline}}</a></h2>
<p class="article_info">written by {{.Author.DisplayName}} on {{.PublishedOn.Time | FormatDate}}</p>
<p>{{.Teaser | ParseMarkdown}}</p>
{{.Teaser | ParseMarkdown}}
</article>
{{end}}