From ef01f4956f6a7bef559cb2d4d83fb42787ac043f Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 8 Oct 2022 22:15:08 +0200 Subject: Implement usage of friendly_name --- themes/bare/layouts/git/list.html | 6 +++--- themes/bare/layouts/git/single.html | 4 ++-- themes/bare/layouts/index.html | 2 +- 3 files changed, 6 insertions(+), 6 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 @@ @@ -39,7 +39,7 @@ @@ -49,7 +49,7 @@ diff --git a/themes/bare/layouts/git/single.html b/themes/bare/layouts/git/single.html index 82aa0d2..c353cbd 100644 --- a/themes/bare/layouts/git/single.html +++ b/themes/bare/layouts/git/single.html @@ -8,7 +8,7 @@ - {{.Params.name}} + {{.Params.friendly_name}} @@ -20,7 +20,7 @@
-

{{.Params.name}}

+

{{.Params.friendly_name}}

{{ .Params.description }}

diff --git a/themes/bare/layouts/index.html b/themes/bare/layouts/index.html index ecf8ad9..741001e 100644 --- a/themes/bare/layouts/index.html +++ b/themes/bare/layouts/index.html @@ -37,7 +37,7 @@ {{ range.Site.RegularPages }} {{ if eq .Section "git" }} {{ if eq .Params.state "active" }} -
  • {{.Params.name}} - {{.Description}}
  • +
  • {{.Params.friendly_name}} - {{.Description}}
  • {{ end }} {{ end }} {{ end }} -- cgit v1.2.3-70-g09d2