docs: Cleanup Extras menu ordering

This commit is contained in:
Cameron Moore 2016-12-11 18:55:36 -06:00 committed by Bjørn Erik Pedersen
parent aecabfcd4f
commit f8190777f2
18 changed files with 24 additions and 42 deletions

View file

@ -9,9 +9,8 @@ menu:
main: main:
parent: extras parent: extras
next: /extras/analytics next: /extras/analytics
prev: /taxonomies/ordering prev: /taxonomies/methods
title: Aliases title: Aliases
weight: 10
--- ---
For people migrating existing published content to Hugo, there's a good chance you need a mechanism to handle redirecting old URLs. For people migrating existing published content to Hugo, there's a good chance you need a mechanism to handle redirecting old URLs.
@ -101,4 +100,4 @@ You may customize this alias page by creating an alias.html template in the
layouts folder of your site. In this case, the data passed to the template is layouts folder of your site. In this case, the data passed to the template is
* Permalink - the link to the page being aliased * Permalink - the link to the page being aliased
* Page - the Page data for the page being aliased * Page - the Page data for the page being aliased

View file

@ -7,7 +7,6 @@ menu:
next: /extras/builders next: /extras/builders
prev: /extras/aliases prev: /extras/aliases
title: Analytics in Hugo title: Analytics in Hugo
weight: 15
--- ---
Hugo ships with prebuilt internal templates for Google Analytics tracking, including both synchronous and asynchronous tracking codes. Hugo ships with prebuilt internal templates for Google Analytics tracking, including both synchronous and asynchronous tracking codes.

View file

@ -8,7 +8,6 @@ menu:
next: /extras/comments next: /extras/comments
prev: /extras/analytics prev: /extras/analytics
title: Hugo Builders title: Hugo Builders
weight: 20
--- ---
Hugo provides the functionality to quickly get a site, theme or page Hugo provides the functionality to quickly get a site, theme or page

View file

@ -8,7 +8,6 @@ menu:
next: /extras/crossreferences next: /extras/crossreferences
prev: /extras/builders prev: /extras/builders
title: Comments in Hugo title: Comments in Hugo
weight: 30
--- ---
As Hugo is a static site generator, the content produced is static and doesnt interact with the users. The most common interaction people ask for is comment capability. As Hugo is a static site generator, the content produced is static and doesnt interact with the users. The most common interaction people ask for is comment capability.

View file

@ -4,11 +4,10 @@ date: 2014-11-25
menu: menu:
main: main:
parent: extras parent: extras
next: /extras/livereload next: /extras/robots-txt
prev: /extras/comments prev: /extras/comments
title: Cross-References title: Cross-References
toc: true toc: true
weight: 40
--- ---
Hugo makes it easy to link documents together with the `ref` and `relref` shortcodes. These shortcodes are also used to safely provide links to headings inside of your content, whether across documents or within a document. The only difference between `ref` and `relref` is whether the resulting URL is absolute (`http://1.com/about/`) or relative (`/about/`). Hugo makes it easy to link documents together with the `ref` and `relref` shortcodes. These shortcodes are also used to safely provide links to headings inside of your content, whether across documents or within a document. The only difference between `ref` and `relref` is whether the resulting URL is absolute (`http://1.com/about/`) or relative (`/about/`).

View file

@ -6,10 +6,9 @@ date: 2015-02-14
menu: menu:
main: main:
parent: extras parent: extras
next: /extras/highlighting next: /extras/gitinfo
prev: /extras/datafiles prev: /extras/datafiles
title: Data-driven Content title: Data-driven Content
weight: 91
toc: true toc: true
--- ---

View file

@ -7,9 +7,8 @@ menu:
main: main:
parent: extras parent: extras
next: /extras/datadrivencontent next: /extras/datadrivencontent
prev: /extras/scratch prev: /extras/robots-txt
title: Data Files title: Data Files
weight: 90
--- ---
In addition to the [built-in variables](/templates/variables/) available from Hugo, you can specify your own custom data that can be accessed via templates or shortcodes. In addition to the [built-in variables](/templates/variables/) available from Hugo, you can specify your own custom data that can be accessed via templates or shortcodes.

View file

@ -7,9 +7,8 @@ menu:
main: main:
parent: extras parent: extras
next: /extras/toc next: /extras/toc
prev: /extras/datadrivencontent prev: /extras/shortcodes
title: Syntax Highlighting title: Syntax Highlighting
weight: 90
toc: true toc: true
--- ---

View file

@ -5,9 +5,8 @@ menu:
main: main:
parent: extras parent: extras
next: /extras/menus next: /extras/menus
prev: /extras/crossreferences prev: /extras/gitinfo
title: LiveReload title: LiveReload
weight: 50
--- ---
Hugo may not be the first static site generator to utilize LiveReload Hugo may not be the first static site generator to utilize LiveReload

View file

