We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
那个作品的界面怎么配
The text was updated successfully, but these errors were encountered:
@lwugang 首先很抱歉,最近因为毕业论文,所以很少看github,请原谅现在才回复。
emmm....其次,作品界面有很大一部分是以硬编码形式写的,而且自己制定了一些规则,所以并不是很通用。
如果实在是想配置,我只能根据我印象和自己代码的理解来回答你,毕竟有点久远。如果有任何问题,可以继续在这个issue下面提出,谢谢~
运行命令hexo new page "demo"或直接在你的source目录下(不是主题的source)创建demo文件夹,文件夹下边创建文件index.md,编辑内容的type为demo,可以参考我的博客源文件及结构。
hexo new page "demo"
index.md
然后在source目录(同上)创建_data文件夹,文件夹下面创建demo.yml数据文件,数据文件的格式可以参考我的数据文件。第一个Netease为显示的title,后面是数组,请保持字段一样!另外,注意url字段的地址!
_data
demo.yml
运行,在地址后面加上/demo查看效果,如果想放在导航栏,请参考导航栏的配置。
/demo
有任何问题记得反馈~
附上大概的结构图:
Sorry, something went wrong.
谢谢
No branches or pull requests
那个作品的界面怎么配
The text was updated successfully, but these errors were encountered: