From 5b5a681f5a343da12acd055297f61ab17fae0471 Mon Sep 17 00:00:00 2001 From: koirand Date: Sat, 30 Mar 2019 23:19:25 +0900 Subject: [PATCH] Page header should be wrote by toml style #36 --- 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 67a0a2a..3ffd70e 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 2d3d29c..c258c58 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 1500a78..8afce05 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 feed52a..3ad6343 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 b3c285a..30bb40a 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 f3e4c80..4b9c188 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.