diff options
Diffstat (limited to 'layouts/index.old.html')
-rw-r--r-- | layouts/index.old.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/layouts/index.old.html b/layouts/index.old.html new file mode 100644 index 0000000..8367de4 --- /dev/null +++ b/layouts/index.old.html @@ -0,0 +1,19 @@ +{{ define "main" }} + <div class="homepage-content"> + {{ .Content }} + <ul> + {{ range .Site.Sections }} + <li> <a href="{{ .Permalink }}">{{ i18n .Title }}</a> </li> + {{ end }} + </ul> + </div> + + <div class="articles h-feed"> + {{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }} + {{ range (.Paginate $pages).Pages }} + {{ partial "post-summary.html" . }} + {{ end }} + {{ partial "pagination.html" . }} + </div> + +{{ end }} |