mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-14 02:46:16 +01:00
chore(archetype): rename show_description to description_as_summary
This commit is contained in:
parent
495f7e651f
commit
d8854c7e47
8 changed files with 9 additions and 9 deletions
|
@ -7,7 +7,7 @@ lastmod: {{ .Date }}
|
|||
draft: true
|
||||
description: ""
|
||||
show_in_homepage: true
|
||||
show_description: false
|
||||
description_as_summary: false
|
||||
license: ""
|
||||
|
||||
tags: []
|
||||
|
|
|
@ -7,7 +7,7 @@ lastmod: 2019-10-01T17:55:28+08:00
|
|||
draft: false
|
||||
description: "Guide to emoji usage in Hugo"
|
||||
show_in_homepage: true
|
||||
show_description: false
|
||||
description_as_summary: false
|
||||
license: ""
|
||||
|
||||
tags: [
|
||||
|
|
|
@ -7,7 +7,7 @@ lastmod: 2020-01-01T16:45:40+08:00
|
|||
draft: false
|
||||
description: "Sample article showcasing basic Markdown syntax and formatting for HTML elements."
|
||||
show_in_homepage: true
|
||||
show_description: false
|
||||
description_as_summary: false
|
||||
license: ""
|
||||
|
||||
tags: [
|
||||
|
|
|
@ -7,7 +7,7 @@ lastmod: 2019-08-01T18:02:41+08:00
|
|||
draft: false
|
||||
description: "Lorem Ipsum Dolor Si Amet"
|
||||
show_in_homepage: true
|
||||
show_description: false
|
||||
description_as_summary: false
|
||||
license: ""
|
||||
|
||||
tags: [
|
||||
|
|
|
@ -7,7 +7,7 @@ lastmod: 2019-09-01T18:06:32+08:00
|
|||
draft: false
|
||||
description: "A brief description of Hugo Shortcodes"
|
||||
show_in_homepage: true
|
||||
show_description: false
|
||||
description_as_summary: false
|
||||
license: ""
|
||||
|
||||
tags: [
|
||||
|
|
|
@ -7,7 +7,7 @@ lastmod: 2019-08-25T16:22:42+08:00
|
|||
draft: false
|
||||
description: "这是一篇用于预览 Markdown 基本语法的文章。"
|
||||
show_in_homepage: true
|
||||
show_description: false
|
||||
description_as_summary: false
|
||||
license: ""
|
||||
|
||||
tags: [
|
||||
|
|
|
@ -7,7 +7,7 @@ lastmod: 2019-08-17T22:41:56+08:00
|
|||
draft: true
|
||||
description: "This is a test page."
|
||||
show_in_homepage: false
|
||||
show_description: false
|
||||
description_as_summary: false
|
||||
license: ""
|
||||
|
||||
tags: [
|
||||
|
|
|
@ -37,9 +37,9 @@
|
|||
{{- end -}}
|
||||
</div>
|
||||
|
||||
{{- /* Content */ -}}
|
||||
{{- /* Summary content */ -}}
|
||||
<div class="post-content">
|
||||
{{- if .Params.show_description -}}
|
||||
{{- if .Params.description_as_summary -}}
|
||||
<p>
|
||||
{{- .Params.description -}}
|
||||
</p>
|
||||
|
|
Loading…
Reference in a new issue