diff options
-rw-r--r-- | themes/bare/layouts/git/list.html | 6 | ||||
-rw-r--r-- | themes/bare/layouts/git/single.html | 4 | ||||
-rw-r--r-- | 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 @@ <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> 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 @@ <head> - <title>{{.Params.name}}</title> + <title>{{.Params.friendly_name}}</title> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"> @@ -20,7 +20,7 @@ <main> - <h1>{{.Params.name}}</h1> + <h1>{{.Params.friendly_name}}</h1> <div class="card"> <p class="card-first-item">{{ .Params.description }}</p> 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" }} - <li><a href="{{.Permalink}}">{{.Params.name}}</a> - {{.Description}}</li> + <li><a href="{{.Permalink}}">{{.Params.friendly_name}}</a> - {{.Description}}</li> {{ end }} {{ end }} {{ end }} |