Skip to content

Commit

Permalink
Converting front matter to YAML
Browse files Browse the repository at this point in the history
  • Loading branch information
spf13 committed May 29, 2014
1 parent 2b90779 commit 0587515
Show file tree
Hide file tree
Showing 66 changed files with 625 additions and 560 deletions.
16 changes: 9 additions & 7 deletions docs/content/community/contributing.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
---
title: "Contributing to Hugo"
date: "2013-07-01"
aliases: ["/doc/contributing/", "/meta/contributing/"]
weight: 30
aliases:
- /doc/contributing/
- /meta/contributing/
date: 2013-07-01
menu:
main:
parent: 'community'
prev: "/community/press"
next: "/tutorials/github_pages_blog"
parent: community
next: /tutorials/github_pages_blog
prev: /community/press
title: Contributing to Hugo
weight: 30
---

All contributions to Hugo are welcome. Whether you want to scratch an itch, or simply contribute to the project. Feel free to pick something from the roadmap
Expand Down
12 changes: 6 additions & 6 deletions docs/content/community/mailing-list.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: "Mailing List"
date: "2013-07-01"
weight: 10
date: 2013-07-01
menu:
main:
parent: 'community'
prev: "/extras/urls"
next: "/community/press"
parent: community
next: /community/press
prev: /extras/urls
title: Mailing List
weight: 10
---

Hugo has two mailing lists:
Expand Down
23 changes: 12 additions & 11 deletions docs/content/community/press.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
+++
title = "Press, Blogs and Media Coverage"
date = 2014-03-24T20:00:00Z
linktitle = "Press"
weight = 20
notoc = true
prev = "/community/mailing-list"
next = "/community/contributing"
[menu.main]
parent = "community"
+++
---
date: 2014-03-24T20:00:00Z
linktitle: Press
menu:
main:
parent: community
next: /community/contributing
notoc: true
prev: /community/mailing-list
title: Press, Blogs and Media Coverage
weight: 20
---

Hugo has been featured in the following Blog Posts, Press and Media.

Expand Down
21 changes: 10 additions & 11 deletions docs/content/content/archetypes.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
+++
title = "Archetypes"
date = 2014-05-14T02:13:50Z
weight = 50
prev = "/content/types"
next = "/content/ordering"

[menu]
[menu.main]
parent = "content"
+++
---
date: 2014-05-14T02:13:50Z
menu:
main:
parent: content
next: /content/ordering
prev: /content/types
title: Archetypes
weight: 50
---

Hugo v0.11 introduced the concept of a content builder. Using the
command: `hugo new [relative new content path]` you can start a content file
Expand Down
19 changes: 10 additions & 9 deletions docs/content/content/example.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
---
title: "Example Content File"
date: "2013-07-01"
aliases: ["/doc/example/"]
linktitle: "Example"
aliases:
- /doc/example/
date: 2013-07-01
linktitle: Example
menu:
main:
parent: 'content'
weight: 70
main:
parent: content
next: /themes/overview
notoc: true
prev: '/content/ordering'
next: '/themes/overview'
prev: /content/ordering
title: Example Content File
weight: 70
---

Somethings are better shown than explained. The following is a very basic example of a content file:
Expand Down
24 changes: 12 additions & 12 deletions docs/content/content/front-matter.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
+++
title = "Front Matter"
date = "2013-07-01"
aliases = ["/doc/front-matter/"]
weight = 20
prev = "/content/organization"
next = "/content/sections"

[menu.main]
parent = "content"

+++
---
aliases:
- /doc/front-matter/
date: 2013-07-01
menu:
main:
parent: content
next: /content/sections
prev: /content/organization
title: Front Matter
weight: 20
---

The front matter is one of the features that gives Hugo its strength. It enables
you to include the meta data of the content right with it. Hugo supports a few
Expand Down
12 changes: 6 additions & 6 deletions docs/content/content/ordering.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: "Ordering Content"
date: "2014-03-06"
linktitle: "Ordering"
date: 2014-03-06
linktitle: Ordering
menu:
main:
parent: "content"
parent: content
next: /content/example
prev: /content/archetypes
title: Ordering Content
weight: 60
prev: '/content/archetypes'
next: '/content/example'
---

Hugo provides you with all the flexibility you need to organize how your content is ordered.
Expand Down
17 changes: 9 additions & 8 deletions docs/content/content/organization.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
title: "Content Organization"
date: "2013-07-01"
aliases: ["/doc/organization/"]
linktitle: "Organization"
weight: 10
aliases:
- /doc/organization/
date: 2013-07-01
linktitle: Organization
menu:
main:
parent: 'content'
prev: '/overview/source-directory'
next: '/content/front-matter'
parent: content
next: /content/front-matter
prev: /overview/source-directory
title: Content Organization
weight: 10
---

Hugo uses markdown files with headers commonly called the front matter. Hugo
Expand Down
14 changes: 7 additions & 7 deletions docs/content/content/sections.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: "Sections"
date: "2013-07-01"
date: 2013-07-01
menu:
main:
parent: 'content'
weight: 30
main:
parent: content
next: /content/types
notoc: true
prev: '/content/front-matter'
next: '/content/types'
prev: /content/front-matter
title: Sections
weight: 30
---

Hugo thinks that you organize your content with a purpose. The same structure
Expand Down
14 changes: 7 additions & 7 deletions docs/content/content/types.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: "Content Types"
date: "2013-07-01"
linktitle: "Types"
date: 2013-07-01
linktitle: Types
menu:
main:
parent: 'content'
main:
parent: content
next: /content/archetypes
prev: /content/sections
title: Content Types
weight: 40
prev: '/content/sections'
next: '/content/archetypes'
---

Hugo has full support for different types of content. A content type can have a
Expand Down
18 changes: 9 additions & 9 deletions docs/content/extras/aliases.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
14 changes: 7 additions & 7 deletions docs/content/extras/builders.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
14 changes: 7 additions & 7 deletions docs/content/extras/comments.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
12 changes: 6 additions & 6 deletions docs/content/extras/highlighting.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
12 changes: 6 additions & 6 deletions docs/content/extras/livereload.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
20 changes: 10 additions & 10 deletions docs/content/extras/menus.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
16 changes: 8 additions & 8 deletions docs/content/extras/permalinks.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
Loading

0 comments on commit 0587515

Please sign in to comment.