diff options
Diffstat (limited to 'docs/content/en/content-management/sections.md')
-rw-r--r-- | docs/content/en/content-management/sections.md | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/docs/content/en/content-management/sections.md b/docs/content/en/content-management/sections.md index 6806e342c..4335f137d 100644 --- a/docs/content/en/content-management/sections.md +++ b/docs/content/en/content-management/sections.md @@ -1,7 +1,7 @@ --- title: Content Sections -linktitle: Sections -description: "Hugo generates a **section tree** that matches your content." +linkTitle: Sections +description: Hugo generates a **section tree** that matches your content. date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 @@ -9,12 +9,11 @@ categories: [content management] keywords: [lists,sections,content types,organization] menu: docs: - parent: "content-management" - weight: 50 -weight: 50 #rem -draft: false -aliases: [/content/sections/] + parent: content-management + weight: 120 toc: true +weight: 120 +aliases: [/content/sections/] --- A **Section** is a collection of pages that gets defined based on the @@ -73,7 +72,7 @@ With the available [section variables and methods](#section-page-variables-and-m {{ else if not .p1.IsHome }} {{ template "breadcrumbnav" (dict "p1" .p1.Site.Home "p2" .p2 ) }} {{ end }} -<li{{ if eq .p1 .p2 }} class="active"{{ end }}> +<li{{ if eq .p1 .p2 }} class="active" aria-current="page" {{ end }}> <a href="{{ .p1.Permalink }}">{{ .p1.Title }}</a> </li> {{ end }} @@ -87,7 +86,7 @@ Also see [Page Variables](/variables/page/). ## Content Section Lists -Hugo will automatically create pages for each *root section* that list all of the content in that section. See the documentation on [section templates][] for details on customizing the way these pages are rendered. +Hugo will automatically create a page for each *root section* that lists all the content in that section. See the documentation on [section templates][] for details on customizing the way these pages are rendered. ## Content *Section* vs Content *Type* |