Browse Source

Frontmatter for pages and posts

library
parent
commit
20a27ff859
  1. 12
      archetypes/default.md
  2. 13
      content/blog/hello-world.md
  3. 7
      content/colophon.md
  4. 0
      content/colophon/_index.md
  5. 6
      content/consulting.md
  6. 0
      content/consulting/_index.md

12
archetypes/default.md

@ -1,6 +1,8 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---
+++
title = "{{ replace .Name "-" " " | title }}"
date = "{{ .Date }}"
showthedate = true
draft = true
tags = []
+++

13
content/blog/hello-world.md

@ -1,8 +1,9 @@
---
title: "Hello World"
date: 2018-07-09T11:17:48-06:00
draft: false
tags: [ 'first' ]
---
+++
title = "Hello World"
date = "2018-07-09T11:17:48-06:00"
draft = false
tags = [ 'first' ]
showthedate = true
+++
> Welcome to my website.

7
content/colophon.md

@ -0,0 +1,7 @@
+++
title = "Colophon"
date = "2018-07-18T13:31:48-06:00"
showthedate = false
+++
This page was made with Hugo.

0
content/colophon/_index.md

6
content/consulting.md

@ -0,0 +1,6 @@
+++
title = "Consulting Services"
showthedate = false
+++
I do consulting stuff too!

0
content/consulting/_index.md

Loading…
Cancel
Save