From 8d23938eedebdc4a69dc773a19195ee5348099d9 Mon Sep 17 00:00:00 2001 From: Vicky Date: Sun, 25 Mar 2018 11:55:27 -0400 Subject: Removed dead code, added default parameters, local assets. --- CHANGELOG.md | 7 +++++++ layouts/blog/list.html | 4 ++-- layouts/blog/single.html | 8 ++++---- layouts/index.html | 12 ++++++------ layouts/partials/header.html | 16 +--------------- static/img/favicon.ico | Bin 0 -> 27998 bytes 6 files changed, 20 insertions(+), 27 deletions(-) create mode 100644 static/img/favicon.ico diff --git a/CHANGELOG.md b/CHANGELOG.md index 960dd32..4dbfa9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## Version 3.3.0 - Mar 25 2018 + +- Default parameters implemented so theme renders without custom config parameters +- Local assets placed + +*Thank you very much to @paskal and @Hanzei for your important contributions!* + ## Version 3.2.1 - Feb 3 2018 - Allow highlight theme choice using built-in Chroma and `pygmentsStyle` config diff --git a/layouts/blog/list.html b/layouts/blog/list.html index 8da589e..e1a31fc 100644 --- a/layouts/blog/list.html +++ b/layouts/blog/list.html @@ -3,12 +3,12 @@
-
+

{{ .Site.Params.blogHead | default "Blog" }}

-
+
{{ partial "nav-list.html" . }} diff --git a/layouts/blog/single.html b/layouts/blog/single.html index fe9565b..914af05 100644 --- a/layouts/blog/single.html +++ b/layouts/blog/single.html @@ -3,18 +3,18 @@
-
+

{{ .Site.Params.blogHead | default "Blog" }}

-
+
{{ partial "nav-single.html" . }}
-
+

{{ .Title }}

{{ .Date.Format (.Site.Params.dateform | default "Jan 02, 2006") }} | @@ -57,7 +57,7 @@
-
+
{{ .Content }}
diff --git a/layouts/index.html b/layouts/index.html index 5d922c1..6aa797c 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -9,29 +9,29 @@
-

+

Hi, I'm {{ .Site.Params.firstName | default "Introduction" }}.

-

+

{{ .Site.Params.tagLine }}

-
+
{{ partial "social.html" . }}
-
+

-
+
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index acf060a..3645d46 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -43,16 +43,8 @@ {{ if .Site.Params.cacheBuster }} {{ $t := now.Unix }} - {{range .Site.Params.extraCSSFiles}} - - {{ end }} {{ else }} - - {{range .Site.Params.extraCSSFiles}} - - {{end}} - {{ end }} @@ -61,13 +53,7 @@ {{- end }} - + {{ template "_internal/google_analytics_async.html" . }} diff --git a/static/img/favicon.ico b/static/img/favicon.ico new file mode 100644 index 0000000..9924827 Binary files /dev/null and b/static/img/favicon.ico differ -- cgit v1.2.3