diff options
| author | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-07-25 10:27:20 +0530 |
|---|---|---|
| committer | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-07-25 10:27:20 +0530 |
| commit | 57a8706d37544f08dd7e10f7cb363715a8c06729 (patch) | |
| tree | 2a1086d302704cab572ede3c91d66016de25ad83 | |
| parent | 11bab613865be6d66a1281354592f129d4899dee (diff) | |
Revert "list: rm title"
This reverts commit d7d5a15da7e93794f5e6d3811bc284afc18637ed.
| -rw-r--r-- | layouts/_default/list.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 1ee7ce9..8f435f2 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,6 +1,9 @@ {{ define "main" }} {{- $scope := .Site }} +{{- if .Title }} +<header class="page-header"><h1>{{ .Title }}</h1></header>{{ $scope = . }} +{{ end }} {{- $paginator := .Paginate (where $scope.RegularPages ".Params.type" "!=" "page") }} |
