From fcd96a076a9aaaf5bad4dcb0e718c4290dd3502c Mon Sep 17 00:00:00 2001 From: koirand Date: Thu, 4 Apr 2019 01:29:21 +0900 Subject: [PATCH] Revert "Page header should be wrote by toml style #36" This reverts commit 5b5a681f5a343da12acd055297f61ab17fae0471. --- archetypes/default.md | 12 ++++++------ exampleSite/content/blog/emoji-support.md | 10 +++++----- exampleSite/content/blog/markdown-syntax.md | 10 +++++----- exampleSite/content/blog/math-typesetting.mmark | 10 +++++----- exampleSite/content/blog/placeholder-text.md | 10 +++++----- exampleSite/content/blog/rich-content.md | 10 +++++----- 6 files changed, 31 insertions(+), 31 deletions(-) diff --git a/archetypes/default.md b/archetypes/default.md index 3ffd70e..67a0a2a 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,6 +1,6 @@ -+++ -title = "{{ replace .TranslationBaseName "-" " " | title }}" -date = "{{ dateFormat "2006-01-02T15:04:05Z07:00" .Date }}" -draft = true -images = [] -+++ +--- +title: "{{ replace .TranslationBaseName "-" " " | title }}" +date: {{ dateFormat "2006-01-02T15:04:05Z07:00" .Date }} +draft: true +images: [] +--- diff --git a/exampleSite/content/blog/emoji-support.md b/exampleSite/content/blog/emoji-support.md index c258c58..2d3d29c 100644 --- a/exampleSite/content/blog/emoji-support.md +++ b/exampleSite/content/blog/emoji-support.md @@ -1,8 +1,8 @@ -+++ -title = "Emoji Support" -date = "2019-03-05" -draft = false -+++ +--- +title: "Emoji Support" +date: 2019-03-05 +draft: false +--- Emoji can be enabled in a Hugo project in a number of ways. diff --git a/exampleSite/content/blog/markdown-syntax.md b/exampleSite/content/blog/markdown-syntax.md index 8afce05..1500a78 100644 --- a/exampleSite/content/blog/markdown-syntax.md +++ b/exampleSite/content/blog/markdown-syntax.md @@ -1,8 +1,8 @@ -+++ -title = "Markdown Syntax Guide" -date = "2019-03-11" -draft = false -+++ +--- +title: "Markdown Syntax Guide" +date: 2019-03-11 +draft: false +--- 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. diff --git a/exampleSite/content/blog/math-typesetting.mmark b/exampleSite/content/blog/math-typesetting.mmark index 3ad6343..feed52a 100644 --- a/exampleSite/content/blog/math-typesetting.mmark +++ b/exampleSite/content/blog/math-typesetting.mmark @@ -1,8 +1,8 @@ -+++ -title = "Math Typesetting" -date = "2019-03-08" -draft = false -+++ +--- +title: "Math Typesetting" +date: 2019-03-08 +draft: false +--- Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries. diff --git a/exampleSite/content/blog/placeholder-text.md b/exampleSite/content/blog/placeholder-text.md index 30bb40a..b3c285a 100644 --- a/exampleSite/content/blog/placeholder-text.md +++ b/exampleSite/content/blog/placeholder-text.md @@ -1,8 +1,8 @@ -+++ -title = "Placeholder Text" -date = "2019-03-09" -draft = false -+++ +--- +title: "Placeholder Text" +date: 2019-03-09 +draft: false +--- ## Mole et vultus populifer quaque primoque non diff --git a/exampleSite/content/blog/rich-content.md b/exampleSite/content/blog/rich-content.md index 4b9c188..f3e4c80 100644 --- a/exampleSite/content/blog/rich-content.md +++ b/exampleSite/content/blog/rich-content.md @@ -1,8 +1,8 @@ -+++ -title = "Rich Content" -date = "2019-03-10" -draft = false -+++ +--- +title: "Rich Content" +date: 2019-03-10 +draft: false +--- 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.