diff options
author | dataCobra <datacobra@thinkbot.de> | 2022-04-08 19:18:41 +0300 |
---|---|---|
committer | dataCobra <datacobra@thinkbot.de> | 2022-04-08 19:18:41 +0300 |
commit | c55e264e29622aaeb56eb4d423b47b93b3186e4f (patch) | |
tree | eb692a8cd3c0ea7b3c0685468fe091f16d084351 | |
parent | 92e50308308d7ecbe47bd47713b6840603fde9a0 (diff) |
Changes in list.html for Issue #77develop
-rw-r--r-- | layouts/_default/list.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 38cc95f..32af417 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,8 +1,8 @@ {{- define "main" }} -{{- if isset .Data "Term" }} +{{- if .Page.Title }} +<h1 class="page-title">{{ .Page.Title }}</h1> +{{- else if isset .Data "Term" }} <h1 class="page-title">{{ humanize .Data.Term }}</h1> -{{- else }} -<h1 class="page-title">{{ .Title }}</h1> {{- end -}} {{ .Content }} <ul class="posts flat"> |