Hexo主题Yilia

hexo-theme-yilia 是为 hexo 2.4+制作的主题。
响应式设计,风格简约。

终于从octopress迁移到hexo。Yilia是自己设计的主题,分享之,有爱请自取。关于主题:

  1. 我喜欢简约。所以标签云,搜索框都拿掉了
  2. 接地气一点。所以用上了jiathis分享,友言评论,以及baidu的cdn
  3. 让大家把注意力放到内容上。这是本主题设计初衷
  4. 主题不支持IE6,7,8。以后也不会

一、使用

1. 安装

1
$ git clone https://github.com/litten/hexo-theme-yilia.git themes/yilia

2. 配置

修改hexo根目录下的 _config.ymltheme: yilia

3. 更新

1
2
cd themes/yilia
git pull

二、外观

宽屏

宽屏

宽屏文字

宽屏文字

窄屏

窄屏

同步instagram

同步instagram

移动端

移动端
移动端

三、配置

主题配置文件在主目录下的_config.yml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Header
menu:
主页: /
所有文章: /archives
# 随笔: /tags/随笔

# SubNav
subnav:
github: "https://github.com/litten"
weibo: "http://weibo.com/litten225"
rss: "http://feed.feedsky.com/litten"
# facebook: "/"
# google: "/"
# twitter: "/"
# linkedin: "/"

rss: /atom.xml

# Content
excerpt_link: more
fancybox: true

# Miscellaneous

favicon: /favicon.png

avatar: "https://avatars2.githubusercontent.com/u/2024949?v=2&s=150"
share: true
duoshuo: true