Revise order of variables pages in site navigation

This commit is contained in:
Ryan Watters 2017-02-20 02:28:32 -06:00
parent c184c68540
commit 5860bf1bcf
11 changed files with 26 additions and 59 deletions

View File

@ -12,10 +12,10 @@ draft: false
slug:
aliases: [/content-management/sections,/content/sections/]
toc: true
notesforauthors:
needsreview: true
---
Hugo uses files (see [supported content formats][]) with headers called [front matter][]. By default, Hugo assumes the same structure that works to organize your content is used to organize the rendered site. This is done in an effort to reduce configuration. However, this convention can be overridden through additional configuration in the front matter, as well as through Hugo's extensive features related to [URL management][].
Hugo uses files (see [supported content formats][]) with headers called [front matter][]. By default, Hugo assumes the same structure that works to organize your content should be used to organize your rendered website. This is done in an effort to reduce configuration. However, this convention can be overridden through additional configuration in the front matter, as well as through Hugo's extensive features related to [URL management][].
## Organizing Source Content

View File

@ -5,16 +5,12 @@ description: Page-, file-, taxonomy-, and site-level variables and parameters av
date: 2017-02-01
publishdate: 2017-02-01
lastmod: 2017-02-01
weight: 01
categories: [variables and params]
tags: [files]
draft: false
slug:
weight: 01
aliases: [/templates/variables/]
toc: false
hidesectioncontents: false
notesforauthors:
needsreview: true
---
Content for the Variables and Params Section

View File

@ -5,11 +5,10 @@ description:
date: 2017-02-01
publishdate: 2017-02-01
lastmod: 2017-02-01
weight:
categories: [variables and params]
tags: [files]
draft: false
slug:
weight: 40
aliases: []
toc: false
needsreview: true

View File

@ -1,16 +0,0 @@
---
title: Git Variables
linktitle:
description:
date: 2017-02-01
publishdate: 2017-02-01
lastmod: 2017-02-01
weight:
categories: [variables and params]
tags: [git]
draft: false
slug:
aliases: []
toc: false
notesforauthors:
---

View File

@ -5,10 +5,10 @@ description:
date: 2017-02-01
publishdate: 2017-02-01
lastmod: 2017-02-01
weight:
categories: [variables and params]
tags: [pages]
draft: false
weight: 20
aliases: []
toc: false
needsreview: true

View File

@ -1,20 +1,26 @@
---
title: Hugo Variables
linktitle:
title: Shortcode, Git, and Hugo Variables
linktitle: Shortcode, Git, and Hugo Variables
description:
date: 2017-02-01
publishdate: 2017-02-01
lastmod: 2017-02-01
weight:
categories: [variables and params]
tags: [hugo]
tags: [shortcodes,git]
draft: false
slug:
weight: 50
aliases: []
toc: false
needsreview: true
notesforauthors:
---
## Shortcodes
`.Parent` (reference to nested shortcodes paragraph in /shortcodes/)
`.IsNamedParams` (reference to shortcodes)
`.Inner`
## Hugo Variables
Also available is `.Hugo` which has the following:
@ -22,4 +28,5 @@ Also available is `.Hugo` which has the following:
**.Hugo.Generator** Meta tag for the version of Hugo that generated the site. Highly recommended to be included by default in all theme headers so we can start to track the usage and popularity of Hugo. Unlike other variables it outputs a **complete** HTML tag, e.g. `<meta name="generator" content="Hugo 0.15" />`<br>
**.Hugo.Version** The current version of the Hugo binary you are using e.g. `0.13-DEV`<br>
**.Hugo.CommitHash** The git commit hash of the current Hugo binary e.g. `0e8bed9ccffba0df554728b46c5bbf6d78ae5247`<br>
**.Hugo.BuildDate** The compile date of the current Hugo binary formatted with RFC 3339 e.g. `2002-10-02T10:00:00-05:00`<br>
**.Hugo.BuildDate** The compile date of the current Hugo binary formatted with RFC 3339 e.g. `2002-10-02T10:00:00-05:00`<br>

View File

@ -1,19 +0,0 @@
---
title: Shortcode Variables
linktitle: Shortcode Variables
description:
date: 2017-02-01
publishdate: 2017-02-01
lastmod: 2017-02-01
categories: [variables and params]
tags: [shortcodes]
draft: false
slug:
aliases: []
toc: false
needsreview: true
notesforauthors:
---
`.Parent` (reference to nested shortcodes paragraph in /shortcodes/)
`.IsNamedParams` (reference to shortcodes)

View File

@ -5,11 +5,10 @@ description:
date: 2017-02-01
publishdate: 2017-02-01
lastmod: 2017-02-01
weight:
categories: [variables and params]
tags: [global,site]
draft: false
slug:
weight: 10
aliases: []
toc: false
notesforauthors:

View File

@ -5,11 +5,10 @@ description:
date: 2017-02-01
publishdate: 2017-02-01
lastmod: 2017-02-01
weight:
categories: [variables and params]
tags: [taxonomies,terms]
draft: false
slug:
weight: 30
aliases: []
toc: false
needsreview: true

File diff suppressed because one or more lines are too long

View File

@ -40,8 +40,7 @@
}
li {
padding-left: 0px;
// text-indent: -1em;
line-height: 1;
line-height: 1.2;
margin-top: .66em;
margin-bottom: .66em;
ul li {
@ -68,6 +67,9 @@
display: none;
margin-left: .4em;
padding-left: .5em;
li {
line-height:1.1;
}
a.submenu-item-link {
font-size: 14px;
&:hover {