From 57a8706d37544f08dd7e10f7cb363715a8c06729 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sat, 25 Jul 2020 10:27:20 +0530 Subject: [PATCH] Revert "list: rm title" This reverts commit d7d5a15da7e93794f5e6d3811bc284afc18637ed. --- layouts/_default/list.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 1ee7ce9e..8f435f20 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,6 +1,9 @@ {{ define "main" }} {{- $scope := .Site }} +{{- if .Title }} +{{ $scope = . }} +{{ end }} {{- $paginator := .Paginate (where $scope.RegularPages ".Params.type" "!=" "page") }}