feat: 更新頁腳配置,增加導航欄和版權信息,改進樣式和結構

fix: 修改 getBgPath 函數以使用 this.url_for 獲取圖片的正確路徑
feat: 增加右側配置按鈕的動畫效果
This commit is contained in:
Jerry
2025-03-23 23:20:12 +08:00
parent a3f6b625ed
commit ca030589fb
10 changed files with 136 additions and 60 deletions

View File

@@ -60,9 +60,9 @@ script.
document.addEventListener('pjax:error', e => {
if (e.request.status === 404) {
const usePjax = !{theme.pjax && theme.pjax.enable}
!{theme.error_404 && theme.error_404.enable}
!{theme.error_404 && theme.error_404.enable}
? (usePjax ? pjax.loadUrl('!{url_for("/404.html")}') : window.location.href = '!{url_for("/404.html")}')
: window.location.href = e.request.responseURL
}
})
})()
})()