diff --git a/static/css/style.css b/assets/css/style.css similarity index 100% rename from static/css/style.css rename to assets/css/style.css diff --git a/layouts/partials/head.html b/layouts/partials/head.html index ac24daa..a283657 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,25 +1,26 @@ - - - - - {{ with .Site.Params.name }}{{ end }} - {{ with .Site.Params.description }}{{ end }} - {{ .Hugo.Generator }} - {{ if .IsHome }}{{ .Title }}{{ else }}{{ .Title }} · {{ .Site.Title }}{{ end }} - - - {{ range .Site.Params.customCSS }} - - {{ end }} + + + + + {{ with .Site.Params.name }}{{ end }} + {{ with .Site.Params.description }}{{ end }} + {{ .Hugo.Generator }} + {{ if .IsHome }}{{ .Title }}{{ else }}{{ .Title }} · {{ .Site.Title }}{{ end }} + + {{ $style := resources.Get "css/style.css" | resources.Minify | resources.Fingerprint }} + + {{ range .Site.Params.customCSS }} + + {{ end }} - {{ if .Site.Params.enableRSS }} - - {{ end }} + {{ if .Site.Params.enableRSS }} + + {{ end }} - {{ template "_internal/opengraph.html" . }} - {{ template "_internal/google_news.html" . }} - {{ template "_internal/schema.html" . }} - {{ template "_internal/twitter_cards.html" . }} - + {{ template "_internal/opengraph.html" . }} + {{ template "_internal/google_news.html" . }} + {{ template "_internal/schema.html" . }} + {{ template "_internal/twitter_cards.html" . }} +