Comments (2)
@lwugang 首先很抱歉,最近因为毕业论文,所以很少看github,请原谅现在才回复。
emmm....其次,作品界面有很大一部分是以硬编码形式写的,而且自己制定了一些规则,所以并不是很通用。
如果实在是想配置,我只能根据我印象和自己代码的理解来回答你,毕竟有点久远。如果有任何问题,可以继续在这个issue下面提出,谢谢~
-
运行命令
hexo new page "demo"
或直接在你的source目录下(不是主题的source)创建demo文件夹,文件夹下边创建文件index.md
,编辑内容的type为demo,可以参考我的博客源文件及结构。 -
然后在source目录(同上)创建
_data
文件夹,文件夹下面创建demo.yml
数据文件,数据文件的格式可以参考我的数据文件。第一个Netease为显示的title,后面是数组,请保持字段一样!另外,注意url字段的地址! -
运行,在地址后面加上
/demo
查看效果,如果想放在导航栏,请参考导航栏的配置。 -
有任何问题记得反馈~
附上大概的结构图:
from hexo-theme-ylion.
谢谢
from hexo-theme-ylion.
Related Issues (20)
- iframe 沒辦法置中 HOT 2
- 可以部分文章指定縮圖嗎? HOT 8
- tag 分類文章清單,有辦法呈現更多標題或摘要嗎?目前作法很難了解要不要看這篇文章 HOT 5
- LeanCloud REST API 可能有需要更新
- 文章发表的时间显示的不对,总是显示的上午时间 HOT 15
- 删除文章后,热门文章处还会显示已删除的文件 HOT 2
- 对于ylion 更换代码主题的小疑惑 HOT 4
- leancloud统计有问题 HOT 1
- 文章不支持<!--more-->吗... HOT 2
- LeanCloud您的应用使用超限 HOT 1
- markdown 中使用 [TOC] 生成目录后,为啥在博客上不显示对应的目录呢? HOT 1
- Disqus 設定後不能正常建置 HOT 1
- hexo g "color is required!" error HOT 4
- 如何开启评论功能的疑问
- 请问有没有计划支持valine评论 HOT 1
- Translation
- 遇到报错无法使用
- 预览页面链接失效
- 刚初始化的仓库报错
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-ylion.