diff options
author | Dillon <dillonzq@outlook.com> | 2020-03-14 19:39:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-14 19:39:23 +0300 |
commit | 344f2f809c2a90a3855020fd6b270f031469a92f (patch) | |
tree | 2ac8de3ccc650b477f358ebfbff5542b7c09c1ea /layouts | |
parent | fc10c46d37646cb5d1874ba598de02a933ca83af (diff) |
feat(style): adjust mobile TOC style (#155)
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/assets.html | 6 |
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 */ -}} |