@ -6,11 +6,10 @@ date: 2015-06-12
menu: menu:
main: main:
parent: extras parent: extras
next: /community/mailing-list next: /extras/urls
notoc: true notoc: true
prev: /extras/urls prev: /extras/toc
title: Traversing Local Files title: Traversing Local Files
weight: 110
--- ---
## Traversing Local Files ## Traversing Local Files

View file

@ -5,10 +5,9 @@ toc: true
menu: menu:
main: main:
parent: extras parent: extras
next: /extras/permalinks next: /extras/pagination
prev: /extras/livereload prev: /extras/livereload
title: Menus title: Menus
weight: 60
--- ---
Hugo has a simple yet powerful menu system that permits content to be Hugo has a simple yet powerful menu system that permits content to be

View file

@ -6,10 +6,9 @@ date: 2014-01-01
menu: menu:
main: main:
parent: extras parent: extras
next: /extras/scratch next: /extras/permalinks
prev: /extras/shortcodes prev: /extras/menus
title: Pagination title: Pagination
weight: 80
--- ---
Hugo supports pagination for the home page, sections and taxonomies. It's built to be easy use, but with loads of flexibility when needed. The real power shines when you combine it with [`where`](/templates/functions/), with its SQL-like operators, `first` and others --- you can even [order the content](/templates/list/) the way you've become used to with Hugo. Hugo supports pagination for the home page, sections and taxonomies. It's built to be easy use, but with loads of flexibility when needed. The real power shines when you combine it with [`where`](/templates/functions/), with its SQL-like operators, `first` and others --- you can even [order the content](/templates/list/) the way you've become used to with Hugo.

View file

@ -6,11 +6,10 @@ date: 2013-11-18
menu: menu:
main: main:
parent: extras parent: extras
next: /extras/shortcodes next: /extras/scratch
notoc: true notoc: true
prev: /extras/menus prev: /extras/pagination
title: Permalinks title: Permalinks
weight: 70
--- ---
By default, content is laid out into the target `publishdir` (public) By default, content is laid out into the target `publishdir` (public)

View file

@ -4,10 +4,9 @@ date: 2015-12-08
menu: menu:
main: main:
parent: extras parent: extras
next: /community/mailing-list next: /extras/datafiles
prev: /extras/urls prev: /extras/crossreferences
title: Custom robots.txt title: Custom robots.txt
weight: 120
--- ---
Hugo can generated a customized [robots.txt](http://www.robotstxt.org/) in the Hugo can generated a customized [robots.txt](http://www.robotstxt.org/) in the

View file

@ -6,10 +6,9 @@ date: 2015-01-22
menu: menu:
main: main:
parent: extras parent: extras
next: /extras/datafiles next: /extras/shortcodes
prev: /extras/pagination prev: /extras/permalinks
title: Scratch title: Scratch
weight: 80
--- ---
`Scratch` -- a "scratchpad" for your page-scoped variables. In most cases you can do well without `Scratch`, but there are some use cases that aren't solvable with Go's templates without `Scratch`'s help, due to scoping issues. `Scratch` -- a "scratchpad" for your page-scoped variables. In most cases you can do well without `Scratch`, but there are some use cases that aren't solvable with Go's templates without `Scratch`'s help, due to scoping issues.
@ -21,7 +20,7 @@ weight: 80
* `SetInMap` takes a `key`, `mapKey` and `value` * `SetInMap` takes a `key`, `mapKey` and `value`
* `GetSortedMapValues` returns array of values from `key` sorted by `mapKey` * `GetSortedMapValues` returns array of values from `key` sorted by `mapKey`
`Set` and `SetInMap` can store values of any type. `Set` and `SetInMap` can store values of any type.
For single values, `Add` accepts values that support Go's `+` operator. If the first `Add` for a key is an array or slice, the following adds will be appended to that list. For single values, `Add` accepts values that support Go's `+` operator. If the first `Add` for a key is an array or slice, the following adds will be appended to that list.

View file

@ -6,10 +6,9 @@ date: 2013-07-01
menu: menu:
main: main:
parent: extras parent: extras
next: /extras/pagination next: /extras/highlighting
prev: /extras/permalinks prev: /extras/scratch
title: Shortcodes title: Shortcodes
weight: 80
toc: false toc: false
--- ---

View file

@ -4,10 +4,9 @@ date: 2013-07-09
menu: menu:
main: main:
parent: extras parent: extras
next: /extras/urls next: /extras/localfiles
prev: /extras/highlighting prev: /extras/highlighting
title: Table of Contents title: Table of Contents
weight: 100
--- ---
Hugo will automatically parse the Markdown for your content and create Hugo will automatically parse the Markdown for your content and create

View file

@ -6,11 +6,10 @@ date: 2014-01-03
menu: menu:
main: main:
parent: extras parent: extras
next: /extras/robots-txt next: /community/mailing-list
notoc: true notoc: true
prev: /extras/toc prev: /extras/localfiles
title: URLs title: URLs
weight: 110
--- ---
## Pretty URLs ## Pretty URLs