Merge pull request #37 from koirand/fix-page-header

Page header should be wrote by toml style
Close #36
This commit is contained in:
Kazuki Koide 2019-03-30 23:20:06 +09:00 committed by GitHub
commit 008e31edad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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-->