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: # + Owner Path Version Time @@ -98,7 +99,7 @@ An example table listing the dependencies: {{ range $index, $element := hugo.Deps }} {{ add $index 1 }} - {{ with $element.Owner }}{{.Path }}{{ else }}PROJECT{{ end }} + {{ with $element.Owner }}{{.Path }}{{ end }} {{ $element.Path }} {{ with $element.Replace}} diff --git a/docs/layouts/maintenance/list.html b/docs/layouts/maintenance/list.html index 50059ad9e..ff573d54b 100644 --- a/docs/layouts/maintenance/list.html +++ b/docs/layouts/maintenance/list.html @@ -7,7 +7,8 @@ @@ -30,6 +31,37 @@

Pages marked with TODO

{{ partial "maintenance-pages-table" (.Scratch.Get "todos") }} +

Dependencies

+ + + + + + + + + + + + + {{ range $index, $element := hugo.Deps }} + + + + + + + + + {{ end }} + +
#OwnerPathVersionTimeVendor
{{ add $index 1 }}{{ with $element.Owner }}{{.Path }}{{ end }} + {{ $element.Path }} + {{ with $element.Replace}} + => {{ .Path }} + {{ end }} + {{ $element.Version }}{{ with $element.Time }}{{ . }}{{ end }}{{ $element.Vendor }}
+