mirror of
https://github.com/panr/hugo-theme-terminal.git
synced 2024-11-24 10:35:32 +03:00
fix list template .Description
This commit is contained in:
parent
3c03c1b0ea
commit
b6c2bafbdc
4 changed files with 9 additions and 10 deletions
|
@ -6,7 +6,6 @@
|
|||
|
||||
![Terminal](https://github.com/panr/hugo-theme-terminal/blob/master/images/terminal-theme.png?raw=true)
|
||||
|
||||
|
||||
---
|
||||
|
||||
⚠️ The theme needs at least Hugo **Extended** v0.90.x.
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
{{ if .Params.showFullContent }}
|
||||
{{ .Content }}
|
||||
{{ else if .Description }}
|
||||
{{ .Description | markdownify }}
|
||||
<p>{{ .Description | markdownify }}</p>
|
||||
{{ else }}
|
||||
{{ .Summary }}
|
||||
{{ end }}
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
{{ if .Params.showFullContent }}
|
||||
{{ .Content }}
|
||||
{{ else if .Description }}
|
||||
{{ .Description | markdownify }}
|
||||
<p>{{ .Description | markdownify }}</p>
|
||||
{{ else }}
|
||||
{{ .Summary }}
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue