Hexo Theme Setting

Hueman Theme로 변경하기

  1. 블로그의 root 폴더에서 아래 명령을 실행시킨다.
1
2
3
# 아래 명령어는 github의 해당 theme repo주소에서 다운받고
# 블로그 내부에 있는 themes 라는 폴더에 hueman이라는 폴더를 생성한다.
$ git clone https://github.com/ppoffice/hexo-theme-hueman.git themes/hueman
  1. 블로그의 root 폴더에 있는 _config.yml에서 환경설정을 한다.

    1
    2
    3
    4
    # Extensions
    ## Plugins: http://hexo.io/plugins/
    ## Themes: http://hexo.io/themes/
    theme: hueman
  2. blog/themes/hueman 폴더에 있는 _config.yml.example파일의 이름을 _config.yml로 수정한다.

현재 블로그의 themes/hueman/_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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Menus
menu:
Home: /
# Delete this row if you don't want categories in your header nav bar
Categories:
About: /
# Customize
customize:
logo:
width: 165
height: 60
url: images/logo-header.png
theme_color: '#206bde'
highlight: monokai-sublime #source/css/_highlight 폴더에 설정할 수 있는 값 확인 가능
sidebar: right # sidebar position, options: left, right
thumbnail: false # enable posts thumbnail, options: true, false
favicon: # path to favicon
social_links: # for more icons, please see http://fontawesome.io/icons/#brand
# twitter: /
# facebook: /
# google-plus: /
github: https://github.com/owl423
# weibo: /
# rss: /
# Widgets
# 위젯 설정
widgets:
- recent_posts
- category
- archive
- tagcloud
- links
# Search
# 검색기능 옵션
search:
insight: true # you need to install `hexo-generator-json-content` before using Insight Search
swiftype: # enter swiftype install key here
baidu: false # you need to disable other search engines to use Baidu search, options: true, false
# Comment
# 댓글기능 모듈
comment:
disqus: hexo-theme-hueman # enter disqus shortname here
duoshuo: # enter duoshuo shortname here
youyan: # enter youyan uid here
facebook: # enter true to enable
isso: # enter the domain name of your own comment isso server eg. comments.example.com
# Share
share: default # options: jiathis, bdshare, addtoany, default
# Plugins
plugins:
lightgallery: true # options: true, false
justifiedgallery: true # options: true, false
google_analytics: # enter the tracking ID for your Google Analytics
baidu_analytics: # enter Baidu Analytics hash key
mathjax: false # options: true, false
# Miscellaneous
miscellaneous:
open_graph: # see http://ogp.me
fb_app_id:
fb_admins:
twitter_id:
google_plus:
links:
Hexo: http://hexo.io
Share