Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/damiencaselli/paperback.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html31
1 files changed, 16 insertions, 15 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 9e13908..94380f6 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,29 +1,30 @@
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
- {{ partial "head.html" . }}
+{{ partial "head.html" . }}
- <body>
- <div class="container">
+<body>
+ <div class="container">
- {{ partial "header.html" . }}
+ {{ partial "header.html" . }}
- <section>
+ <section>
- {{ range first (index .Site.Params "homepageposts" | default 3) (where .Data.Pages "Type" "post") }}
- <article>
- {{ .Render "list-item-expanded" }}
- </article>
- {{ end }}
+ {{ range first (index .Site.Params "homepageposts" | default 3) (where site.RegularPages "Type" "in" site.Params.mainSections) }}
+ <article>
+ {{ .Render "list-item-expanded" }}
+ </article>
+ {{ end }}
- </section>
+ </section>
- {{ partial "nav.html" . }}
+ {{ partial "nav.html" . }}
- {{ partial "footer.html" . }}
+ {{ partial "footer.html" . }}
- </div>
+ </div>
{{ partial "highlight" . }}
- </body>
+</body>
+
</html>