Skip to content

[Bug]: 404页面标题显示错误 #1797

@ra6b1tcom

Description

@ra6b1tcom

使用的 Butterfly 版本? | What version of Butterfly are you using?

5.5.4

是否修改過主題文件? | Has the theme files been modified?

是 (Yes)

使用的瀏覽器? | What browser are you using?

Chrome

使用的系統? | What operating system are you using?

Windows

依賴插件 | Package dependencies information

├── hexo-abbrlink@2.2.1
├── hexo-butterfly-extjs@1.5.5
├── hexo-deployer-git@4.0.0
├── hexo-generator-archive@2.0.0
├── hexo-generator-category@2.0.0
├── hexo-generator-feed@4.0.0
├── hexo-generator-index@4.0.0
├── hexo-generator-search@2.4.3
├── hexo-generator-sitemap@3.0.1
├── hexo-generator-tag@2.0.0
├── hexo-renderer-ejs@2.0.0
├── hexo-renderer-marked@7.0.1
├── hexo-renderer-pug@3.0.0
├── hexo-renderer-stylus@3.0.1
├── hexo-server@3.0.0
├── hexo-theme-landscape@1.1.0
├── hexo-wordcount@6.0.1
└── hexo@8.1.1

問題描述 | Describe the bug

浏览器标签页显示的是:网站名称 | 网站名称
正确显示:页面未找到 | 网站名称

建议:
修改scripts/helpers/page.js

修改前:if (type === 'tags' || type === 'categories') return type
修改后:if (type === 'tags' || type === 'categories' || type === '404') return type

出現問題的網站 | Website with the issue

未上线

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions