This repository has been 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!
How to customize widget in footer?
在_config.yml
文件中配置:
# widget
# title: 标题(如:关于本站/友情链接/关于作者...)
# content: 内容(html标签)
widget:
title: 关于本站
content: <p>替换为你的网站简介</p>
## 如何在文章中添加评论? How to add comment field in your article?
编辑站点的 _config.yml
,添加 disqus_shortname
字段,设置如下
disqus_shortname: your-disqus-shortname
# 多说评论则替换成如下配置:
# duoshuo_shortname: your-duoshuo-shortname
如需取消某个页面的评论,在md文件的front-matter中增加
Disable comment in a page by this config
comments: false
## 如何自定义页脚? How to customize page footer?
编辑站点的 _config.yml
,添加
footer: 你要自定义的内容(支持HTML标签)
# 举例:
# footer: Powered by <a href="https://hexo.io/">Hexo</a> with Theme Daily
## 如何修改「与我联系」栏目中的内容? How to modify socail fields ?
编辑站点的 _config.yml
,添加或修改 social
字段:
social:
github: https://github.com/yourid
weibo: http://weibo.com/yourid
mail: mailto:[email protected]
twitter: https://twitter.com/yourid
--- > wiki仍在更新中... > [我的 _config.yml 示例 ](https://github.com/Hinpc/hexo-blog-generator/blob/master/_config.yml)