Theme Yelee relies on Hexo-Theme-Yilia, thanks for the author Litten. Fix some bugs, change lots of styles, add several features. And then I made the theme. Yelee is mainly designed for fluent text reading. I change styles and add functions, meanwhile, try hard to keep this theme simple, stupid and clear. Theme DEMO: MOxFIVE's Blog
本主题 Yelee 基于主题 Hexo-Theme-Yilia 修改而来,在此感谢原作者 Litten。修复了一些 bugs,改变了大量的样式,添加了不少特性。对原主题百般折腾后,发觉变动越来越大,索性就发布个新主题了,主题随我微博名叫 "Yelee" 。个人喜欢简洁的样式,重视内容的浏览,同时希望博客作为个人网站,能稍微凸显出博主个性。各种修改折腾大抵基于以上考虑。主题实际效果,请访问本人博客查看:MOxFIVE's Blog
git clone https://github.com/MOxFIVE/hexo-theme-yelee.git themes/yelee
Change theme field in Hexo root's _config.yml file. 修改 Hexo 根目录对应配置文件。
theme: yelee
cd themes/yelee
git pull
- | Chs | En |
---|---|---|
1 | 嵌入边栏的文章目录 | Flexible table of contents |
2 | 透明化背景,随机背景大图 | Transparent & Random background |
3 | 页内跳转按钮 | Scrolling button |
4 | 文章版权等信息显示 | Copyright info. |
5 | 文章导航切换按钮 | Post navigation button |
6 | 网站计数 | Site counter |
cd to your hexo folder and run this code:
使用以下代码添加一个新页面:
hexo new page about
hexo new page tags
Change image list in: 修改背景图地址:
themes/yelee/layout/_partial/background.ejs
Remove background image and use white-gray theme by:
取消网页背景图,使用淳朴的灰白主题
themes/yelee/_config.yml
-background_image: false
hexo new page 404
And then set permalink: /404
in /source/404/index.md
front matter.
在 themes/yelee/_config.yml
中,按 duoshuo: duoshuo-key
填写。
注册多说后,地址前面的就是你的 duoshuo-key http://duoshuo-key.duoshuo.com
Remove toc and the button via putting toc: false
before "---" at [post].md.
文章中默认显示目录和对应切换按钮,在文章 “---” 前输入 toc: false
关闭目录。
Hide this via putting original: false
to post's front-matter.
在文章顶部插入行 original: false
关闭文章版权声明框
Install plugin: hexo-generator-feed
Install plugin: hexo-generator-seo-friendly-sitemap
百度专用: hexo-generator-baidu-sitemap
替换路径: /yelee/source/apple-touch-icon.png