mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-12 14:07:06 +08:00
feat: 可配置最新評論的緩存時間 fix: 修復pjax下不會跳轉404頁面的bug fix: 修復手持設備橫向翻轉時,menu 沒有進行判斷,而導致樣式錯亂的bug fix: 修復文字點擊關閉random無效的bug fix: 修復子目錄下,打賞圖片跳轉鏈接會錯誤的bug improvement: 文章版權右上角改為 版權icon improvement: pangu的操作範圍增大到 body-wrap裏的內容 improvement: pug 判斷優化 improvement: 最新評論js優化 remove: 移除 fragment_cache 配置(默認開啟) remove: 移除百度推送(百度已棄用)和百度轉碼
25 lines
881 B
Plaintext
25 lines
881 B
Plaintext
link(rel="preconnect" href="//cdn.jsdelivr.net")
|
|
|
|
if theme.google_analytics
|
|
link(rel="preconnect" href="//www.google-analytics.com" crossorigin='')
|
|
|
|
if theme.baidu_analytics
|
|
link(rel="preconnect" href="//hm.baidu.com")
|
|
|
|
if theme.tencent_analytics
|
|
link(rel="preconnect" href="//pingjs.qq.com")
|
|
|
|
if theme.cnzz_analytics
|
|
link(rel="preconnect" href="//s4.cnzz.com")
|
|
|
|
if theme.cloudflare_analytics
|
|
link(rel="preconnect" href="//static.cloudflareinsights.com")
|
|
|
|
if theme.microsoft_clarity
|
|
link(rel="preconnect" href="//www.clarity.ms")
|
|
|
|
if theme.blog_title_font && theme.blog_title_font.font_link && theme.blog_title_font.font_link.indexOf('//fonts.googleapis.com') != -1
|
|
link(rel="preconnect" href="//fonts.googleapis.com" crossorigin='')
|
|
|
|
if theme.busuanzi.site_uv || theme.busuanzi.site_pv || theme.busuanzi.page_pv
|
|
link(rel="preconnect" href="//busuanzi.ibruce.info") |