mirror of
https://git.adityakumar.xyz/hugo-theme-even.git
synced 2024-11-08 22:49:44 +00:00
parent
9033266c2f
commit
6766e09744
2 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
{{ define "title" }}{{ T "archive" }} - {{ .Site.Title }}{{ end }}
|
||||
|
||||
{{ define "content"}}
|
||||
{{- $paginator := .Paginate (where .Data.Pages.ByDate.Reverse "Type" "post") .Site.Params.archivePaginate }}
|
||||
{{- $paginator := .Paginate .Data.Pages.ByDate.Reverse .Site.Params.archivePaginate }}
|
||||
<section id="archive" class="archive">
|
||||
{{- if not $paginator.HasPrev }}
|
||||
<div class="archive-title">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{{ define "title" }}{{ .Title }} · {{ .Site.Title }}{{ end }}
|
||||
|
||||
{{ define "content"}}
|
||||
{{ $paginator := .Paginate (where .Data.Pages.ByDate.Reverse "Type" "post") .Site.Params.archivePaginate }}
|
||||
{{ $paginator := .Paginate .Data.Pages.ByDate.Reverse .Site.Params.archivePaginate }}
|
||||
<section id="archive" class="archive">
|
||||
{{ if not $paginator.HasPrev }}
|
||||
{{ if eq .Data.Plural "tags" }}
|
||||
|
|
Loading…
Reference in a new issue