Skip to content

Commit

Permalink
fix: non styled summary
Browse files Browse the repository at this point in the history
  • Loading branch information
lxndrblz committed Mar 19, 2022
1 parent 5f5927e commit f345853
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,12 @@ <h2>{{ .Params.mainSectionsTitle }}</h2>
<div class="post__content">
<h3><a href="{{ .RelPermalink }}">{{ upper .Title }}</a></h3>
{{ if .Site.Params.fullPostContent }}
{{ .Content }}
<p>{{ .Content | markdownify }}</p>


{{ else }}
{{ .Summary }}
<p>{{ .Summary | markdownify}}</p>



{{ end }}
Expand Down

0 comments on commit f345853

Please sign in to comment.