Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-01-11 23:57:37 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-01-11 23:57:37 +0300
commitfbb3c181cb079ee422dd8ad13438464af8a90469 (patch)
tree506d4c0fe154a4fc4534d71d1cc31573b56936ee /docs/content/en
parent9af4ca386105281f3738800d5c97f76eb124f5da (diff)
docs: Add dependency table to maintainance page
See #8949
Diffstat (limited to 'docs/content/en')
-rw-r--r--docs/content/en/functions/hugo.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/content/en/functions/hugo.md b/docs/content/en/functions/hugo.md
index fb20d2717..7602a2e34 100644
--- a/docs/content/en/functions/hugo.md
+++ b/docs/content/en/functions/hugo.md
@@ -88,6 +88,7 @@ An example table listing the dependencies:
<thead>
<tr>
<th scope="col">#</th>
+ <th scope="col">Owner</th>
<th scope="col">Path</th>
<th scope="col">Version</th>
<th scope="col">Time</th>
@@ -98,7 +99,7 @@ An example table listing the dependencies:
{{ range $index, $element := hugo.Deps }}
<tr>
<th scope="row">{{ add $index 1 }}</th>
- <td>{{ with $element.Owner }}{{.Path }}{{ else }}PROJECT{{ end }}</td>
+ <td>{{ with $element.Owner }}{{.Path }}{{ end }}</td>
<td>
{{ $element.Path }}
{{ with $element.Replace}}