1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

Converting front matter to YAML

This commit is contained in:
spf13
2014-05-29 18:42:05 -04:00
parent 2b90779f0f
commit 05875153bc
66 changed files with 625 additions and 560 deletions

View File

@@ -1,16 +1,16 @@
---
title: "Aliases"
date: "2013-07-09"
aliases:
- /doc/redirects/
- /doc/alias/
- /doc/aliases/
weight: 10
- /doc/redirects/
- /doc/alias/
- /doc/aliases/
date: 2013-07-09
menu:
main:
parent: 'extras'
prev: "/taxonomies/ordering"
next: "/extras/builders"
parent: extras
next: /extras/builders
prev: /taxonomies/ordering
title: Aliases
weight: 10
---
For people migrating existing published content to Hugo theres a good chance

View File

@@ -1,13 +1,13 @@
---
title: "Hugo Builders"
linktitle: "Builders"
date: "2014-05-26"
weight: 12
date: 2014-05-26
linktitle: Builders
menu:
main:
parent: 'extras'
prev: "/extras/aliases"
next: "/extras/comments"
parent: extras
next: /extras/comments
prev: /extras/aliases
title: Hugo Builders
weight: 12
---
Hugo provides the functionality to quickly get a site, theme or page

View File

@@ -1,13 +1,13 @@
---
title: "Comments in Hugo"
linktitle: "Comments"
date: "2014-05-26"
weight: 14
date: 2014-05-26
linktitle: Comments
menu:
main:
parent: 'extras'
prev: "/extras/builders"
next: "/extras/livereload"
parent: extras
next: /extras/livereload
prev: /extras/builders
title: Comments in Hugo
weight: 14
---
As Hugo is a static site generator, the content produced is static and

View File

@@ -1,12 +1,12 @@
---
title: "Syntax Highlighting"
date: "2013-07-01"
weight: 50
date: 2013-07-01
menu:
main:
parent: 'extras'
prev: "/extras/shortcodes"
next: "/extras/toc"
parent: extras
next: /extras/toc
prev: /extras/shortcodes
title: Syntax Highlighting
weight: 50
---
Hugo provides the ability for you to highlight source code in two different

View File

@@ -1,12 +1,12 @@
---
title: "Live Reload"
date: "2014-05-26"
weight: 15
date: 2014-05-26
menu:
main:
parent: 'extras'
prev: "/extras/comments"
next: "/extras/menus"
parent: extras
next: /extras/menus
prev: /extras/comments
title: Live Reload
weight: 15
---
Hugo may not be the first static site generator to utilize live reload

View File

@@ -1,13 +1,13 @@
+++
title = "Menus"
weight = 20
prev = "/extras/livereload"
next = "/extras/permalinks"
date = 2014-05-14T02:36:37Z
[menu]
[menu.main]
parent = "extras"
+++
---
date: 2014-05-14T02:36:37Z
menu:
main:
parent: extras
next: /extras/permalinks
prev: /extras/livereload
title: Menus
weight: 20
---
Hugo has a simple yet powerful menu system that permits content to be
placed in menus with a good degree of control without a lot of work.

View File

@@ -1,15 +1,15 @@
---
title: "Permalinks"
date: "2013-11-18"
aliases:
- "/doc/permalinks/"
weight: 30
notoc: true
- /doc/permalinks/
date: 2013-11-18
menu:
main:
parent: 'extras'
prev: "/extras/menus"
next: "/extras/shortcodes"
parent: extras
next: /extras/shortcodes
notoc: true
prev: /extras/menus
title: Permalinks
weight: 30
---
By default, content is laid out into the target `publishdir` (public)

View File

@@ -1,13 +1,14 @@
---
title: "Shortcodes"
date: "2013-07-01"
aliases: ["/doc/shortcodes/"]
weight: 40
aliases:
- /doc/shortcodes/
date: 2013-07-01
menu:
main:
parent: 'extras'
prev: "/extras/permalinks"
next: "/extras/highlighting"
parent: extras
next: /extras/highlighting
prev: /extras/permalinks
title: Shortcodes
weight: 40
---
Because Hugo uses markdown for its simple content format, however there's a lot

View File

@@ -1,12 +1,12 @@
---
title: "Table of Contents"
date: "2013-07-09"
weight: 60
date: 2013-07-09
menu:
main:
parent: 'extras'
prev: "/extras/highlighting"
next: "/extras/urls"
parent: extras
next: /extras/urls
prev: /extras/highlighting
title: Table of Contents
weight: 60
---
Hugo will automatically parse the markdown for your content and create

View File

@@ -1,15 +1,15 @@
---
title: "URLs"
date: "2014-01-03"
aliases:
- "/doc/urls/"
weight: 70
notoc: true
- /doc/urls/
date: 2014-01-03
menu:
main:
parent: 'extras'
prev: "/extras/toc"
next: "/community/mailing-list"
parent: extras
next: /community/mailing-list
notoc: true
prev: /extras/toc
title: URLs
weight: 70
---
## Pretty Urls