{{ .icp }}

@@ -90,6 +90,7 @@
{{- end }}
{{- end }}
{{- with $ft.vendors }}
+{{ if .enable }}
+{{- end }}
{{- end }}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index e980003..a545428 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -3,6 +3,6 @@
{{- partial "head/twitter.html" . }}
{{- partial "head/googleplus.html" . }}
{{- partial "head/facebook.html" . }}
-{{ partial "head/verify.html" . }}
-{{- partial "head/style.html" . }}
-{{- partial "head/analytics.html" . }}
\ No newline at end of file
+{{- partial "head/verify.html" . }}
+{{- partialCached "head/style.html" . }}
+{{- partialCached "head/analytics.html" . }}
\ No newline at end of file
diff --git a/layouts/partials/head/analytics.html b/layouts/partials/head/analytics.html
index 3e798ed..0105e07 100644
--- a/layouts/partials/head/analytics.html
+++ b/layouts/partials/head/analytics.html
@@ -1 +1,5 @@
-{{- partial "_thirdparty/analytics/51la.html" . }}
\ No newline at end of file
+{{- with .Site.Params.analytics }}
+{{- if isset . "laid" }}
+ {{ partial "_thirdparty/analytics/51la.html" .laId }}
+{{- end }}
+{{- end }}
\ No newline at end of file
diff --git a/layouts/partials/head/meta.html b/layouts/partials/head/meta.html
index e74b0a0..338c015 100644
--- a/layouts/partials/head/meta.html
+++ b/layouts/partials/head/meta.html
@@ -1,3 +1,16 @@
+
+
+{{- if .Site.Params.darkmode }}
+
+{{- else }}
+
+{{- end }}
+{{ hugo.Generator }}
+
+
+
+
+
{{- if .IsPage }}
@@ -15,8 +28,3 @@
{{- .Scratch.Set "metaImg" $img }}
-{{- if .Site.Params.darkmode }}
-
-{{- else }}
-
-{{- end }}
diff --git a/layouts/partials/head/style.html b/layouts/partials/head/style.html
index f2f8889..c43d385 100644
--- a/layouts/partials/head/style.html
+++ b/layouts/partials/head/style.html
@@ -21,6 +21,9 @@
{{- $scss := resources.Get "css/main.scss" }}
{{- $scss = $scss | resources.ExecuteAsTemplate "main.scss" . }}
{{- $css := $scss | toCSS (dict "targetPath" "/css/main.css" "outputStyle" "expanded") }}
+{{- if hugo.IsProduction }}
+{{- $css = $css | minify | fingerprint }}
+{{- end }}
{{- if .IsPage }}