From 88bffd69990bdb6c3a0a81d8931ab3c3a3df9be7 Mon Sep 17 00:00:00 2001 From: Chaitanya <50472457+chaitanya3po@users.noreply.github.com> Date: Fri, 31 Jul 2020 12:26:33 +0530 Subject: [PATCH] Adds a title to the individual category page. --- layouts/_default/list.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 950e2d40..54a15fdb 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,3 +1,10 @@ {{ define "main" }} + {{ if ne .IsHome true }} +
+
+

{{- if .Title }}{{ .Title }}{{- end -}}

+
+
+ {{ end }} {{ partial "post-list.html" . }} -{{ end }} \ No newline at end of file +{{ end }}