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)
|
![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.
|
⚠️ The theme needs at least Hugo **Extended** v0.90.x.
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
{{ if .Params.showFullContent }}
|
{{ if .Params.showFullContent }}
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
{{ else if .Description }}
|
{{ else if .Description }}
|
||||||
{{ .Description | markdownify }}
|
<p>{{ .Description | markdownify }}</p>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ .Summary }}
|
{{ .Summary }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
{{ if .Params.showFullContent }}
|
{{ if .Params.showFullContent }}
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
{{ else if .Description }}
|
{{ else if .Description }}
|
||||||
{{ .Description | markdownify }}
|
<p>{{ .Description | markdownify }}</p>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ .Summary }}
|
{{ .Summary }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue