mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 18:18:37 +00:00
Change all overviews back to section titles on section list pages
This commit is contained in:
1 parent
170e9616b2
commit
f3e48405a4
16 files changed
+21
-21
No files matched your search
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: Overview
|
title: About Hugo
|
||||||
linktitle: Overview
|
linktitle: Overview
|
||||||
description: Hugo's features, roadmap, and license, as well as the motivation behind creating Hugo.
|
description: Hugo's features, roadmap, and license, as well as the motivation behind creating Hugo.
|
||||||
date: 2017-02-01
|
date: 2017-02-01
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: Overview
|
title: Content Management
|
||||||
linktitle: Overview
|
linktitle: Overview
|
||||||
description: Hugo makes managing large static sites easy with support for archetypes, content types, menus, cross references, summaries, and more.
|
description: Hugo makes managing large static sites easy with support for archetypes, content types, menus, cross references, summaries, and more.
|
||||||
date: 2017-02-01
|
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.
|
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:
|
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
|
`.Site.Menus` by name. For example, if I have a menu called `main`, I would
|
||||||
access it via `.Site.Menus.main`.
|
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:
|
A menu entry has the following properties:
|
||||||
|
|
||||||
@@ -200,7 +200,7 @@ The following is an example:
|
|||||||
</aside>
|
</aside>
|
||||||
<!--sidebar end-->
|
<!--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"
|
## Section Menu for "the Lazy Blogger"
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: Overview
|
title: Contribute to Hugo
|
||||||
linktitle: Overview
|
linktitle: Overview
|
||||||
description: Contribute to Hugo development and documentation.
|
description: Contribute to Hugo development and documentation.
|
||||||
date: 2017-02-01
|
date: 2017-02-01
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: Overview
|
title: Developer Tools
|
||||||
linktitle: Overview
|
linktitle: Overview
|
||||||
description: Description for the developer tools section.
|
description: Description for the developer tools section.
|
||||||
date: 2016-11-01
|
date: 2016-11-01
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: Overview
|
title: Functions
|
||||||
linktitle: Overview
|
linktitle: Overview
|
||||||
description: Comprehensive list of Hugo templating functions, including basic and advanced usage examples.
|
description: Comprehensive list of Hugo templating functions, including basic and advanced usage examples.
|
||||||
date: 2017-02-01
|
date: 2017-02-01
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: Overview
|
title: Getting Started
|
||||||
linktitle: Overview
|
linktitle: Overview
|
||||||
description: Quick start and guides for installing Hugo on your preferred operating system.
|
description: Quick start and guides for installing Hugo on your preferred operating system.
|
||||||
date: 2017-02-01
|
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:
|
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-windows"></i> Windows,
|
||||||
* <i class="fa fa-linux"></i> Linux,
|
* <i class="fa fa-linux"></i> Linux,
|
||||||
* <i class="icon-freebsd"></i> FreeBSD
|
* <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.
|
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
|
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
|
### 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.
|
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.
|
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 >}}
|
{{< youtube c8fJIRNChmU >}}
|
||||||
|
|
||||||
## Installing Hugo on Linux
|
## <i class="fa fa-linux"></i> Installing Hugo on Linux
|
||||||
|
|
||||||
### Installing From Snap
|
### Installing From Snap
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: Overview
|
title: Hosting and Deployment
|
||||||
linktitle: Overview
|
linktitle: Overview
|
||||||
description: Site builds, automated deployments, and popular hosting solutions.
|
description: Site builds, automated deployments, and popular hosting solutions.
|
||||||
date: 2016-11-01
|
date: 2016-11-01
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: Overview
|
title: News
|
||||||
linktitle: Overview
|
linktitle: Overview
|
||||||
description: Articles where Hugo is featured, as well as news and updates on the project itself.
|
description: Articles where Hugo is featured, as well as news and updates on the project itself.
|
||||||
date: 2017-02-01
|
date: 2017-02-01
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: Overview
|
title: Templates
|
||||||
linktitle: Overview
|
linktitle: Overview
|
||||||
description: Golang templating, template types and lookup order, shortcodes, and data.
|
description: Golang templating, template types and lookup order, shortcodes, and data.
|
||||||
date: 2017-02-01
|
date: 2017-02-01
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: Overview
|
title: Themes
|
||||||
linktitle: Overview
|
linktitle: Overview
|
||||||
description: Install, use, and create Hugo themes.
|
description: Install, use, and create Hugo themes.
|
||||||
date: 2017-02-01
|
date: 2017-02-01
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: Overview
|
title: Troubleshooting
|
||||||
linktitle: Overview
|
linktitle: Overview
|
||||||
description: Frequently asked questions and known issues pulled from the Hugo Discuss forum.
|
description: Frequently asked questions and known issues pulled from the Hugo Discuss forum.
|
||||||
date: 2017-02-01
|
date: 2017-02-01
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: Overview
|
title: Variables and Params
|
||||||
linktitle: Overview
|
linktitle: Overview
|
||||||
description: Page-, file-, taxonomy-, and site-level variables and parameters available in templates.
|
description: Page-, file-, taxonomy-, and site-level variables and parameters available in templates.
|
||||||
date: 2017-02-01
|
date: 2017-02-01
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<main class="main">
|
<main class="main">
|
||||||
<header class="content-header">
|
<header class="content-header">
|
||||||
{{partial "breadcrumb.html" . }}
|
{{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" . -}}
|
{{- partial "list-icon.html" . -}}
|
||||||
{{- .Title | markdownify -}}</h1>
|
{{- .Title | markdownify -}}</h1>
|
||||||
{{partial "content-header-links.html" . }}
|
{{partial "content-header-links.html" . }}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
<i class="fa fa-chevron-left"></i>
|
<i class="fa fa-chevron-left"></i>
|
||||||
<div class="page-info">
|
<div class="page-info">
|
||||||
<span>Previous</span>
|
<span>Previous</span>
|
||||||
<h5 class="{{$section}}">{{.Title}} of {{.Section}}</h5>
|
<h5 class="{{$section}}">{{.Title}} of {{.Section | humanize | title}}</h5>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in new issue
Block a user