Merge pull request #12 from onthedock/articles-label
Replaces hardcoded "Article" header for article listing with optional parameter "articlesLabel" on config file
This commit is contained in:
commit
d73a185182
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@
|
|||
<div class="p-5 bg-white">
|
||||
<h2>{{ .Title }}</h2>
|
||||
<div class="bg-gray p-4">
|
||||
<h3 class="mt-0">Article</h3>
|
||||
<h3 class="mt-0">{{if .Language.Params.articlesLabel }} {{ .Language.Params.articlesLabel }} {{ else }} "Articles" {{ end }}</h3>
|
||||
<ul class="list-unstyled">
|
||||
{{ range .Data.Pages }}
|
||||
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
|
||||
|
|
Loading…
Reference in a new issue