Comments (1)
你好,很抱歉目前 frame 的网页标题是固定的默认英文。目前如果你想自定义页面标题的话,可以前往 frame 主题文件夹路径下 layout/partials/head.ejs
文件中寻找以下代码:
var title = page.title;
if (is_archive()){
title = __('Archive');
if (is_month()){
title += ': ' + page.year + '/' + page.month;
} else if (is_year()){
title += ': ' + page.year;
}
} else if (is_category()){
title = __('Category') + ': ' + page.category;
} else if (is_tag()){
title = __('Tag') + ': ' + page.tag;
}
然后按照你自己的需要自定义 title 的内容即可。
另外,我会把自定义网页标题的功能加入到未来的 to-do list 里面,可能暑假时会完成一下🤣
from frame.
Related Issues (20)
- 希望增加搜索功能,十分感谢! HOT 1
- 哥,这个主题是不是不支持index generator插件
- 为啥menu一会是大写一会是小写 HOT 1
- 文章目录
- 鼓励 HOT 1
- Path error without hexo-generator-searchdb installed. HOT 1
- In mobile, menu button is not working HOT 2
- 哥valine安装时1.4.16版本,能否更新到1.5版本
- 哥valine安装时1.4.16版本,能否更新到1.5版本
- 希望能增加header悬浮以及目录悬浮的功能
- 希望能增加header悬浮以及目录悬浮的功能
- 尝试进入gallery界面时提示这个
- 特别喜欢这个主题!+ 蹲一个深色模式切换功能
- 改样式不生效啊?
- 请问各位,放大之后右上角的MENU按钮不能按是怎么回事 HOT 2
- 搜索功能无效 HOT 2
- 本地预览没问题,但是deploy到github之后一片空白 HOT 1
- 减小博客左右空白的宽度
- 主题不支持categories
- 手机主页的Menu按钮没反应
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frame.