From 8d23938eedebdc4a69dc773a19195ee5348099d9 Mon Sep 17 00:00:00 2001 From: Vicky Date: Sun, 25 Mar 2018 11:55:27 -0400 Subject: [PATCH] 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 0000000000000000000000000000000000000000..99248276f037b05ffdc5af5579a7410917196558 GIT binary patch literal 27998 zcmeI3d5|4N8Ng@RBult9$YBIzmph!s$n}R1p#qk2h*YFdOMw!QLcl64Pb{)%DNv#U zA|;5B5{pB{LIo8g;UQ`vx1wAEdErJNiE>4VdH#Oyy-vn)=H0V9Px8TUzv-UtufOi; z>G^u*C5i^3$9zD(Q=@1hd84DX^i`BQaDynCIkTSLE{c|H z8AY>Z)zY`lh@uPUL=h^YC>Cq^s3^kD{p;7LrrY~7Nb#NEDA=n>)ybTv2NB*y+rnGn zRCpAgfPEoN@GhDQSHfT5DR>edf>)sep3{C(wkP9icm*t%#RATaLR=WZ=qAXjlgz(? zvRl**FsjkHZPX36&Y_NDx(h7opuS_dGkgfb*aX|HXzN(_1XuyB)QOj|j&%=#7dxnL zokL+WxV?k=cTi_@P>zFk#=x@2Td^+dpwEV8bI1N$#Sb1!o=WI7w zm#nG`@Yi|eb#YEzRmWrVypJr?s;osp$&|`1QM8;{ScVdeHL&hEv0Qm5idN36tux-} zGr{$%Dy&&utTQzm>3^q??R?n|HcT(lQLgLB{_tJ62kwHspdDdUqK&}y&ihif2K_w^ z{tjVIe3N6_Y(?Hgp~K)i@H;5O^Y9!z0{R-Cx6hE?6PgKEuxj@==y?6$W0w8{O7p z|ATegM19e9(8(Ays^c|v{FTpw*St~rcFt+*^AKc54jzJbY&0tCy|hy>j`sdN8QNLT zvh2GCoKm-mS|#gpbS`wW{#f@s&{mqbex3m@K$d@5`PQ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