feat(home): improve default behavior of hiddenFromHomePage

This commit is contained in:
Dillon
2020-02-17 12:44:04 +08:00
parent dd78d80fef
commit a276661f0a
12 changed files with 73 additions and 102 deletions

View File

@@ -1,29 +1,24 @@
---
author: "Hugo Authors"
author_link: "https://gohugo.io/"
title: "Emoji Support"
date: 2019-10-01T17:55:28+08:00
lastmod: 2019-10-01T17:55:28+08:00
draft: false
author: "Hugo Authors"
authorLink: "https://gohugo.io/"
description: "Guide to emoji usage in Hugo"
show_in_homepage: true
description_as_summary: false
license: ""
tags: [
"emoji",
]
categories: [
"theme",
]
tags: ["emoji"]
categories: ["theme"]
hiddenFromHomePage: false
featured_image: /images/emoji.jpg
featured_image_preview: ""
featuredImage: /images/emoji.jpg
featuredImagePreview: ""
comment: true
toc: false
auto_collapse_toc: true
autoCollapseToc: true
math: false
comment: true
---
Emoji can be enabled in a Hugo project in a number of ways.

View File

@@ -1,31 +1,24 @@
---
author: "Hugo Authors"
author_link: "https://gohugo.io/"
title: "Markdown Syntax Guide"
date: 2019-12-01T21:57:40+08:00
lastmod: 2020-01-01T16:45:40+08:00
draft: false
author: "Hugo Authors"
authorLink: "https://gohugo.io/"
description: "Sample article showcasing basic Markdown syntax and formatting for HTML elements."
show_in_homepage: true
description_as_summary: false
license: ""
tags: [
"markdown",
"css",
"html",
]
categories: [
"theme",
]
tags: ["markdown", "css", "html"]
categories: ["theme"]
hiddenFromHomePage: false
featured_image: /images/markdown.png
featured_image_preview: ""
featuredImage: /images/markdown.png
featuredImagePreview: ""
comment: true
toc: true
auto_collapse_toc: true
autoCollapseToc: true
math: true
comment: true
---
This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.

View File

@@ -1,30 +1,24 @@
---
author: "Hugo Authors"
author_link: "https://gohugo.io/"
title: "Placeholder Text"
date: 2019-08-01T18:02:41+08:00
lastmod: 2019-08-01T18:02:41+08:00
draft: false
author: "Hugo Authors"
authorLink: "https://gohugo.io/"
description: "Lorem Ipsum Dolor Si Amet"
show_in_homepage: true
description_as_summary: false
license: ""
tags: [
"markdown",
"text",
]
categories: [
"theme",
]
tags: ["markdown", "text"]
categories: ["theme"]
hiddenFromHomePage: false
featured_image: ""
featured_image_preview: ""
featuredImage: ""
featuredImagePreview: ""
comment: true
toc: false
auto_collapse_toc: true
autoCollapseToc: true
math: false
comment: true
---
Lorem est tota propiore conpellat pectoribus de

View File

@@ -1,30 +1,24 @@
---
author: "Hugo Authors"
author_link: "https://gohugo.io/"
title: "Rich Content"
date: 2019-09-01T18:06:32+08:00
lastmod: 2019-09-01T18:06:32+08:00
draft: false
author: "Hugo Authors"
authorLink: "https://gohugo.io/"
description: "A brief description of Hugo Shortcodes"
show_in_homepage: true
description_as_summary: false
license: ""
tags: [
"shortcodes",
"privacy",
]
categories: [
"theme",
]
tags: ["shortcodes", "privacy"]
categories: ["theme"]
hiddenFromHomePage: false
featured_image: /images/hugo.png
featured_image_preview: ""
featuredImage: /images/hugo.png
featuredImagePreview: ""
comment: true
toc: false
auto_collapse_toc: true
autoCollapseToc: true
math: false
comment: true
---
Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugo-s-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.