hexo theme https://github.com/Fechin/hexo-theme-diaspora
liuyuqi-dellpc 9465b75fb7 替换自己的cdn | 1 year ago | |
---|---|---|
languages | 8 years ago | |
layout | 1 year ago | |
source | 6 years ago | |
.gitignore | 8 years ago | |
LICENSE | 6 years ago | |
README.md | 6 years ago | |
_config.yml | 5 years ago |
一款基于WP移植的Hexo主题,适合喜欢摄影,影评,乐评和玩弄文字的你,干净,清新; 响应式,Ajax,更多好玩的等你来发现。
再次感谢原作者创作出这么精美的主题 @Loeify 。如果你喜欢,请捐助原作者。
$ git clone https://github.com/Fechin/hexo-theme-diaspora.git diaspora
修改Hexo配置文件 _config.yml
主题项设置为diaspora
...
theme: diaspora
...
注意:请在更时主题时备份_config.yml
配置文件
cd themes/diaspora
git pull
---
title: My awesome title
date: 2016-10-12 18:38:45
tags:
- 标签
- 标签
mp3: http://cdn.yoqi.me/blog/wp-content/uploads/2018/08/2679375568128871942_hd.mp3
cover: http://odwjyz4z6.bkt.clouddn.com/ml02/ml02cover2.jpg
---
# 头部菜单,title: link
menu:
Whoami: /whoami
Github: https://github.com/Fechin
Twitter: https://twitter.com/FechinLi
# 是否显示目录
TOC: false
# 是否自动播放音乐
autoplay: false
# 默认音乐(随机播放)
mp3:
- http://link.hhtjim.com/163/425570952.mp3
- http://link.hhtjim.com/163/425570952.mp3
# 首页封面图, 为空时取文章的cover作为封面
welcome_cover: # /img/welcome-cover.jpg
# 默认文章封面图
cover: /img/cover.jpg
# Gitalk 评论插件(https://github.com/gitalk/gitalk)
gitalk:
# 是否自动展开评论框
autoExpand: false
# 应用编号
clientID: ''
# 应用秘钥
clientSecret: ''
# issue仓库名
repo: ''
# Github名
owner: ''
# Github名
admin: ['']
# Ensure uniqueness and length less than 50
id: location.pathname
# Facebook-like distraction free mode
distractionFreeMode: false
# 网站关键字
keywords: Fechin
# 要使用google_analytics进行统计的话,这里需要配置ID
google_analytics:
# 网站ico
favicon: /img/favicon.png
# rss文件
rss: atom.xml