From 890389b654f4cb911d0dab6d518eb63033099a89 Mon Sep 17 00:00:00 2001 From: Marcel Schneider Date: Sun, 26 Mar 2017 19:29:02 +0200 Subject: [PATCH] Strip down layout Remove all styles and scripts which are unneeded in my eyes --- layouts/_default/single.html | 5 ----- layouts/partials/head.html | 7 ------- layouts/partials/js.html | 6 ------ 3 files changed, 18 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index f210952..101eaee 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -30,13 +30,8 @@ {{ .Site.Params.aboutAuthor }} {{ with .Site.Params.twitter }}{{ end }} -
- {{ partial "share.html" . }} -
- {{ template "_internal/disqus.html" . }} - {{ partial "latest-posts.html" . }} {{ partial "footer.html" . }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 6871de0..ac24daa 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -10,17 +10,10 @@ {{ if .IsHome }}{{ .Title }}{{ else }}{{ .Title }} · {{ .Site.Title }}{{ end }} - {{ range .Site.Params.customCSS }} {{ end }} - {{ if eq .Site.Params.iconFont "font-awesome" }} - - {{ else }} - - {{ end }} - {{ if .Site.Params.enableRSS }} {{ end }} diff --git a/layouts/partials/js.html b/layouts/partials/js.html index 028d84b..252c3f9 100644 --- a/layouts/partials/js.html +++ b/layouts/partials/js.html @@ -1,10 +1,4 @@ - - - - - {{ range .Site.Params.customJS }} {{ end }} -{{ template "_internal/google_analytics.html" . }}