From 5003f7f7af21db953776c0cd7d672e957a1cc77e Mon Sep 17 00:00:00 2001 From: spf13 Date: Fri, 25 Oct 2013 18:42:46 -0400 Subject: [PATCH] Docs menu now powered by indexes.. converting some of the content to use this. --- docs/config.yaml | 1 + docs/content/overview/configuration.md | 3 +++ docs/content/overview/installing.md | 2 ++ docs/content/overview/quickstart.md | 3 +++ docs/content/overview/source-directory.md | 2 ++ docs/content/overview/usage.md | 2 ++ docs/layouts/chrome/header.html | 4 ++-- docs/layouts/chrome/menu.html | 12 ++++++------ 8 files changed, 21 insertions(+), 8 deletions(-) diff --git a/docs/config.yaml b/docs/config.yaml index ff2577f0b..7b57d5b6d 100644 --- a/docs/config.yaml +++ b/docs/config.yaml @@ -1,4 +1,5 @@ indexes: tag: 'tags' + group: 'groups' baseurl: 'http://hugo.spf13.com' ... diff --git a/docs/content/overview/configuration.md b/docs/content/overview/configuration.md index 84790fdab..7113c2581 100644 --- a/docs/content/overview/configuration.md +++ b/docs/content/overview/configuration.md @@ -2,6 +2,9 @@ title: "Configuring Hugo" date: "2013-07-01" aliases: ["/doc/configuration/"] +groups: ['gettingStarted'] +linktitle: "Configuration" +groups_weight: 20 --- 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 90456111d..721b66eb9 100644 --- a/docs/content/overview/installing.md +++ b/docs/content/overview/installing.md @@ -2,6 +2,8 @@ title: "Installing Hugo" date: "2013-07-01" aliases: ["/doc/installing/"] +groups: ['gettingStarted'] +groups_weight: 40 --- Hugo is written in GoLang with support for Windows, Linux, FreeBSD and OSX. diff --git a/docs/content/overview/quickstart.md b/docs/content/overview/quickstart.md index 6fdc589de..87fd465f1 100644 --- a/docs/content/overview/quickstart.md +++ b/docs/content/overview/quickstart.md @@ -1,6 +1,9 @@ --- title: "Hugo Quickstart Guide" date: "2013-07-01" +groups: ['gettingStarted'] +linktitle: "Quickstart" +groups_weight: 50 --- ## Step 1. Install Hugo diff --git a/docs/content/overview/source-directory.md b/docs/content/overview/source-directory.md index 12a703536..4b07cbd6f 100644 --- a/docs/content/overview/source-directory.md +++ b/docs/content/overview/source-directory.md @@ -2,6 +2,8 @@ title: "Source Directory Organization" date: "2013-07-01" aliases: ["/doc/source-directory/"] +groups: ['gettingStarted'] +groups_weight: 10 --- 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 e1ebe2243..23144b80b 100644 --- a/docs/content/overview/usage.md +++ b/docs/content/overview/usage.md @@ -2,6 +2,8 @@ title: "Using Hugo" date: "2013-07-01" aliases: ["/doc/usage/"] +groups: ['gettingStarted'] +groups_weight: 30 --- Make sure either hugo is in your path or provide a path to it. diff --git a/docs/layouts/chrome/header.html b/docs/layouts/chrome/header.html index 0fc8b2b82..07477d921 100644 --- a/docs/layouts/chrome/header.html +++ b/docs/layouts/chrome/header.html @@ -9,8 +9,8 @@
-
-
+
+

Hugo

A Fast and Flexible Static Site Generator built with love by spf13 and +