docs: Add dependency table to maintainance page

See #8949
This commit is contained in:
Bjørn Erik Pedersen
2022-01-11 21:57:37 +01:00
parent 9af4ca3861
commit fbb3c181cb
2 changed files with 35 additions and 2 deletions

View File

@@ -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}}