mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-12 22:17:06 +08:00
✨ 增加mac light 代碼框 ✨ 增加文章過期提醒配置 ✨ 文章copyright 可單獨配置 ✨ card-category 中category名稱和數字限制一行顯示 ✨ 簡繁轉換優化,placeholder文字也會被轉換 🐛 修復配置PWA參數時,如果網站是子目錄時,會出現加載不到文件的bugs 調整當card-category有收縮按鈕時的顯示佈局
14 lines
685 B
Plaintext
14 lines
685 B
Plaintext
link(rel="manifest" href=url_for(theme.pwa.manifest))
|
|
if(theme.pwa.theme_color)
|
|
meta(name="theme-color" content=theme.pwa.theme_color)
|
|
if(theme.pwa.theme_color)
|
|
meta(name="msapplication-TileColor" content=theme.pwa.theme_color)
|
|
if(theme.pwa.apple_touch_icon)
|
|
link(rel="apple-touch-icon" sizes="180x180" href=url_for(theme.pwa.apple_touch_icon))
|
|
if(theme.pwa.favicon_32_32)
|
|
link(rel="icon" type="image/png" sizes="32x32" href=url_for(theme.pwa.favicon_32_32))
|
|
if(theme.pwa.favicon_16_16)
|
|
link(rel="icon" type="image/png" sizes="16x16" href=url_for(theme.pwa.favicon_16_16))
|
|
if(theme.pwa.mask_icon)
|
|
link(rel="mask-icon" href=url_for(theme.pwa.mask_icon) color="#5bbad5")
|