mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 03:00:50 +02:00
posts widget: Fix paragraph spacing
This commit is contained in:
parent
b51cc00c56
commit
0d56549d90
1 changed files with 3 additions and 3 deletions
|
@ -12,15 +12,15 @@
|
|||
<a href="{{ $post.Permalink }}" itemprop="url">{{ $post.Title }}</a>
|
||||
</h3>
|
||||
{{ partial "article_metadata" (dict "content" $post "is_list" 1) }}
|
||||
<p class="article-style" itemprop="articleBody">
|
||||
<div class="article-style" itemprop="articleBody">
|
||||
{{ if $post.Params.summary }}
|
||||
{{ printf "%s" $post.Params.summary | markdownify }}
|
||||
<p>{{ printf "%s" $post.Params.summary | markdownify }}</p>
|
||||
{{ else if $post.Truncated }}
|
||||
{{ $post.Summary }}
|
||||
{{ else }}
|
||||
{{ $post.Content }}
|
||||
{{ end }}
|
||||
</p>
|
||||
</div>
|
||||
<p class="read-more">
|
||||
<a href="{{ $post.Permalink }}" class="btn btn-primary btn-outline">
|
||||
{{ with $page.Params.str_read_more }}{{ . | markdownify }}{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue