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

gitlab.com/kskarthik/monopriv.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.html9
1 files changed, 4 insertions, 5 deletions
diff --git a/layouts/index.html b/layouts/index.html
index fab665d..3cc10dc 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,8 +1,10 @@
{{define "main"}}
{{- partial "hero.html" . -}}
<section id="posts" class="container mt-4">
- <h3 class="text-monospace text-center">Recent Posts</h3>
- <div class="card-columns">
+ {{ if .Site.Params.search.enabled }}
+ {{partial "search.html" .}}
+ {{end}}
+ <div class="card-columns mt-3">
{{range first 6 .Site.RegularPages }}
{{if eq .Section "post"}}
<div class="bg-light card">
@@ -22,8 +24,5 @@
<img class="img-responsive" src='{{ "img/no-facebook.png" | absURL }}' width="200px" alt="I'm Not On Faceboook">
</a>
</section>
- {{ if .Site.Params.search.enabled }}
- {{partial "search.html" .}}
- {{end}}
{{end}}