Page header should be wrote by toml style #36

This commit is contained in:
koirand 2019-03-30 23:19:25 +09:00
parent 99d1d0b771
commit 5b5a681f5a
6 changed files with 31 additions and 31 deletions

View file

@ -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 = []
+++

View file

@ -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.
<!--more-->

View file

@ -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.
<!--more-->

View file

@ -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.
<!--more-->

View file

@ -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

View file

@ -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.
<!--more-->