Skip to content

Commit

Permalink
Page header should be wrote by toml style #36
Browse files Browse the repository at this point in the history
  • Loading branch information
koirand committed Mar 30, 2019
1 parent 99d1d0b commit 5b5a681
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 31 deletions.
12 changes: 6 additions & 6 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -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 = []
+++
10 changes: 5 additions & 5 deletions exampleSite/content/blog/emoji-support.md
Original file line number Diff line number Diff line change
@@ -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-->
Expand Down
10 changes: 5 additions & 5 deletions exampleSite/content/blog/markdown-syntax.md
Original file line number Diff line number Diff line change
@@ -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-->
Expand Down
10 changes: 5 additions & 5 deletions exampleSite/content/blog/math-typesetting.mmark
Original file line number Diff line number Diff line change
@@ -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-->
Expand Down
10 changes: 5 additions & 5 deletions exampleSite/content/blog/placeholder-text.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
10 changes: 5 additions & 5 deletions exampleSite/content/blog/rich-content.md
Original file line number Diff line number Diff line change
@@ -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-->
Expand Down

0 comments on commit 5b5a681

Please sign in to comment.