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:
authorUrja Acharya <urja.acharya@huskers.unl.edu>2021-03-06 06:12:13 +0300
committerUrja Acharya <urja.acharya@huskers.unl.edu>2021-03-06 06:12:13 +0300
commit485cf8b4bc5190b71f2121dbda6e9692d7f21a26 (patch)
tree52bab19276cdb21ac994776db9ba513a9f2afc9b /layouts/index.html
parent34b22e0367d971de9627a2eb895608bfd2fc8554 (diff)
Style changes
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 }}