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:
Somrat 2019-06-15 12:03:06 +06:00 committed by GitHub
commit d73a185182
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>