This repository was archived by the owner on Jul 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
Home
Gallen.Hu edited this page Dec 1, 2016
·
15 revisions
Welcome to the hexo-theme-Daily wiki!
在_config.yml文件中配置:
# widget
# title: 标题(如:关于本站/友情链接/关于作者...)
# content: 内容(html标签)
widget:
title: 关于本站
content: <p>替换为你的网站简介</p>## 如何在文章中添加评论? 编辑站点的 `_config.yml` ,添加 `disqus_shortname` 字段,设置如下 ```yml disqus_shortname: your-disqus-shortname # 多说评论则替换成如下配置: # duoshuo_shortname: your-duoshuo-shortname ``` 如需取消某个页面的评论,在md文件的front-matter中增加 ``` comments: false ```
## 如何自定义页脚? 编辑站点的 `_config.yml`,添加 ```yml footer: 你要自定义的内容(支持HTML标签) # 举例: # footer: Powered by Hexo with Theme Daily ```
## 如何修改「与我联系」栏目中的内容? 编辑站点的 `_config.yml`,添加或修改 `social` 字段: ``` social: github: https://github.com/yourid weibo: http://weibo.com/yourid mail: mailto:yourmail@gmail.com twitter: https://twitter.com/yourid ```
--- > wiki仍在更新中... > [我的 _config.yml 示例 ](https://github.com/Hinpc/hexo-blog-generator/blob/master/_config.yml)