From 12aec1a9b2248e5cc04de389fbff1b26c2ed4726 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 16 Sep 2017 22:04:15 +0100 Subject: [PATCH] Use normal boxes on index --- layouts/index.html | 32 ++++++++++++++++++++------------ static/src/scss/style.scss | 4 ++++ 2 files changed, 24 insertions(+), 12 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index 36bfe82..6a093bd 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -63,24 +63,32 @@ -
-

Projects

+
+
+

Projects

+
- {{ range first .Site.Params.index_items (where .Data.Pages.ByDate "Section" "projects") }} - {{ partial "box.html" . }} - {{ end }} + {{ range first .Site.Params.index_items (where .Data.Pages.ByDate "Section" "projects") }} + {{ partial "box_image.html" . }} + {{ end }}
-

All Projects

+
-
-

Recent Posts

+
+
- {{ range first .Site.Params.index_items (where .Data.Pages.ByDate "Section" "posts") }} - {{ partial "box.html" . }} - {{ end }} + {{ range first .Site.Params.index_items (where .Data.Pages.ByDate "Section" "posts") }} + {{ partial "box_image.html" . }} + {{ end }}
-

All Posts

+
+

All Posts

+
{{ partial "page_end.html" . }} diff --git a/static/src/scss/style.scss b/static/src/scss/style.scss index 1b35432..691bf3b 100644 --- a/static/src/scss/style.scss +++ b/static/src/scss/style.scss @@ -166,3 +166,7 @@ nav { } } } + +.index-list { + margin-top: 4em; +}