show description of posts in index page, or summary if no description
This commit is contained in:
parent
ad98c7238d
commit
5aec7ac354
|
@ -32,7 +32,13 @@
|
|||
{{ end }}
|
||||
</div>
|
||||
|
||||
<div class="summary">{{ .Summary }}</div>
|
||||
<div class="summary">
|
||||
{{ with .Description }}
|
||||
{{ . }}
|
||||
{{ else }}
|
||||
{{ .Summary }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue