show frontmatter description if available as summary
This commit is contained in:
parent
3ae446e96d
commit
49b6f15701
3 changed files with 9 additions and 3 deletions
|
|
@ -8,7 +8,7 @@
|
|||
"title" .Title
|
||||
"date" (.Date.Format "2006-01-02")
|
||||
"tags" (sort (or .Params.tags slice))
|
||||
"summary" .Summary
|
||||
"summary" (or .Params.description .Summary)
|
||||
"text" (lower .Plain)
|
||||
"link" .Permalink
|
||||
"image" (or .Params.Image "")) }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue