diff options
author | spf13 <steve.francia@gmail.com> | 2014-05-29 18:42:05 -0400 |
---|---|---|
committer | spf13 <steve.francia@gmail.com> | 2014-05-29 18:45:22 -0400 |
commit | 05875153bcc56e9ee25532e9afd5a575a3e95938 (patch) | |
tree | 427e29840d74a74122d5d5d2b12554d4eb654592 | |
parent | 2b90779f0fe5dc9a852a840ec8f00d9ecdfc2413 (diff) |
Converting front matter to YAMLv0.11
66 files changed, 625 insertions, 560 deletions
diff --git a/docs/content/community/contributing.md b/docs/content/community/contributing.md index 491a71658..7945e8b03 100644 --- a/docs/content/community/contributing.md +++ b/docs/content/community/contributing.md @@ -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 diff --git a/docs/content/community/mailing-list.md b/docs/content/community/mailing-list.md index cc9debac7..02cb451f2 100644 --- a/docs/content/community/mailing-list.md +++ b/docs/content/community/mailing-list.md @@ -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: diff --git a/docs/content/community/press.md b/docs/content/community/press.md index 207ebd0ab..00ee0c09d 100644 --- a/docs/content/community/press.md +++ b/docs/content/community/press.md @@ -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. diff --git a/docs/content/content/archetypes.md b/docs/content/content/archetypes.md index 59287db9b..9004542ef 100644 --- a/docs/content/content/archetypes.md +++ b/docs/content/content/archetypes.md @@ -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 diff --git a/docs/content/content/example.md b/docs/content/content/example.md index fb9421af7..d4934871c 100644 --- a/docs/content/content/example.md +++ b/docs/content/content/example.md @@ -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: diff --git a/docs/content/content/front-matter.md b/docs/content/content/front-matter.md index 031927967..329519d79 100644 --- a/docs/content/content/front-matter.md +++ b/docs/content/content/front-matter.md @@ -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 diff --git a/docs/content/content/ordering.md b/docs/content/content/ordering.md index 81fcf0e77..dd70a7417 100644 --- a/docs/content/content/ordering.md +++ b/docs/content/content/ordering.md @@ -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. diff --git a/docs/content/content/organization.md b/docs/content/content/organization.md index 8f1544867..7c93adaaf 100644 --- a/docs/content/content/organization.md +++ b/docs/content/content/organization.md @@ -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 diff --git a/docs/content/content/sections.md b/docs/content/content/sections.md index 94bb02894..261faa89b 100644 --- a/docs/content/content/sections.md +++ b/docs/content/content/sections.md @@ -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 diff --git a/docs/content/content/types.md b/docs/content/content/types.md index 563e6f7cb..2e8a3c8ce 100644 --- a/docs/content/content/types.md +++ b/docs/content/content/types.md @@ -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 diff --git a/docs/content/extras/aliases.md b/docs/content/extras/aliases.md index 122e9981c..0bf0e6c29 100644 --- a/docs/content/extras/aliases.md +++ b/docs/content/extras/aliases.md @@ -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 diff --git a/docs/content/extras/builders.md b/docs/content/extras/builders.md index 4fdae9418..981671f8e 100644 --- a/docs/content/extras/builders.md +++ b/docs/content/extras/builders.md @@ -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 diff --git a/docs/content/extras/comments.md b/docs/content/extras/comments.md index 3ff95134b..a0f881c51 100644 --- a/docs/content/extras/comments.md +++ b/docs/content/extras/comments.md @@ -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 diff --git a/docs/content/extras/highlighting.md b/docs/content/extras/highlighting.md index de9812d00..c568fd01f 100644 --- a/docs/content/extras/highlighting.md +++ b/docs/content/extras/highlighting.md @@ -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 diff --git a/docs/content/extras/livereload.md b/docs/content/extras/livereload.md index ee2a586b7..aded2d093 100644 --- a/docs/content/extras/livereload.md +++ b/docs/content/extras/livereload.md @@ -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 si |