hexo-theme-clarity 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/_config.yml CHANGED
@@ -125,28 +125,25 @@ widgets: ## Seven widgets in sidebar provided: search, info, category, tag, rece
125
125
  - info
126
126
  - category
127
127
  - tag
128
- - recent_posts
129
- - recent_comments
130
- - links
128
+ # - recent_posts
129
+ # - recent_comments
130
+ # - links
131
131
 
132
132
  info:
133
133
  avatar: /img/avatar.png
134
134
  discription: To be a better man.
135
135
  outlinkitem:
136
- - name: twitter
137
- outlink: https://twitter.com/username
138
- message: Twitter
139
- - name: github
136
+ - name: github # fa-{name}
140
137
  outlink: https://github.com/username
141
138
  message: Github
142
139
  - name: envelope
143
140
  outlink: mailto:admin@domain.com
144
141
  message: Email
145
- color: '#007bff'
142
+ # color: '#007bff'
146
143
  - name: rss
147
144
  outlink: /atom.xml
148
145
  message: RSS
149
- color: '#ff5722'
146
+ # color: '#ff5722'
150
147
 
151
148
  links:
152
149
  - title: site-name1
@@ -14,8 +14,9 @@
14
14
  .site-info__item
15
15
  div.item__label 分类
16
16
  div.item__value= site.categories.length
17
- .social-info
18
- - for (var item of theme.info.outlinkitem)
19
- - var styled= item.color ? {color: item.color} : undefined
20
- a.info-icon(href=item.outlink, title=item.message, target='_blank', style=styled)
21
- i.fa(class='fa-' + item.name)
17
+ if theme.info.outlinkitem
18
+ .social-info
19
+ - for (var item of theme.info.outlinkitem)
20
+ - var styled= item.color ? {color: item.color} : undefined
21
+ a.info-icon(href=item.outlink, title=item.message, target='_blank', style=styled)
22
+ i.fa(class='fa-' + item.name)
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "hexo-theme-clarity",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Hexo Theme Clarity",
5
+ "repository": "guozhenyi/hexo-theme-clarity",
5
6
  "keywords": [
6
7
  "hexo",
7
8
  "theme",
package/.travis.yml DELETED
@@ -1,5 +0,0 @@
1
- language: node_js
2
- node_js:
3
- - "4.1"
4
- install:
5
- npm install