Comments (5)
你需要在md文件中加入相应的字段
from hexo-theme-pure.
@YangBo29 作者的主题手册上有讲解,将该主题目录下的对应文件夹复制到你的source目录下即可。
例如:将pure/_source/books复制到 博客根目录/source/ 下,就可以在主页链接到书单目录(豆瓣书单链接需要自己配置)
from hexo-theme-pure.
我的标签和分类为什么是空的,哪里可以设置吗
from hexo-theme-pure.
分类和标签与下面的做法相同
Github respostory
复制theme/pure/_source/ 目录下repository文件夹到blog path/source/ 目录下
Github
github:
username: *** # github username
豆瓣书单
复制theme/pure/_source/ 目录下books文件夹到blog path/source/ 目录下
douban 豆瓣书单
douban:
user: *** # 豆瓣用户名
start: 0 # 从哪一条记录开始
count: 100 # 获取豆瓣书单数据条数
友情链接
复制theme/pure/_source/ 目录下links文件夹到blog path/source/ 目录下
在 hexo 目录下的 source 文件夹内创建一个名为 _data(禁止改名)的文件夹。
然后在文件内创建一个名为 links.yml 的文件,在其中添加相关数据即可。
from hexo-theme-pure.
想请教一下这个问题解决了么,path/source/是需要自己创建的文件么,我配置不上,请指教一下blog path/source/ 这个路径是哪来的
from hexo-theme-pure.
Related Issues (20)
- 请问怎么修改字体以及代码块的样式? HOT 1
- hexo更新到5.4了,计划重新写个主题,有没有同学支持? HOT 1
- 本地预览是没问题的,但是部署到githubpPage就会丢失了样式 HOT 1
- 下一页按钮出现代码
- 还有人在维护吗 HOT 1
- 取消显示侧边栏 toc 目录导航的序号
- 首页导航修改后多出menu. HOT 1
- gitalk评论会显示403的问题解决 HOT 2
- 部分js加载时间超长且导致页面加载缓慢的问题解决方案
- 如何在文章中插入图片,使用图床 HOT 1
- valine 评论无法使用
- 如何跳转站外链接 HOT 1
- 你好公式\\无法换行怎么解决
- 如何自己添加需要的icon
- 你好,文章表格过宽时,右边内容被覆盖,建议增加表格横向滚动条,谢谢
- 小白不会搞(求助 HOT 2
- 添加多个categories的时候,标签页面显示的浏览器地址不是根据categories平铺的而是叠加的 HOT 1
- 黑夜模式
- 分类模块下的文章排序很乱,既不按日期来也不按标题标号来,有方法解决吗?
- 一直好用突然报错Please make sure you have the correct access rights and the repository exists. HOT 1
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 hexo-theme-pure.