adds support to .Description #30
This commit is contained in:
parent
330385ccaf
commit
6821a0e0e1
1 changed files with 4 additions and 0 deletions
|
@ -13,7 +13,11 @@
|
|||
<span class="item__date">
|
||||
{{ .Date.Format (.Site.Params.dateformat | default "Jan 02, 2006") }}
|
||||
</span>
|
||||
{{ if .Description }}
|
||||
{{ .Description }}
|
||||
{{ else }}
|
||||
{{ .Summary }}
|
||||
{{ end }}
|
||||
{{ if .Truncated }}
|
||||
<div class="read-more-link">
|
||||
<a href="{{ .RelPermalink }}">Read More…</a>
|
||||
|
|
Loading…
Reference in a new issue