forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
afe0a15b58
commit
7bde25e5d9
|
@ -14,7 +14,7 @@
|
|||
{{- define "main" -}}
|
||||
{{ $s := .Site.Params }}
|
||||
{{- $paginator := slice -}}
|
||||
{{- $paginator = .Paginate .Data.Pages.ByDate.Reverse -}}
|
||||
{{- $paginator = .Paginate .Data.Pages.ByDate.Reverse -}}
|
||||
{{ if eq $paginator.PageNumber 1 }}
|
||||
{{ if ne .Content "" }}
|
||||
<article>
|
||||
|
|
|
@ -3,7 +3,9 @@ Orga
|
|||
{{ end }}
|
||||
|
||||
{{ define "main" }}
|
||||
{{ range .Pages }}
|
||||
<a href="{{ .Permalink }}">{{ .Name }}</a><br>
|
||||
{{ end }}
|
||||
<article>
|
||||
{{ range .Pages }}
|
||||
<a href="{{ .Permalink }}">{{ .Name }}</a><br>
|
||||
{{ end }}
|
||||
</article>
|
||||
{{ end }}
|
Loading…
Reference in New Issue
Block a user