mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-26 16:28:52 +00:00
Change all overviews back to section titles on section list pages
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Overview
|
||||
title: About Hugo
|
||||
linktitle: Overview
|
||||
description: Hugo's features, roadmap, and license, as well as the motivation behind creating Hugo.
|
||||
date: 2017-02-01
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Overview
|
||||
title: Content Management
|
||||
linktitle: Overview
|
||||
description: Hugo makes managing large static sites easy with support for archetypes, content types, menus, cross references, summaries, and more.
|
||||
date: 2017-02-01
|
||||
|
||||
@@ -21,7 +21,7 @@ Hugo has a simple yet powerful menu system that permits content to be
|
||||
placed in menus with a good degree of control without a lot of work.
|
||||
|
||||
|
||||
*TIP:* If all you want is a simple menu for your sections, see [Section Menu for "the Lazy Blogger"]({{< relref "#section-menu-for-the-lazy-blogger" >}}).
|
||||
*TIP:* If all you want is a simple menu for your sections, see [Section Menu for "the Lazy Blogger"](#section-menu-for-the-lazy-blogger).
|
||||
|
||||
Some of the features of Hugo Menus:
|
||||
|
||||
@@ -36,7 +36,7 @@ A menu is a named array of menu entries accessible on the site under
|
||||
`.Site.Menus` by name. For example, if I have a menu called `main`, I would
|
||||
access it via `.Site.Menus.main`.
|
||||
|
||||
If you make use of the [multilingual feature]({{< relref "content/multilingual.md#menus">}}) you can define menus language independent.
|
||||
If you make use of the [multilingual feature](content-management/multilingual-mode/) you can define menus language independent.
|
||||
|
||||
A menu entry has the following properties:
|
||||
|
||||
@@ -200,7 +200,7 @@ The following is an example:
|
||||
</aside>
|
||||
<!--sidebar end-->
|
||||
|
||||
> **Note**: use the `absLangURL` or `relLangURL` if your theme makes use of the [multilingual feature]({{< relref "content/multilingual.md" >}}). In contrast to `absURL` and `relURL` it adds the correct language prefix to the url. [Read more]({{< relref "templates/functions.md#urls" >}}).
|
||||
> **Note**: use the `absLangURL` or `relLangURL` if your theme makes use of the [multilingual feature](/content-management/multilingual-mode/). In contrast to `absURL` and `relURL` it adds the correct language prefix to the url. [Read more](/functions/).
|
||||
|
||||
## Section Menu for "the Lazy Blogger"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Overview
|
||||
title: Contribute to Hugo
|
||||
linktitle: Overview
|
||||
description: Contribute to Hugo development and documentation.
|
||||
date: 2017-02-01
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Overview
|
||||
title: Developer Tools
|
||||
linktitle: Overview
|
||||
description: Description for the developer tools section.
|
||||
date: 2016-11-01
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Overview
|
||||
title: Functions
|
||||
linktitle: Overview
|
||||
description: Comprehensive list of Hugo templating functions, including basic and advanced usage examples.
|
||||
date: 2017-02-01
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Overview
|
||||
title: Getting Started
|
||||
linktitle: Overview
|
||||
description: Quick start and guides for installing Hugo on your preferred operating system.
|
||||
date: 2017-02-01
|
||||
|
||||
@@ -22,10 +22,10 @@ The latest release can be found at [Hugo Releases][releases].
|
||||
|
||||
Hugo currently provides pre-built binaries for the following:
|
||||
|
||||
* <i class="fa fa-apple"></i> OS X (Darwin) for x64, i386 and ARM architectures
|
||||
* <i class="fa fa-windows"></i> Windows,
|
||||
* <i class="fa fa-linux"></i> Linux,
|
||||
* <i class="icon-freebsd"></i> FreeBSD
|
||||
* <i class="fa fa-apple"></i> OS X (Darwin) for x64, i386 and ARM architectures
|
||||
|
||||
Hugo may also be compiled from source wherever the Go compiler tool chain can run---e.g., for other operating systems, including DragonFly BSD, OpenBSD, Plan 9 and Solaris. See <http://golang.org/doc/install/source> for the full set of supported combinations of target operating systems and compilation architectures.
|
||||
|
||||
@@ -72,7 +72,7 @@ You may run `go get` with the `-u` option to update Hugo's dependencies:
|
||||
go get -u -v github.com/spf13/hugo
|
||||
```
|
||||
|
||||
## Installing Hugo on OS X
|
||||
## <i class="fa fa-apple"></i> Installing Hugo on OS X
|
||||
|
||||
### Assumptions
|
||||
|
||||
@@ -293,7 +293,7 @@ go build -o hugo main.go
|
||||
|
||||
Then place the `hugo` executable somewhere in your `$PATH`. You're now ready to start using Hugo.
|
||||
|
||||
## Installing Hugo on Windows
|
||||
## <i class="fa fa-windows"></i> Installing Hugo on Windows
|
||||
|
||||
The following aims to be a complete guide to installing Hugo on your Windows PC.
|
||||
|
||||
@@ -408,7 +408,7 @@ C:\Hugo\Sites\example.com>dir
|
||||
|
||||
{{< youtube c8fJIRNChmU >}}
|
||||
|
||||
## Installing Hugo on Linux
|
||||
## <i class="fa fa-linux"></i> Installing Hugo on Linux
|
||||
|
||||
### Installing From Snap
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Overview
|
||||
title: Hosting and Deployment
|
||||
linktitle: Overview
|
||||
description: Site builds, automated deployments, and popular hosting solutions.
|
||||
date: 2016-11-01
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Overview
|
||||
title: News
|
||||
linktitle: Overview
|
||||
description: Articles where Hugo is featured, as well as news and updates on the project itself.
|
||||
date: 2017-02-01
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Overview
|
||||
title: Templates
|
||||
linktitle: Overview
|
||||
description: Golang templating, template types and lookup order, shortcodes, and data.
|
||||
date: 2017-02-01
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Overview
|
||||
title: Themes
|
||||
linktitle: Overview
|
||||
description: Install, use, and create Hugo themes.
|
||||
date: 2017-02-01
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Overview
|
||||
title: Troubleshooting
|
||||
linktitle: Overview
|
||||
description: Frequently asked questions and known issues pulled from the Hugo Discuss forum.
|
||||
date: 2017-02-01
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Overview
|
||||
title: Variables and Params
|
||||
linktitle: Overview
|
||||
description: Page-, file-, taxonomy-, and site-level variables and parameters available in templates.
|
||||
date: 2017-02-01
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<main class="main">
|
||||
<header class="content-header">
|
||||
{{partial "breadcrumb.html" . }}
|
||||
<h1 class="page-title {{if eq .Kind "page"}}{{.Section}}{{end}}" id="{{with .LinkTitle}}{{. | urlize}}{{else}}{{ .Title | urlize }}{{end}}">
|
||||
<h1 class="page-title {{if eq .Kind "page"}}{{.Section}}{{end}}" id="{{ .Title | urlize }}">
|
||||
{{- partial "list-icon.html" . -}}
|
||||
{{- .Title | markdownify -}}</h1>
|
||||
{{partial "content-header-links.html" . }}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<i class="fa fa-chevron-left"></i>
|
||||
<div class="page-info">
|
||||
<span>Previous</span>
|
||||
<h5 class="{{$section}}">{{.Title}} of {{.Section}}</h5>
|
||||
<h5 class="{{$section}}">{{.Title}} of {{.Section | humanize | title}}</h5>
|
||||
</div>
|
||||
</a>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user