From e8d4288574e2c8309d77932f5ac511da8664ad41 Mon Sep 17 00:00:00 2001
From: amzrk2
Date: Sun, 7 Jun 2020 20:37:14 +0800
Subject: Update browser detection
---
layouts/partials/scripts-front.html | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
(limited to 'layouts/partials')
diff --git a/layouts/partials/scripts-front.html b/layouts/partials/scripts-front.html
index c516aad..6b4d78b 100644
--- a/layouts/partials/scripts-front.html
+++ b/layouts/partials/scripts-front.html
@@ -13,16 +13,15 @@
\ No newline at end of file
--
cgit v1.2.3
From 12aefd99608907bb1fbc834433776bf507edfee5 Mon Sep 17 00:00:00 2001
From: amzrk2
Date: Mon, 8 Jun 2020 10:42:07 +0800
Subject: Load icons and prism asynchronously
---
layouts/partials/head.html | 2 +-
layouts/partials/scripts-end.html | 17 +++++++++--------
2 files changed, 10 insertions(+), 9 deletions(-)
(limited to 'layouts/partials')
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 2d7362c..256792c 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -34,7 +34,7 @@
{{ if .Site.Params.mainAssetsCDN }}
-
+
{{ else }}
{{ if .Site.Params.useHugoPipes }}
{{ $options := (dict "targetPath" "assets/css/fuji-custom.min.css" "outputStyle" "compressed") }}
diff --git a/layouts/partials/scripts-end.html b/layouts/partials/scripts-end.html
index 3cbc866..d22c756 100644
--- a/layouts/partials/scripts-end.html
+++ b/layouts/partials/scripts-end.html
@@ -1,14 +1,15 @@
-
-
-
-
+
+
+
+
+
+
+
{{ if .Site.Params.mainAssetsCDN }}
-
+
{{ else }}
-
+
{{ end }}
-
-
{{ with .Params.playerURL }}
--
cgit v1.2.3
From 5f9a2b34b86cc11406b046c557ea86f18973af26 Mon Sep 17 00:00:00 2001
From: amzrk2
Date: Thu, 11 Jun 2020 20:30:31 +0800
Subject: Remove dist
---
layouts/partials/head.html | 5 +----
layouts/partials/scripts-end.html | 4 ----
2 files changed, 1 insertion(+), 8 deletions(-)
(limited to 'layouts/partials')
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 256792c..0603c4d 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -33,9 +33,6 @@
{{ template "_internal/twitter_cards.html" . }}
-{{ if .Site.Params.mainAssetsCDN }}
-
-{{ else }}
{{ if .Site.Params.useHugoPipes }}
{{ $options := (dict "targetPath" "assets/css/fuji-custom.min.css" "outputStyle" "compressed") }}
{{ $style := resources.Get "scss/fuji.scss" | resources.ToCSS $options }}
@@ -43,7 +40,7 @@
{{ else }}
{{ end }}
-{{ end }}
+
{{ if .Params.playerURL }}
{{ end }}
diff --git a/layouts/partials/scripts-end.html b/layouts/partials/scripts-end.html
index d22c756..862e0e2 100644
--- a/layouts/partials/scripts-end.html
+++ b/layouts/partials/scripts-end.html
@@ -5,11 +5,7 @@
-{{ if .Site.Params.mainAssetsCDN }}
-
-{{ else }}
-{{ end }}
{{ with .Params.playerURL }}
--
cgit v1.2.3