From 0b494a57824af8d2130244a20d907c5550300ffc Mon Sep 17 00:00:00 2001 From: Nishanth Shanmugham Date: Sat, 3 Dec 2016 03:01:56 -0600 Subject: [PATCH 1/5] cachebuster: wrong way around Fixes #32. --- layouts/partials/head_includes.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/layouts/partials/head_includes.html b/layouts/partials/head_includes.html index 55c4864..390cfe9 100644 --- a/layouts/partials/head_includes.html +++ b/layouts/partials/head_includes.html @@ -15,17 +15,7 @@ {{ end }} -{{ if eq true .Site.Params.cachebuster }} - - - - - -{{range .Site.Params.extracssfiles}} - -{{end}} - -{{ else }} +{{ if .Site.Params.cachebuster }} @@ -35,6 +25,16 @@ {{end}} +{{ else }} + + + + + +{{range .Site.Params.extracssfiles}} + +{{end}} + {{ end }} From be98b2e999473c04bfd15c7b4cde7cdbbcd6e17d Mon Sep 17 00:00:00 2001 From: Robin Stocker Date: Sun, 4 Dec 2016 15:47:40 +1100 Subject: [PATCH 2/5] Remove redundant text-transform in CSS --- static/css/main.css | 2 -- 1 file changed, 2 deletions(-) diff --git a/static/css/main.css b/static/css/main.css index 9d642a6..e88ba8d 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -577,7 +577,6 @@ section.main .content .markdown h6 { font-size: 18px; font-family: 'Raleway', 'Helvetica Neue', 'Arial', sans-serif; letter-spacing: -0.005rem; - text-transform: uppercase; font-weight: 700; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; @@ -604,7 +603,6 @@ section.main .content .markdown h6 { font-size: 1rem; margin-bottom: 1rem; letter-spacing: none; - text-transform: none; } section.main .content .markdown code, section.main .content .markdown pre { From 42074931438e99b6af87687808063250ef86630a Mon Sep 17 00:00:00 2001 From: Nishanth Shanmugham Date: Sat, 3 Dec 2016 23:30:17 -0600 Subject: [PATCH 3/5] Remove cachebuster until #32 is resolved. --- exampleSite/config.toml | 2 +- layouts/partials/head_includes.html | 15 --------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 61266bc..054aa78 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -19,7 +19,7 @@ blog = "blog/:slug/" author = "Arthur Dent" # gravatar = "" # do not use in the same time as Avatar # avatar = "" # path to image in static dir e.g img/avatar.png (do not use in the same time as Gravatar) -cachebuster = true +# cachebuster = false # FIXME: See issue #32. dateform = "Jan 2, 2006" dateformfull = "Mon Jan 2 2006 15:04:05 MST" description = "Don't panic" diff --git a/layouts/partials/head_includes.html b/layouts/partials/head_includes.html index 390cfe9..5c9cbf2 100644 --- a/layouts/partials/head_includes.html +++ b/layouts/partials/head_includes.html @@ -14,19 +14,6 @@ {{ end }} - -{{ if .Site.Params.cachebuster }} - - - - - -{{range .Site.Params.extracssfiles}} - -{{end}} - -{{ else }} - @@ -35,8 +22,6 @@ {{end}} -{{ end }} - Date: Mon, 5 Dec 2016 13:56:09 -0700 Subject: [PATCH 4/5] Fix archetypes error Add default.md to ensure archetypes directory exists. --- archetypes/default.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 archetypes/default.md diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..ac36e06 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,2 @@ ++++ ++++ From 8d43fe18bb7c8c3437075db5f35452d8c8c61e8f Mon Sep 17 00:00:00 2001 From: passw0rd123 Date: Tue, 6 Dec 2016 23:50:43 +0100 Subject: [PATCH 5/5] =?UTF-8?q?don=E2=80=99t=20leak=20referrer=20to=20link?= =?UTF-8?q?ed=20sites?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://webbkoll.dataskydd.net/en/ --- layouts/partials/meta.html | 1 + 1 file changed, 1 insertion(+) diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index 5dc0df1..7f09ded 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/meta.html @@ -3,4 +3,5 @@ + {{ if .Site.Params.description }}{{ end }}