Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2020-03-14 19:39:23 +0300
committerGitHub <noreply@github.com>2020-03-14 19:39:23 +0300
commit344f2f809c2a90a3855020fd6b270f031469a92f (patch)
tree2ac8de3ccc650b477f358ebfbff5542b7c09c1ea /layouts
parentfc10c46d37646cb5d1874ba598de02a933ca83af (diff)
feat(style): adjust mobile TOC style (#155)
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/assets.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/layouts/partials/assets.html b/layouts/partials/assets.html
index 257a107..a7c39b4 100644
--- a/layouts/partials/assets.html
+++ b/layouts/partials/assets.html
@@ -8,7 +8,11 @@
{{- /* iconfont */ -}}
{{- if $scratch.Get "iconfont" -}}
- {{- slice "lib/iconfont/iconfont.css" | $scratch.Add "linkLocal" -}}
+ {{- with $CDN.iconfontCSS -}}
+ {{- slice . | $scratch.Add "linkCDN" -}}
+ {{- else -}}
+ {{- slice "lib/iconfont/iconfont.css" | $scratch.Add "linkLocal" -}}
+ {{- end -}}
{{- end -}}
{{- /* Smooth Scroll */ -}}