Revert "list: rm title"

This reverts commit d7d5a15da7.
This commit is contained in:
Aditya Telange 2020-07-25 10:27:20 +05:30
parent 11bab61386
commit 57a8706d37
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,9 @@
{{ define "main" }} {{ define "main" }}
{{- $scope := .Site }} {{- $scope := .Site }}
{{- if .Title }}
<header class="page-header"><h1>{{ .Title }}</h1></header>{{ $scope = . }}
{{ end }}
{{- $paginator := .Paginate (where $scope.RegularPages ".Params.type" "!=" "page") }} {{- $paginator := .Paginate (where $scope.RegularPages ".Params.type" "!=" "page") }}