Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dataCobra/hugo-vitae.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordataCobra <datacobra@thinkbot.de>2022-04-08 19:18:41 +0300
committerdataCobra <datacobra@thinkbot.de>2022-04-08 19:18:41 +0300
commitc55e264e29622aaeb56eb4d423b47b93b3186e4f (patch)
treeeb692a8cd3c0ea7b3c0685468fe091f16d084351
parent92e50308308d7ecbe47bd47713b6840603fde9a0 (diff)
Changes in list.html for Issue #77develop
-rw-r--r--layouts/_default/list.html6
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">