From 3957797943be6dc95ea2a897e0f9d1069a47b304 Mon Sep 17 00:00:00 2001 From: Darshan Baral Date: Wed, 20 May 2020 17:35:56 -0700 Subject: Revised color scheme --- layouts/_default/list.html | 8 +- layouts/_default/single.html | 7 +- layouts/partials/breadcrumb.html | 18 ++--- layouts/partials/footer.html | 15 ++-- layouts/partials/hamburgerCross.html | 1 - layouts/partials/head.html | 5 +- layouts/partials/header.html | 4 +- layouts/partials/intro.html | 2 +- layouts/partials/menu.html | 4 +- layouts/partials/metadata.html | 2 +- layouts/partials/social.html | 2 +- static/css/main.css | 152 +++++++++++++++++++---------------- 12 files changed, 117 insertions(+), 103 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index bf96aa9..f435c20 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,7 +1,7 @@ {{ define "main" }} -

- {{- .Title -}} +

+ {{ if eq .Kind "taxonomy" }}#{{ end }}{{- .Title -}}

{{ range (.Paginator .Site.Params.theme.paginateNum).Pages }} @@ -9,14 +9,14 @@ class="list-sections" style="border-top: dashed 1px; margin: 0; padding: 12px 0;" > - · {{.Site.Params.author }}

{{ .Title -}}

-

+

{{ .Summary | plainify | truncate 100 }}

diff --git a/layouts/_default/single.html b/layouts/_default/single.html index e61397a..9a029ff 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,7 +2,7 @@
-

+

{{- .Title -}}

-
by {{ .Site.Params.author }} · -
+
by {{ .Site.Params.author }} · + +
{{ .Content }}
diff --git a/layouts/partials/breadcrumb.html b/layouts/partials/breadcrumb.html index 6de8efa..32c6c5e 100644 --- a/layouts/partials/breadcrumb.html +++ b/layouts/partials/breadcrumb.html @@ -1,27 +1,27 @@ + {{ define "breadcrumbnav" }} {{ if .p1.Parent }} {{ template "breadcrumbnav" (dict "p1" .p1.Parent "p2" .p2 ) }} {{ else if not .p1.IsHome }} {{ template "breadcrumbnav" (dict "p1" .p1.Site.Home "p2" .p2 ) }} {{ end }} - - {{ if .p1.Parent }}/{{- end -}} + + + {{- if .p1.Parent -}}/{{- end -}} {{- if .p1.IsHome -}}{{- partial "icons/home" . -}}{{- end -}} - {{- if gt (len .p1.Title) 15 -}} - {{- substr .p1.Title 0 15 -}}... - {{- else -}} - {{- .p1.Title -}} - {{- end -}} {{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 29248e6..d51d779 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,4 +1,4 @@ -