mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-16 19:50:55 +08:00
✨ feat: 在設置裏配置js/css(CDN_USE)時可以設定其他參數 closes #152
✨ feat: readmode下可以切換darkmode和lightmode 💄 fix: 高分辨率下的界面適配 closes #163 🐛 fix: 修復DarkMode下,note標簽的顯示bug
This commit is contained in:
@@ -59,8 +59,7 @@ script(src=url_for(theme.CDN.js_cookies))
|
||||
if theme.darkmode.enable
|
||||
!=partial('includes/head/darkmode', {}, {cache:theme.fragment_cache})
|
||||
|
||||
each item in theme.CDN_USE.css
|
||||
link(rel='stylesheet', href=url_for(item))
|
||||
!=fragment_cache('my_css', function(){return my_html('css',theme.CDN_USE.css)})
|
||||
|
||||
if theme.fontawesome_v5 && theme.fontawesome_v5.enable
|
||||
link(rel='stylesheet', href=url_for(theme.CDN.fontawesome_v5))
|
||||
|
||||
Reference in New Issue
Block a user