From 5bccf8b1933be9236f7ed2829ac9cc1226e8c274 Mon Sep 17 00:00:00 2001
From: Joe Mooring {{ .Description }} {{ .Description }} {{ .Key }} {{ .Key }} {{ .Key }} {{ .Key }} {{ .Key }} {{ .Key }} {{ .Key }} {{ .Key }} {{ .Key | title }} {{ .Key | title }} {{ .Key }} {{ .Key }} {{ .Key }} {{ .Key }} Related pages: Related pages: {{ (site.GetPage $taxonomy).LinkTitle }}:
{{ range .Translations }}
@@ -327,7 +327,7 @@ The above also uses the [`i18n` function][i18func] described in the next section
{{< code file=layouts/partials/allLanguages.html >}}
{{ range $.Site.Home.AllTranslations }}
-
{{< /code >}}
diff --git a/content/en/content-management/related.md b/content/en/content-management/related.md
index 526a080f1..9a766e130 100644
--- a/content/en/content-management/related.md
+++ b/content/en/content-management/related.md
@@ -24,7 +24,7 @@ To list up to 5 related pages (which share the same _date_ or _keyword_ paramete
See Also
{{ range . }}
-
{{ end }}
@@ -91,7 +91,7 @@ weight = 80
{{ range $i, $p := . }}
{{ range . }}
diff --git a/content/en/content-management/sections.md b/content/en/content-management/sections.md
index 5d14dadf3..2207513d5 100644
--- a/content/en/content-management/sections.md
+++ b/content/en/content-management/sections.md
@@ -121,11 +121,11 @@ For example, use the `.Ancestors` method to render breadcrumb navigation.
diff --git a/content/en/templates/single-page-templates.md b/content/en/templates/single-page-templates.md
index ea25ec3cb..cd8a2715c 100644
--- a/content/en/templates/single-page-templates.md
+++ b/content/en/templates/single-page-templates.md
@@ -38,29 +38,29 @@ This single page template makes use of Hugo [base templates], the [`.Format` fun
{{ range .Ancestors.Reverse }}
diff --git a/content/en/content-management/shortcodes.md b/content/en/content-management/shortcodes.md
index 2b19d3c6b..40184c606 100644
--- a/content/en/content-management/shortcodes.md
+++ b/content/en/content-management/shortcodes.md
@@ -171,7 +171,7 @@ To display a highlighted code sample:
```text
{{* highlight go-html-template */>}}
{{ range .Pages }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
{{* /highlight */>}}
```
@@ -180,7 +180,7 @@ Rendered:
{{< highlight go-html-template >}}
{{ range .Pages }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
{{< /highlight >}}
@@ -191,7 +191,7 @@ To specify one or more [highlighting options], include a quotation-encapsulated,
```text
{{* highlight go-html-template "lineNos=inline, lineNoStart=42" */>}}
{{ range .Pages }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
{{* /highlight */>}}
```
@@ -200,7 +200,7 @@ Rendered:
{{< highlight go-html-template "lineNos=inline, lineNoStart=42" >}}
{{ range .Pages }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
{{< /highlight >}}
diff --git a/content/en/functions/collections/After.md b/content/en/functions/collections/After.md
index 10f304520..0cf25c7dd 100644
--- a/content/en/functions/collections/After.md
+++ b/content/en/functions/collections/After.md
@@ -46,7 +46,7 @@ You can use `after` in combination with the [`first`] function and Hugo's [power
Featured Article
{{ range first 1 .Pages.ByPublishDate.Reverse }}
{{ .Title }}
+ {{ .Title }}
{{ .Title }}
+ {{ .Title }}
{{ range . }}
-
{{ end }}
diff --git a/content/en/functions/collections/Complement.md b/content/en/functions/collections/Complement.md
index 773323b38..b2a4b42a4 100644
--- a/content/en/functions/collections/Complement.md
+++ b/content/en/functions/collections/Complement.md
@@ -51,7 +51,7 @@ To list everything except blog articles (`blog`) and frequently asked questions
{{ $blog := where site.RegularPages "Type" "blog" }}
{{ $faqs := where site.RegularPages "Type" "faqs" }}
{{ range site.RegularPages | complement $blog $faqs }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
```
@@ -63,7 +63,7 @@ Although the example above demonstrates the `complement` function, you could use
```go-html-template
{{ range where site.RegularPages "Type" "not in" (slice "blog" "faqs") }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
```
diff --git a/content/en/functions/collections/Group.md b/content/en/functions/collections/Group.md
index 72d60964a..74aa869df 100644
--- a/content/en/functions/collections/Group.md
+++ b/content/en/functions/collections/Group.md
@@ -24,7 +24,7 @@ aliases: [/functions/group]
{{ range .Pages }}
diff --git a/content/en/templates/lists/index.md b/content/en/templates/lists/index.md
index b69babdde..c26174974 100644
--- a/content/en/templates/lists/index.md
+++ b/content/en/templates/lists/index.md
@@ -100,7 +100,7 @@ You can now access this `_index.md`'s' content in your list template:
{{ range .Pages }}
{{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
```
diff --git a/content/en/functions/global/page.md b/content/en/functions/global/page.md
index 758f70d01..850efbee0 100644
--- a/content/en/functions/global/page.md
+++ b/content/en/functions/global/page.md
@@ -90,7 +90,7 @@ Consider this section template:
```go-html-template
{{ range .Pages }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ .Summary }}
{{ end }}
```
diff --git a/content/en/functions/go-template/block.md b/content/en/functions/go-template/block.md
index bbf83cb62..f8a082037 100644
--- a/content/en/functions/go-template/block.md
+++ b/content/en/functions/go-template/block.md
@@ -47,7 +47,7 @@ The typical use is to define a set of root templates that are then customized by
{{ .Title }}
{{ .Content }}
{{ range .Pages }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
{{ end }}
{{< /code >}}
diff --git a/content/en/functions/go-template/range.md b/content/en/functions/go-template/range.md
index a3c488c04..e8642e50b 100644
--- a/content/en/functions/go-template/range.md
+++ b/content/en/functions/go-template/range.md
@@ -160,7 +160,7 @@ This template code:
```go-html-template
{{ range where site.RegularPages "Type" "articles" }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
```
diff --git a/content/en/functions/go-template/template.md b/content/en/functions/go-template/template.md
index c089010ca..a78ec5c65 100644
--- a/content/en/functions/go-template/template.md
+++ b/content/en/functions/go-template/template.md
@@ -17,7 +17,7 @@ Use the `template` function to execute [internal templates]. For example:
```go-html-template
{{ range (.Paginate .Pages).Pages }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
{{ template "_internal/pagination.html" . }}
```
diff --git a/content/en/methods/page/Ancestors.md b/content/en/methods/page/Ancestors.md
index cc0aa0d2b..da5cf2ca3 100644
--- a/content/en/methods/page/Ancestors.md
+++ b/content/en/methods/page/Ancestors.md
@@ -68,11 +68,11 @@ In the example above, notice that Hugo orders the ancestors from closest to furt
{{ range .Ancestors.Reverse }}
diff --git a/content/en/methods/page/Pages.md b/content/en/methods/page/Pages.md
index 9bd8fc0a7..2f329eeec 100644
--- a/content/en/methods/page/Pages.md
+++ b/content/en/methods/page/Pages.md
@@ -17,7 +17,7 @@ Range through the page collection in your template:
```go-html-template
{{ range .Pages.ByTitle }}
- {{ .LinkTitle }}
+ {{ .Title }}
{{ end }}
```
@@ -80,7 +80,7 @@ When used with a `Site` object, the `Pages` method recursively returns all pages
```go-html-template
{{ range .Site.Pages.ByTitle }}
- {{ .LinkTitle }}
+ {{ .Title }}
{{ end }}
```
diff --git a/content/en/methods/page/Paginate.md b/content/en/methods/page/Paginate.md
index 878cae0a5..6b43b99dd 100644
--- a/content/en/methods/page/Paginate.md
+++ b/content/en/methods/page/Paginate.md
@@ -26,7 +26,7 @@ You can invoke pagination on the home page template, [`section`] templates, [`ta
{{ $pages := where .Site.RegularPages "Section" "articles" }}
{{ $pages = $pages.ByTitle }}
{{ range (.Paginate $pages 7).Pages }}
- {{ .LinkTitle }}
+ {{ .Title }}
{{ end }}
{{ template "_internal/pagination.html" . }}
{{< /code >}}
diff --git a/content/en/methods/page/RegularPages.md b/content/en/methods/page/RegularPages.md
index da433ec80..b0ca7b1e1 100644
--- a/content/en/methods/page/RegularPages.md
+++ b/content/en/methods/page/RegularPages.md
@@ -17,7 +17,7 @@ Range through the page collection in your template:
```go-html-template
{{ range .RegularPages.ByTitle }}
- {{ .LinkTitle }}
+ {{ .Title }}
{{ end }}
```
@@ -77,7 +77,7 @@ When used with the `Site` object, the `RegularPages` method recursively returns
```go-html-template
{{ range .Site.RegularPages.ByTitle }}
- {{ .LinkTitle }}
+ {{ .Title }}
{{ end }}
```
diff --git a/content/en/methods/page/RegularPagesRecursive.md b/content/en/methods/page/RegularPagesRecursive.md
index 5a314cef3..3dac8c85e 100644
--- a/content/en/methods/page/RegularPagesRecursive.md
+++ b/content/en/methods/page/RegularPagesRecursive.md
@@ -17,7 +17,7 @@ Range through the page collection in your template:
```go-html-template
{{ range .RegularPagesRecursive.ByTitle }}
- {{ .LinkTitle }}
+ {{ .Title }}
{{ end }}
```
diff --git a/content/en/methods/page/Type.md b/content/en/methods/page/Type.md
index d504bc8b8..b7c62372b 100644
--- a/content/en/methods/page/Type.md
+++ b/content/en/methods/page/Type.md
@@ -37,7 +37,7 @@ To list the books, regardless of [section]:
```go-html-template
{{ range where .Site.RegularPages.ByTitle "Type" "books" }}
- {{ .LinkTitle }}
+ {{ .Title }}
{{ end }}
```
diff --git a/content/en/methods/pages/ByDate.md b/content/en/methods/pages/ByDate.md
index 41d9b7da7..eb4e86535 100644
--- a/content/en/methods/pages/ByDate.md
+++ b/content/en/methods/pages/ByDate.md
@@ -18,7 +18,7 @@ When sorting by date, the value is determined by your [site configuration], defa
```go-html-template
{{ range .Pages.ByDate }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
```
@@ -26,6 +26,6 @@ To sort in descending order:
```go-html-template
{{ range .Pages.ByDate.Reverse }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
```
diff --git a/content/en/methods/pages/ByExpiryDate.md b/content/en/methods/pages/ByExpiryDate.md
index cec8f975c..41753c340 100644
--- a/content/en/methods/pages/ByExpiryDate.md
+++ b/content/en/methods/pages/ByExpiryDate.md
@@ -18,7 +18,7 @@ When sorting by expiration date, the value is determined by your [site configura
```go-html-template
{{ range .Pages.ByExpiryDate }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
```
@@ -26,6 +26,6 @@ To sort in descending order:
```go-html-template
{{ range .Pages.ByExpiryDate.Reverse }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
```
diff --git a/content/en/methods/pages/ByLanguage.md b/content/en/methods/pages/ByLanguage.md
index 744a8efeb..30d87f954 100644
--- a/content/en/methods/pages/ByLanguage.md
+++ b/content/en/methods/pages/ByLanguage.md
@@ -11,7 +11,7 @@ action:
```go-html-template
{{ range .Site.AllPages.ByLanguage }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
```
@@ -19,6 +19,6 @@ To sort in descending order:
```go-html-template
{{ range .Site.AllPages.ByLanguage.Reverse }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
```
diff --git a/content/en/methods/pages/ByLastmod.md b/content/en/methods/pages/ByLastmod.md
index 3c5a0347f..385093134 100644
--- a/content/en/methods/pages/ByLastmod.md
+++ b/content/en/methods/pages/ByLastmod.md
@@ -18,7 +18,7 @@ When sorting by last modification date, the value is determined by your [site co
```go-html-template
{{ range .Pages.ByLastmod }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
```
@@ -26,6 +26,6 @@ To sort in descending order:
```go-html-template
{{ range .Pages.ByLastmod.Reverse }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
```
diff --git a/content/en/methods/pages/ByLength.md b/content/en/methods/pages/ByLength.md
index 7d20d034e..602b548c2 100644
--- a/content/en/methods/pages/ByLength.md
+++ b/content/en/methods/pages/ByLength.md
@@ -11,7 +11,7 @@ action:
```go-html-template
{{ range .Pages.ByLength }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
```
@@ -19,6 +19,6 @@ To sort in descending order:
```go-html-template
{{ range .Pages.ByLength.Reverse }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
```
diff --git a/content/en/methods/pages/ByParam.md b/content/en/methods/pages/ByParam.md
index 0fb9b48c0..9a919cc88 100644
--- a/content/en/methods/pages/ByParam.md
+++ b/content/en/methods/pages/ByParam.md
@@ -15,7 +15,7 @@ If the given parameter is not present in front matter, Hugo will use the matchin
```go-html-template
{{ range .Pages.ByParam "author" }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
```
@@ -23,7 +23,7 @@ To sort in descending order:
```go-html-template
{{ range (.Pages.ByParam "author").Reverse }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
```
@@ -31,6 +31,6 @@ If the targeted parameter is nested, access the field using dot notation:
```go-html-template
{{ range .Pages.ByParam "author.last_name" }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
```
diff --git a/content/en/methods/pages/ByPublishDate.md b/content/en/methods/pages/ByPublishDate.md
index b7d026f5f..e622636a2 100644
--- a/content/en/methods/pages/ByPublishDate.md
+++ b/content/en/methods/pages/ByPublishDate.md
@@ -18,7 +18,7 @@ When sorting by publish date, the value is determined by your [site configuratio
```go-html-template
{{ range .Pages.ByPublishDate }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
```
@@ -26,6 +26,6 @@ To sort in descending order:
```go-html-template
{{ range .Pages.ByPublishDate.Reverse }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
```
diff --git a/content/en/methods/pages/ByWeight.md b/content/en/methods/pages/ByWeight.md
index 1e4de8e80..4eafee11f 100644
--- a/content/en/methods/pages/ByWeight.md
+++ b/content/en/methods/pages/ByWeight.md
@@ -15,7 +15,7 @@ Assign a [weight] to a page using the `weight` field in front matter. The weight
```go-html-template
{{ range .Pages.ByWeight }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
```
@@ -23,6 +23,6 @@ To sort in descending order:
```go-html-template
{{ range .Pages.ByWeight.Reverse }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
```
diff --git a/content/en/methods/pages/GroupBy.md b/content/en/methods/pages/GroupBy.md
index e4e905ade..b46a39bdf 100644
--- a/content/en/methods/pages/GroupBy.md
+++ b/content/en/methods/pages/GroupBy.md
@@ -16,7 +16,7 @@ action:
{{ range .Pages }}
-
{{ end }}
@@ -29,7 +29,7 @@ To sort the groups in descending order:
{{ range .Pages }}
-
{{ end }}
diff --git a/content/en/methods/pages/GroupByDate.md b/content/en/methods/pages/GroupByDate.md
index aa77f5881..8b5fcd6f1 100644
--- a/content/en/methods/pages/GroupByDate.md
+++ b/content/en/methods/pages/GroupByDate.md
@@ -31,7 +31,7 @@ To group content by year and month:
{{ range .Pages }}
-
{{ end }}
@@ -44,7 +44,7 @@ To sort the groups in ascending order:
{{ range .Pages }}
-
{{ end }}
diff --git a/content/en/methods/pages/GroupByExpiryDate.md b/content/en/methods/pages/GroupByExpiryDate.md
index d398be775..a9b248297 100644
--- a/content/en/methods/pages/GroupByExpiryDate.md
+++ b/content/en/methods/pages/GroupByExpiryDate.md
@@ -31,7 +31,7 @@ To group content by year and month:
{{ range .Pages }}
-
{{ end }}
@@ -44,7 +44,7 @@ To sort the groups in ascending order:
{{ range .Pages }}
-
{{ end }}
diff --git a/content/en/methods/pages/GroupByLastmod.md b/content/en/methods/pages/GroupByLastmod.md
index 30f1431f7..877692521 100644
--- a/content/en/methods/pages/GroupByLastmod.md
+++ b/content/en/methods/pages/GroupByLastmod.md
@@ -31,7 +31,7 @@ To group content by year and month:
{{ range .Pages }}
-
{{ end }}
@@ -44,7 +44,7 @@ To sort the groups in ascending order:
{{ range .Pages }}
-
{{ end }}
diff --git a/content/en/methods/pages/GroupByParam.md b/content/en/methods/pages/GroupByParam.md
index 87570c0a5..9c63ab902 100644
--- a/content/en/methods/pages/GroupByParam.md
+++ b/content/en/methods/pages/GroupByParam.md
@@ -16,7 +16,7 @@ action:
{{ range .Pages }}
-
{{ end }}
@@ -29,7 +29,7 @@ To sort the groups in descending order:
{{ range .Pages }}
-
{{ end }}
diff --git a/content/en/methods/pages/GroupByParamDate.md b/content/en/methods/pages/GroupByParamDate.md
index 03642fcbe..c7fedbb1a 100644
--- a/content/en/methods/pages/GroupByParamDate.md
+++ b/content/en/methods/pages/GroupByParamDate.md
@@ -28,7 +28,7 @@ To group content by year and month:
{{ range .Pages }}
-
{{ end }}
@@ -41,7 +41,7 @@ To sort the groups in ascending order:
{{ range .Pages }}
-
{{ end }}
diff --git a/content/en/methods/pages/GroupByPublishDate.md b/content/en/methods/pages/GroupByPublishDate.md
index 9264ecae2..f6603e858 100644
--- a/content/en/methods/pages/GroupByPublishDate.md
+++ b/content/en/methods/pages/GroupByPublishDate.md
@@ -31,7 +31,7 @@ To group content by year and month:
{{ range .Pages }}
-
{{ end }}
@@ -44,7 +44,7 @@ To sort the groups in ascending order:
{{ range .Pages }}
-
{{ end }}
diff --git a/content/en/methods/pages/Limit.md b/content/en/methods/pages/Limit.md
index 0939add9f..bf889fd7e 100644
--- a/content/en/methods/pages/Limit.md
+++ b/content/en/methods/pages/Limit.md
@@ -11,6 +11,6 @@ action:
```go-html-template
{{ range .Pages.Limit 3 }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
```
diff --git a/content/en/methods/pages/Related.md b/content/en/methods/pages/Related.md
index 1fc6102be..1cee88745 100644
--- a/content/en/methods/pages/Related.md
+++ b/content/en/methods/pages/Related.md
@@ -22,7 +22,7 @@ The argument passed to the `Related` method may be a `Page` or an options map. F
{{ range . }}
-
{{ end }}
@@ -39,7 +39,7 @@ To pass an options map:
{{ range . }}
-
{{ end }}
diff --git a/content/en/methods/pages/Reverse.md b/content/en/methods/pages/Reverse.md
index b54cf451e..e03e0ea47 100644
--- a/content/en/methods/pages/Reverse.md
+++ b/content/en/methods/pages/Reverse.md
@@ -11,6 +11,6 @@ action:
```go-html-template
{{ range .Pages.ByDate.Reverse }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{ end }}
```
diff --git a/content/en/methods/site/RegularPages.md b/content/en/methods/site/RegularPages.md
index 744eb8a13..b163ad919 100644
--- a/content/en/methods/site/RegularPages.md
+++ b/content/en/methods/site/RegularPages.md
@@ -31,7 +31,7 @@ To change the sort order, use any of the `Pages` [sorting methods]. For example:
```go-html-template
{{ range .Site.RegularPages.ByTitle }}
- {{ .LinkTitle }}
+ {{ .Title }}
{{ end }}
```
diff --git a/content/en/methods/taxonomy/Alphabetical.md b/content/en/methods/taxonomy/Alphabetical.md
index 2c07fbef4..7845dbf3d 100644
--- a/content/en/methods/taxonomy/Alphabetical.md
+++ b/content/en/methods/taxonomy/Alphabetical.md
@@ -48,7 +48,7 @@ With this template:
{{ .Page.LinkTitle }} ({{ .Count }})
{{ range .Pages.ByTitle }}
-
{{ end }}
diff --git a/content/en/methods/taxonomy/ByCount.md b/content/en/methods/taxonomy/ByCount.md
index d0caa7d2c..40f58420a 100644
--- a/content/en/methods/taxonomy/ByCount.md
+++ b/content/en/methods/taxonomy/ByCount.md
@@ -48,7 +48,7 @@ With this template:
{{ .Page.LinkTitle }} ({{ .Count }})
{{ range .Pages.ByTitle }}
-
{{ end }}
diff --git a/content/en/templates/introduction.md b/content/en/templates/introduction.md
index fee9a8ff0..56cabe0ca 100644
--- a/content/en/templates/introduction.md
+++ b/content/en/templates/introduction.md
@@ -596,7 +596,7 @@ Finally, you can pull "magic constants" out of your layouts as well. The followi
Recent Posts
{{- range first .Site.Params.SidebarRecentLimit .Site.Pages -}}
-
@@ -631,7 +631,7 @@ This [partial template][partials] renders future events:
{{ if gt (.Params.start_date | time.AsTime) now }}
{{ $startDate := .Params.start_date | time.Format ":date_medium" }}
{{ .Date.Format "Mon Jan 2, 2006" }}
- {{ .WordCount }} Words
+ {{ .WordCount }} Words
{{ range . }}
-
{{ end }}
{{ with .GetTerms "tags" }}
{{ end }}
{{ range .Pages }}
{{ range . }}
-
{{ end }}
@@ -209,7 +209,7 @@ To render a comma-delimited list:
{{ (site.GetPage $taxonomy).LinkTitle }}:
{{ range $k, $_ := . -}}
{{ if $k }}, {{ end }}
- {{ .Title }}
+ {{ .LinkTitle }}
{{- end }}