remove extra p tags from teaser
This commit is contained in:
parent
4c450f4d6e
commit
48ca0d6cf6
|
@ -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}}
|
||||
|
||||
|
|
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue