mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 18:15:31 +00:00
posts widget: Fix paragraph spacing
This commit is contained in:
1 parent
b51cc00c56
commit
0d56549d90
1 file changed
+3
-3
@@ -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 }}
|
||||
|
||||
Reference in new issue
Block a user