diff options
author | xengineering <me@xengineering.eu> | 2022-10-08 22:15:08 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2022-10-08 22:17:42 +0200 |
commit | ef01f4956f6a7bef559cb2d4d83fb42787ac043f (patch) | |
tree | ee91cd8970bb808ff398058d03b749e0be88c1a2 /themes/bare/layouts/git/list.html | |
parent | 4912c1607b8b2f7bf2f8e3228c69b2b046f68f78 (diff) | |
download | website-ef01f4956f6a7bef559cb2d4d83fb42787ac043f.tar website-ef01f4956f6a7bef559cb2d4d83fb42787ac043f.tar.zst website-ef01f4956f6a7bef559cb2d4d83fb42787ac043f.zip |
Implement usage of friendly_name
Diffstat (limited to 'themes/bare/layouts/git/list.html')
-rw-r--r-- | themes/bare/layouts/git/list.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/bare/layouts/git/list.html b/themes/bare/layouts/git/list.html index 7d86fa8..f4cd50e 100644 --- a/themes/bare/layouts/git/list.html +++ b/themes/bare/layouts/git/list.html @@ -29,7 +29,7 @@ <ul> {{- range.Pages }} {{ if eq .Params.state "active" }} - <li><a href="{{ .RelPermalink }}">{{ .Params.name }}</a> - {{.Description}}</li> + <li><a href="{{ .RelPermalink }}">{{ .Params.friendly_name }}</a> - {{.Description}}</li> {{ end }} {{ end -}} </ul> @@ -39,7 +39,7 @@ <ul> {{- range.Pages }} {{ if eq .Params.state "experimental" }} - <li><a href="{{ .RelPermalink }}">{{ .Params.name }}</a> - {{.Description}}</li> + <li><a href="{{ .RelPermalink }}">{{ .Params.friendly_name }}</a> - {{.Description}}</li> {{ end }} {{ end -}} </ul> @@ -49,7 +49,7 @@ <ul> {{- range.Pages }} {{ if eq .Params.state "archived" }} - <li><a href="{{ .RelPermalink }}">{{ .Params.name }}</a> - {{.Description}}</li> + <li><a href="{{ .RelPermalink }}">{{ .Params.friendly_name }}</a> - {{.Description}}</li> {{ end }} {{ end -}} </ul> |