From dfb6e1f80754c1c8f2d4d332c5292319f008a67b Mon Sep 17 00:00:00 2001
From: amzrk2
Date: Wed, 27 May 2020 22:53:13 +0800
Subject: v2 original port
---
layouts/partials/head.html | 77 ++++++++++++++++++++++++----------------------
1 file changed, 40 insertions(+), 37 deletions(-)
(limited to 'layouts/partials/head.html')
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 134f6e4..c306ade 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -18,51 +18,54 @@
{{ else }}
{{ .Title }} - {{ .Site.Title }}
{{ end }}
-
-
+{{ if or (.Params.author) (.Site.Params.author) }}
+
+{{ end }}
+{{ if or (.Params.description) (.Site.Params.description) }}
+
+{{ end }}
{{ if .Params.tags }}
{{ end }}
+
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }}
-{{ template "_internal/google_analytics_async.html" . }}
-
-{{ $options := (dict "targetPath" "css/main.min.css" "outputStyle" "compressed") }}
-{{ $style := resources.Get "sass/main.scss" | resources.ToCSS $options }}
-
+
+{{ $sass := resources.Get "fuji.scss" }}
+{{ $options := (dict "targetPath" "assets/css/fuji.min.css" "outputStyle" "compressed" "enableSourceMap" true) }}
+{{ $style := $sass | resources.ToCSS $options }}
+
-
-{{ if .Site.Params.useCDN }}
-
-
-
-
-{{ if or (.Site.Params.playerURL) (.Params.playerURL) }}
-
-
-{{ end }}
-
+{{ if .Site.Params.useResourceCDN }}
+
+
+
+
+
+
+
{{ else }}
-{{ $jquery := resources.Get "js/jquery.min.js" }}
-
-{{ $lazysizes := resources.Get "js/lazysizes.min.js" }}
-
-{{ $fontawesome := resources.Get "css/fontawsome.min.css" }}
-
-{{ $zoom := resources.Get "js/medium-zoom.min.js" }}
-
-{{ if or (.Site.Params.playerURL) (.Params.playerURL) }}
-{{ $aplayerCSS := resources.Get "css/APlayer.min.css" }}
-
-{{ $aplayerJS := resources.Get "js/APlayer.min.js" }}
-
-{{ end }}
+
+
+
+
+
+
+
{{ end }}
-
-{{ if or (.Params.math) (.Site.Params.math) }}
-
-
-
+{{ with .Site.GoogleAnalytics }}
+
+
+
{{ end }}
\ No newline at end of file
--
cgit v1.2.3