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

github.com/urjaacharya/redgood.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.html21
1 files changed, 9 insertions, 12 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 7095424..ba73a48 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,14 +1,11 @@
-{{ define "main" }}
-{{ partial "index/pinnedPost" . }}
-{{ partial "index/recentPost" . }}
-<h3>Sections</h3>
-<div class="site-sections home-page-card">
- {{ range .Site.Sections }}
- {{ if not .Params.hideFromHome }}
- <p>
- <a href="{{ .Permalink }}" aria-label="site sections">{{ .Title }}</a> - {{ len .Pages}} Articles
- </p>
- {{ end }} {{ end }}
+{{ define "main" }} {{ partial "index/pinnedPost" . }}
+<div class="grid-container">
+ <div class="recent-posts card shadow round-corner">
+ {{ partial "index/recentPost" . }}
+ {{ partial "index/siteSections" . }}
+ </div>
+ <div class="site-sections card shadow round-corner">
+ {{ partial "taxa" (dict "taxo" .Site.Taxonomies "mysite" .) }}
+ </div>
</div>
-{{ partial "taxa" (dict "taxo" .Site.Taxonomies "mysite" .) }}
{{ end }}