diff --git a/docs/content/community/contributing.md b/docs/content/community/contributing.md index 1de03b48d..909c44471 100644 --- a/docs/content/community/contributing.md +++ b/docs/content/community/contributing.md @@ -2,8 +2,10 @@ title: "Contributing to Hugo" date: "2013-07-01" aliases: ["/doc/contributing/", "/meta/contributing/"] -groups: ["community"] -groups_weight: 30 +weight: 30 +menu: + main: + parent: 'community' --- We welcome all contributions. Feel free to pick something from the roadmap diff --git a/docs/content/community/contributors.md b/docs/content/community/contributors.md index 1cc8b0cf4..316c35d7a 100644 --- a/docs/content/community/contributors.md +++ b/docs/content/community/contributors.md @@ -2,9 +2,11 @@ title: "Contributors" date: "2013-07-01" aliases: ["/doc/contributors/", "/meta/contributors/"] -groups: ["community"] -groups_weight: 40 +weight: 40 notoc: true +menu: + main: + parent: 'community' --- Hugo was built with love and Go by: diff --git a/docs/content/community/mailing-list.md b/docs/content/community/mailing-list.md index c3867b856..6a9dc813f 100644 --- a/docs/content/community/mailing-list.md +++ b/docs/content/community/mailing-list.md @@ -1,8 +1,10 @@ --- title: "Mailing List" date: "2013-07-01" -groups: ["community"] -groups_weight: 10 +weight: 10 +menu: + main: + parent: 'community' --- Hugo has two mailing lists: diff --git a/docs/content/community/press.md b/docs/content/community/press.md index ac2beba4e..c778e4e9c 100644 --- a/docs/content/community/press.md +++ b/docs/content/community/press.md @@ -2,9 +2,10 @@ title = "Press, Blogs and Media Coverage" date = 2014-03-24T20:00:00Z linktitle = "Press" -groups = ["community"] -groups_weight = 20 +weight = 20 notoc = true +[menu.main] + parent = "community" +++ Hugo has been featured in the following Blog Posts, Press and Media. diff --git a/docs/content/content/example.md b/docs/content/content/example.md index b012cd67d..03487f4c5 100644 --- a/docs/content/content/example.md +++ b/docs/content/content/example.md @@ -3,8 +3,10 @@ title: "Example Content File" date: "2013-07-01" aliases: ["/doc/example/"] linktitle: "Example" -groups: ['content'] -groups_weight: 50 +menu: + main: + parent: 'content' +weight: 50 notoc: true --- diff --git a/docs/content/content/front-matter.md b/docs/content/content/front-matter.md index 22b0a40df..fd600f720 100644 --- a/docs/content/content/front-matter.md +++ b/docs/content/content/front-matter.md @@ -2,8 +2,10 @@ title = "Front Matter" date = "2013-07-01" aliases = ["/doc/front-matter/"] -groups = ["content"] -groups_weight = 40 +weight = 40 + +[menu.main] + parent = "content" +++ The front matter is one of the features that gives Hugo its strength. It enables diff --git a/docs/content/content/ordering.md b/docs/content/content/ordering.md index 844ff73d0..93a66441d 100644 --- a/docs/content/content/ordering.md +++ b/docs/content/content/ordering.md @@ -2,8 +2,10 @@ title: "Ordering Content" date: "2014-03-06" linktitle: "Ordering" -groups: ['content'] -groups_weight: 60 +menu: + main: + parent: "content" +weight: 60 --- In Hugo you have a good degree of control of how your content can be ordered. diff --git a/docs/content/content/organization.md b/docs/content/content/organization.md index 61ea0a0a4..832edc557 100644 --- a/docs/content/content/organization.md +++ b/docs/content/content/organization.md @@ -3,8 +3,10 @@ title: "Content Organization" date: "2013-07-01" aliases: ["/doc/organization/"] linktitle: "Organization" -groups: ['content'] -groups_weight: 10 +weight: 10 +menu: + main: + parent: 'content' --- Hugo uses markdown files with headers commonly called the front matter. Hugo respects the organization diff --git a/docs/content/content/sections.md b/docs/content/content/sections.md index dfda7f27e..ea9d75dd4 100644 --- a/docs/content/content/sections.md +++ b/docs/content/content/sections.md @@ -1,8 +1,10 @@ --- title: "Sections" date: "2013-07-01" -groups: ['content'] -groups_weight: 20 +menu: + main: + parent: 'content' +weight: 20 notoc: true --- diff --git a/docs/content/content/types.md b/docs/content/content/types.md index adc7919f4..72291d43a 100644 --- a/docs/content/content/types.md +++ b/docs/content/content/types.md @@ -2,8 +2,10 @@ title: "Content Types" date: "2013-07-01" linktitle: "Types" -groups: ['content'] -groups_weight: 30 +menu: + main: + parent: 'content' +weight: 30 --- Hugo has full support for multiple content types each with its own set diff --git a/docs/content/extras/aliases.md b/docs/content/extras/aliases.md index fc1390ba7..f96740018 100644 --- a/docs/content/extras/aliases.md +++ b/docs/content/extras/aliases.md @@ -5,8 +5,10 @@ aliases: - /doc/redirects/ - /doc/alias/ - /doc/aliases/ -groups: ["extras"] -groups_weight: 20 +weight: 20 +menu: + main: + parent: 'extras' --- For people migrating existing published content to Hugo theres a good chance diff --git a/docs/content/extras/highlighting.md b/docs/content/extras/highlighting.md index 743e69ff2..845d56437 100644 --- a/docs/content/extras/highlighting.md +++ b/docs/content/extras/highlighting.md @@ -1,8 +1,10 @@ --- title: "Highlighting" date: "2013-07-01" -groups: ["extras"] -groups_weight: 15 +weight: 15 +menu: + main: + parent: 'extras' --- Hugo provides the ability for you to highlight source code from within your diff --git a/docs/content/extras/permalinks.md b/docs/content/extras/permalinks.md index 08e7f3e2d..e36fb9d30 100644 --- a/docs/content/extras/permalinks.md +++ b/docs/content/extras/permalinks.md @@ -3,9 +3,11 @@ title: "Permalinks" date: "2013-11-18" aliases: - "/doc/permalinks/" -groups: ["extras"] -groups_weight: 30 +weight: 30 notoc: true +menu: + main: + parent: 'extras' --- By default, content is laid out into the target `publishdir` (public) diff --git a/docs/content/extras/shortcodes.md b/docs/content/extras/shortcodes.md index 7e2c548c7..fa26f4d0a 100644 --- a/docs/content/extras/shortcodes.md +++ b/docs/content/extras/shortcodes.md @@ -2,8 +2,10 @@ title: "Shortcodes" date: "2013-07-01" aliases: ["/doc/shortcodes/"] -groups: ["extras"] -groups_weight: 10 +weight: 10 +menu: + main: + parent: 'extras' --- Because Hugo uses markdown for its simple content format, however there's a lot diff --git a/docs/content/extras/toc.md b/docs/content/extras/toc.md index 1ca12b1ac..3b0b1a84d 100644 --- a/docs/content/extras/toc.md +++ b/docs/content/extras/toc.md @@ -1,8 +1,10 @@ --- title: "Table of Contents" date: "2013-07-09" -groups: ["extras"] -groups_weight: 70 +weight: 70 +menu: + main: + parent: 'extras' --- Hugo will automatically parse the markdown for your content and create diff --git a/docs/content/extras/urls.md b/docs/content/extras/urls.md index 87dce974a..87d91b07d 100644 --- a/docs/content/extras/urls.md +++ b/docs/content/extras/urls.md @@ -3,9 +3,11 @@ title: "URLs" date: "2014-01-03" aliases: - "/doc/urls/" -groups: ["extras"] -groups_weight: 40 +weight: 40 notoc: true +menu: + main: + parent: 'extras' --- ## Pretty Urls diff --git a/docs/content/indexes/displaying.md b/docs/content/indexes/displaying.md index 88596e995..2d2d2b712 100644 --- a/docs/content/indexes/displaying.md +++ b/docs/content/indexes/displaying.md @@ -1,9 +1,12 @@ --- -title: "Rendering Indexes" +title: "Rendering Taxonomies" date: "2013-07-01" linktitle: "Displaying" -groups: ["indexes"] -groups_weight: 20 +aliases: ["/indexes/displaying/"] +weight: 20 +menu: + main: + parent: 'taxonomy' --- ## Rendering index values assigned to this content diff --git a/docs/content/indexes/lists.md b/docs/content/indexes/lists.md index d5d9449ac..4a2607f32 100644 --- a/docs/content/indexes/lists.md +++ b/docs/content/indexes/lists.md @@ -1,10 +1,12 @@ --- -title: "Index Lists" +title: "Taxonomy Lists" date: "2013-07-01" -aliases: ["/doc/indexes/", "/extras/indexes"] +aliases: ["/indexes/lists/","/doc/indexes/", "/extras/indexes"] linktitle: "Lists" -groups: ["indexes"] -groups_weight: 40 +weight: 40 +menu: + main: + parent: 'taxonomy' --- An index list is a list of all the keys that are contained in the index. When a diff --git a/docs/content/indexes/ordering.md b/docs/content/indexes/ordering.md index 6311e68d8..80fae56dd 100644 --- a/docs/content/indexes/ordering.md +++ b/docs/content/indexes/ordering.md @@ -1,9 +1,12 @@ --- -title: "Ordering Indexes" +title: "Ordering Taxonomies" date: "2013-07-01" linktitle: "Ordering" -groups: ["indexes"] -groups_weight: 60 +aliases: ["/indexes/ordering/"] +weight: 60 +menu: + main: + parent: 'taxonomy' --- Hugo provides the ability to both: diff --git a/docs/content/indexes/overview.md b/docs/content/indexes/overview.md index 43543a3e2..4c579821d 100644 --- a/docs/content/indexes/overview.md +++ b/docs/content/indexes/overview.md @@ -1,10 +1,11 @@ --- -title: "Indexes" +title: "Taxonomy Overview" date: "2013-07-01" -aliases: ["/doc/indexes/", "/extras/indexes"] -linktitle: "Overview" -groups: ["indexes"] -groups_weight: 10 +aliases: ["/indexes/overview/","/doc/indexes/", "/extras/indexes"] +weight: 10 +menu: + main: + parent: 'taxonomy' --- Hugo includes support for user defined groupings of content called indexes. diff --git a/docs/content/indexes/templates.md b/docs/content/indexes/templates.md index 6181efb44..ed02b7a95 100644 --- a/docs/content/indexes/templates.md +++ b/docs/content/indexes/templates.md @@ -1,9 +1,12 @@ --- -title: "Index Templates" +title: "Taxonomy Templates" date: "2013-07-01" linktitle: "Templates" -groups: ["indexes"] -groups_weight: 30 +aliases: ["/indexes/templates/"] +weight: 30 +menu: + main: + parent: 'taxonomy' --- There are two different templates that the use of indexes will require you to provide. diff --git a/docs/content/layout/404.html b/docs/content/layout/404.md similarity index 94% rename from docs/content/layout/404.html rename to docs/content/layout/404.md index 9d54e0d14..f2e62a502 100644 --- a/docs/content/layout/404.html +++ b/docs/content/layout/404.md @@ -1,6 +1,10 @@ --- title: "404.html Templates" date: "2013-08-21" +notoc: true +menu: + main: + parent: 'layout' --- When using Hugo with [github pages](http://pages.github.com/) you can provide diff --git a/docs/content/layout/chrome.md b/docs/content/layout/chrome.md index 782e03dda..3b903c860 100644 --- a/docs/content/layout/chrome.md +++ b/docs/content/layout/chrome.md @@ -1,8 +1,10 @@ --- title: "Chrome Templates" date: "2013-07-01" -groups: ["layout"] -groups_weight: 80 +weight: 80 +menu: + main: + parent: 'layout' --- Chrome is a convention to create templates that are used by the other templates throughout the site. There is nothing special about the name "chrome", feel free diff --git a/docs/content/layout/content.md b/docs/content/layout/content.md index 7bf335e2a..f5efffedd 100644 --- a/docs/content/layout/content.md +++ b/docs/content/layout/content.md @@ -1,6 +1,9 @@ --- title: "Content Templates" date: "2013-07-01" +menu: + main: + parent: 'layout' --- Content templates are created in a directory matching the name of the content. diff --git a/docs/content/layout/functions.md b/docs/content/layout/functions.md index 061c19ef8..f9cb7f8e7 100644 --- a/docs/content/layout/functions.md +++ b/docs/content/layout/functions.md @@ -2,8 +2,10 @@ title: "Template Functions" date: "2013-07-01" linktitle: "Template Functions" -groups: ["layout"] -groups_weight: 70 +weight: 70 +menu: + main: + parent: 'layout' --- Hugo uses the excellent go html/template library for its template engine. diff --git a/docs/content/layout/go-templates.md b/docs/content/layout/go-templates.md index d50e5858c..b00e6851d 100644 --- a/docs/content/layout/go-templates.md +++ b/docs/content/layout/go-templates.md @@ -1,8 +1,10 @@ --- title: "Using Go Templates" date: "2013-07-01" -groups: ["layout"] -groups_weight: 15 +weight: 15 +menu: + main: + parent: 'layout' --- Hugo uses the excellent [go][] [html/template][gohtmltemplate] library for diff --git a/docs/content/layout/homepage.md b/docs/content/layout/homepage.md index b94f4aa1c..313814da0 100644 --- a/docs/content/layout/homepage.md +++ b/docs/content/layout/homepage.md @@ -1,9 +1,11 @@ --- title: "Homepage Templates" date: "2013-07-01" -groups: ["layout"] -groups_weight: 30 +weight: 30 notoc: true +menu: + main: + parent: 'layout' --- Home pages are of the type "node" and have all the [node diff --git a/docs/content/layout/indexes.md b/docs/content/layout/indexes.md index 6f012cd03..6dfe87c36 100644 --- a/docs/content/layout/indexes.md +++ b/docs/content/layout/indexes.md @@ -1,8 +1,10 @@ --- title: "Index Templates" date: "2013-07-01" -groups: ["layout"] -groups_weight: 50 +weight: 50 +menu: + main: + parent: 'layout' --- An index template is any template that will be used to render multiple pieces of diff --git a/docs/content/layout/rss.md b/docs/content/layout/rss.md index e4ab29e61..876da3d0b 100644 --- a/docs/content/layout/rss.md +++ b/docs/content/layout/rss.md @@ -1,9 +1,11 @@ --- title: "RSS (feed) Templates" date: "2013-07-01" -groups: ["layout"] -groups_weight: 40 +weight: 40 notoc: "one" +menu: + main: + parent: 'layout' --- A single RSS template is used to generate all of the RSS content for the entire diff --git a/docs/content/layout/templates.md b/docs/content/layout/templates.md index ca90d6120..ccfe908a3 100644 --- a/docs/content/layout/templates.md +++ b/docs/content/layout/templates.md @@ -3,8 +3,10 @@ title: "Hugo Templates" date: "2013-07-01" aliases: ["/doc/templates/"] linktitle: "Overview" -groups: ["layout"] -groups_weight: 10 +weight: 10 +menu: + main: + parent: 'layout' --- Hugo uses the excellent go html/template library for its template engine. diff --git a/docs/content/layout/variables.md b/docs/content/layout/variables.md index d269c026f..24c8b5da5 100644 --- a/docs/content/layout/variables.md +++ b/docs/content/layout/variables.md @@ -2,8 +2,10 @@ title: "Variables" date: "2013-07-01" aliases: ["/doc/variables/"] -groups: ["layout"] -groups_weight: 20 +weight: 20 +menu: + main: + parent: 'layout' --- Hugo makes a set of values available to the templates. Go templates are context based. The following diff --git a/docs/content/layout/views.md b/docs/content/layout/views.md index ae22211f9..43391c782 100644 --- a/docs/content/layout/views.md +++ b/docs/content/layout/views.md @@ -1,8 +1,10 @@ --- title: "Content Views" date: "2013-07-01" -groups: ["layout"] -groups_weight: 70 +weight: 70 +menu: + main: + parent: 'layout' --- In addition to the [single content view](/layout/content/), Hugo can render alternative views of diff --git a/docs/content/meta/license.md b/docs/content/meta/license.md index f4bfcccbd..e1aceacbd 100644 --- a/docs/content/meta/license.md +++ b/docs/content/meta/license.md @@ -2,8 +2,10 @@ title: "License" date: "2013-07-01" aliases: ["/doc/license/", "/license/"] -groups: ["meta"] -groups_weight: 50 +weight: 50 +menu: + right: + parent: 'meta' --- Hugo is released under the Simple Public License. diff --git a/docs/content/meta/release-notes.md b/docs/content/meta/release-notes.md index 091a503df..bd8fe1ade 100644 --- a/docs/content/meta/release-notes.md +++ b/docs/content/meta/release-notes.md @@ -2,8 +2,10 @@ title: "Release Notes" date: "2013-07-01" aliases: ["/doc/release-notes/"] -groups: ["meta"] -groups_weight: 10 +weight: 10 +menu: + right: + parent: 'meta' --- ## **0.10.0** March 1, 2014 * [Syntax highlighting](/extras/highlighting) powered by pygments (**slow**) diff --git a/docs/content/meta/roadmap.md b/docs/content/meta/roadmap.md index b5234f3cf..ddc3ba179 100644 --- a/docs/content/meta/roadmap.md +++ b/docs/content/meta/roadmap.md @@ -5,6 +5,9 @@ aliases: ["/doc/roadmap/"] groups: ["meta"] groups_weight: 20 notoc: true +menu: + right: + parent: 'meta' --- In no particular order, here is what we are working on: diff --git a/docs/content/overview/configuration.md b/docs/content/overview/configuration.md index f24ef9934..46c5190a3 100644 --- a/docs/content/overview/configuration.md +++ b/docs/content/overview/configuration.md @@ -2,10 +2,12 @@ title: "Configuring Hugo" date: "2013-07-01" aliases: ["/doc/configuration/"] -groups: ['gettingStarted'] linktitle: "Configuration" -groups_weight: 40 +weight: 40 notoc: true +menu: + main: + parent: 'getting started' --- The directory structure and templates provide the majority of the diff --git a/docs/content/overview/installing.md b/docs/content/overview/installing.md index a72de884e..dcf7d7ba7 100644 --- a/docs/content/overview/installing.md +++ b/docs/content/overview/installing.md @@ -2,8 +2,10 @@ title: "Installing Hugo" date: "2013-07-01" aliases: ["/doc/installing/"] -groups: ['gettingStarted'] -groups_weight: 20 +weight: 20 +menu: + main: + parent: 'getting started' --- Hugo is written in Go with support for Windows, Linux, FreeBSD and OSX. diff --git a/docs/content/overview/introduction.md b/docs/content/overview/introduction.md index 85367c8bc..08185fada 100644 --- a/docs/content/overview/introduction.md +++ b/docs/content/overview/introduction.md @@ -1,9 +1,11 @@ --- title: "Introduction to Hugo" date: "2013-07-01" -groups: ['gettingStarted'] linktitle: "Introduction" -groups_weight: 5 +weight: 5 +menu: + main: + parent: 'getting started' --- ## What is Hugo? diff --git a/docs/content/overview/quickstart.md b/docs/content/overview/quickstart.md index c221665d5..26e41b47a 100644 --- a/docs/content/overview/quickstart.md +++ b/docs/content/overview/quickstart.md @@ -1,9 +1,11 @@ --- title: "Hugo Quickstart Guide" date: "2013-07-01" -groups: ['gettingStarted'] linktitle: "Quickstart" -groups_weight: 10 +weight: 10 +menu: + main: + parent: 'getting started' --- ## Step 1. Install Hugo diff --git a/docs/content/overview/source-directory.md b/docs/content/overview/source-directory.md index 93df65136..28e4dee57 100644 --- a/docs/content/overview/source-directory.md +++ b/docs/content/overview/source-directory.md @@ -2,9 +2,11 @@ title: "Source Directory Organization" date: "2013-07-01" aliases: ["/doc/source-directory/"] -groups: ['gettingStarted'] -groups_weight: 50 +weight: 50 notoc: true +menu: + main: + parent: 'getting started' --- Hugo takes a single directory and uses it as the input for creating a complete website. diff --git a/docs/content/overview/usage.md b/docs/content/overview/usage.md index cb94669f5..1933f9408 100644 --- a/docs/content/overview/usage.md +++ b/docs/content/overview/usage.md @@ -2,9 +2,11 @@ title: "Using Hugo" date: "2013-07-01" aliases: ["/doc/usage/"] -groups: ['gettingStarted'] -groups_weight: 30 +weight: 30 notoc: true +menu: + main: + parent: 'getting started' --- Make sure either hugo is in your path or provide a path to it. diff --git a/docs/content/tutorials/github_pages_blog.md b/docs/content/tutorials/github_pages_blog.md index 5be9b5ce0..b9d77919c 100644 --- a/docs/content/tutorials/github_pages_blog.md +++ b/docs/content/tutorials/github_pages_blog.md @@ -1,9 +1,11 @@ --- title: "Hosting a Blog on GitHub Pages" date: "2014-03-21" -groups: ["tutorials"] -groups_weight: 10 +weight: 10 author: "Spencer Lyon" +menu: + main: + parent: 'tutorials' --- ## Intro diff --git a/docs/content/tutorials/mathjax.md b/docs/content/tutorials/mathjax.md index c0e204eb7..dc68a4901 100644 --- a/docs/content/tutorials/mathjax.md +++ b/docs/content/tutorials/mathjax.md @@ -1,9 +1,11 @@ --- title: "MathJax Support" date: "2014-03-20" -groups: ["tutorials"] -groups_weight: 10 +weight: 10 author: "Spencer Lyon" +menu: + main: + parent: 'tutorials' --- ## What is MathJax? diff --git a/docs/content/tutorials/migrate-from-jekyll.md b/docs/content/tutorials/migrate-from-jekyll.md index 14dd3ae77..a21ca8f49 100644 --- a/docs/content/tutorials/migrate-from-jekyll.md +++ b/docs/content/tutorials/migrate-from-jekyll.md @@ -1,8 +1,10 @@ --- title: "Migrate to Hugo from Jekyll" date: "2014-03-10" -groups: ["tutorials"] -groups_weight: 10 +weight: 10 +menu: + main: + parent: 'tutorials' --- ## Move static content to `static` diff --git a/docs/layouts/chrome/menu.html b/docs/layouts/chrome/menu.html index a20fdf070..14ee466d8 100644 --- a/docs/layouts/chrome/menu.html +++ b/docs/layouts/chrome/menu.html @@ -1,5 +1,3 @@ -