diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 26ed7e6..591a1bf 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,13 +1,4 @@ - -{{ $.Scratch.Delete "social-list" }} -{{ $social := slice "twitter" "github" "instagram" }} -{{ range $social }} -{{ if isset site.Params . }} -{{ $.Scratch.Add "social-list" (slice .) }} -{{ end }} -{{ end }} - {{ partial "head.html" . }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 694be9d..aae5d29 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -17,9 +17,7 @@ {{ $app_css := resources.Get "app.css" }} - {{ $custom_css := resources.Get "style.css" }} - {{ $css := slice $app_css $custom_css | resources.Concat "app.css" | minify }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 46e15c1..ec26b54 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -12,16 +12,15 @@ {{ end }} - {{ with $.Scratch.Get "social-list" }} - {{ end }}