From b2c4e77b09d8c82c802eaa5ac6242617b9015df0 Mon Sep 17 00:00:00 2001 From: Urja Acharya Date: Sat, 13 Mar 2021 11:25:14 -0800 Subject: Style updates --- exampleSite/config.json | 2 +- layouts/_default/single.html | 1 + layouts/index.html | 12 +-- layouts/partials/footer.html | 74 ++++++++----- layouts/partials/index/siteSections.html | 19 ++-- layouts/partials/prevNext.html | 16 +-- layouts/partials/regularHeader.html | 6 +- layouts/partials/share.html | 79 +++++++------- layouts/partials/taxa.html | 4 +- static/css/main.css | 171 +++++++++++++++++++------------ 10 files changed, 218 insertions(+), 166 deletions(-) diff --git a/exampleSite/config.json b/exampleSite/config.json index 900a96c..620d7b2 100644 --- a/exampleSite/config.json +++ b/exampleSite/config.json @@ -18,7 +18,7 @@ "narrative": "this website is a demo for the redgood theme made by Urja Acharya. this section is customizable and can be used for a short inroduction by modifying `params.about.narrative` in `config`. markdown can be used in **this** section." }, "social": { - "email": { "url": "#", "icon": "bi bi-envelope" }, + "email": { "url": "#", "icon": "bi bi-envelope-fill" }, "linkedin": { "url": "#", "icon": "bi bi-linkedin" }, "fb": { "url": "#", "icon": "bi bi-facebook" }, "twitter": { "url": "#", "icon": "bi bi-twitter" }, diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 9983b08..13c11a3 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,3 +1,4 @@ {{ define "main" }} +{{ partial "share" . }} {{ .Content }} {{ end }} diff --git a/layouts/index.html b/layouts/index.html index ba73a48..be209af 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,11 +1,3 @@ -{{ define "main" }} {{ partial "index/pinnedPost" . }} -
-
- {{ partial "index/recentPost" . }} - {{ partial "index/siteSections" . }} -
-
- {{ partial "taxa" (dict "taxo" .Site.Taxonomies "mysite" .) }} -
-
+{{ define "main" }} +{{ partial "index/pinnedPost" . }} {{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 7406a3d..6d9feb9 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,30 +1,56 @@ -