{{- .Params.description -}}
diff --git a/archetypes/default.md b/archetypes/default.md index ad7609c5..51a441a0 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -7,7 +7,7 @@ lastmod: {{ .Date }} draft: true description: "" show_in_homepage: true -show_description: false +description_as_summary: false license: "" tags: [] diff --git a/exampleSite/content/posts/emoji-support.md b/exampleSite/content/posts/emoji-support.md index 008871b7..eb1ecb58 100644 --- a/exampleSite/content/posts/emoji-support.md +++ b/exampleSite/content/posts/emoji-support.md @@ -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: [ diff --git a/exampleSite/content/posts/markdown-syntax.md b/exampleSite/content/posts/markdown-syntax.md index 45025764..59f53908 100644 --- a/exampleSite/content/posts/markdown-syntax.md +++ b/exampleSite/content/posts/markdown-syntax.md @@ -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: [ diff --git a/exampleSite/content/posts/placeholder-text.md b/exampleSite/content/posts/placeholder-text.md index 059273c0..7fcc7905 100644 --- a/exampleSite/content/posts/placeholder-text.md +++ b/exampleSite/content/posts/placeholder-text.md @@ -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: [ diff --git a/exampleSite/content/posts/rich-content.md b/exampleSite/content/posts/rich-content.md index 770b7c3e..f26c862d 100644 --- a/exampleSite/content/posts/rich-content.md +++ b/exampleSite/content/posts/rich-content.md @@ -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: [ diff --git a/exampleSite/zh/content/posts/Basic-Markdown-Preview.md b/exampleSite/zh/content/posts/Basic-Markdown-Preview.md index 65c50c73..86b94aac 100644 --- a/exampleSite/zh/content/posts/Basic-Markdown-Preview.md +++ b/exampleSite/zh/content/posts/Basic-Markdown-Preview.md @@ -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: [ diff --git a/exampleSite/zh/content/posts/test.md b/exampleSite/zh/content/posts/test.md index ac4ff27c..f2a59ec6 100644 --- a/exampleSite/zh/content/posts/test.md +++ b/exampleSite/zh/content/posts/test.md @@ -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: [ diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index e7beb20a..3c37dbbd 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -37,9 +37,9 @@ {{- end -}} - {{- /* Content */ -}} + {{- /* Summary content */ -}}
{{- .Params.description -}}