LoveIt/layouts/index.html

16 lines
428 B
HTML
Raw Normal View History

2019-02-03 12:30:44 +01:00
{{ define "content" }}
2019-08-02 10:16:59 +02:00
{{ if eq .Site.Params.home_mode "post" }}
2019-08-11 19:36:19 +02:00
<div class="post-warp">
{{ partial "home/profile.html" . }}
{{ range (.Paginate (where .Pages "Type" "posts")).Pages }}
{{ .Render "summary" }}
{{ end }}
{{ partial "paginator.html" . }}
</div>
2019-08-02 10:16:59 +02:00
{{ else }}
2019-08-11 19:36:19 +02:00
{{ partial "home/profile.html" . }}
2019-08-02 10:16:59 +02:00
{{ end }}
2019-02-03 12:30:44 +01:00
{{ end }}