mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-23 07:16:23 +01:00
15 lines
428 B
HTML
15 lines
428 B
HTML
{{ define "content" }}
|
|
{{ if eq .Site.Params.home_mode "post" }}
|
|
<div class="post-warp">
|
|
{{ partial "home/profile.html" . }}
|
|
|
|
{{ range (.Paginate (where .Pages "Type" "posts")).Pages }}
|
|
{{ .Render "summary" }}
|
|
{{ end }}
|
|
|
|
{{ partial "paginator.html" . }}
|
|
</div>
|
|
{{ else }}
|
|
{{ partial "home/profile.html" . }}
|
|
{{ end }}
|
|
{{ end }}
|