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:
Diffstat (limited to 'layouts/_default/list.html')
-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">