Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit07dceb8

Browse files
committed
update to v1.3.0
1 parent5fe4c3c commit07dceb8

34 files changed

+3618
-8427
lines changed

‎CHANGELOG.md‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
#Changelog
22

3+
##🚀 1.3.0 (Oct 18, 2019)
4+
5+
Replenish the UI, a much more smooth and elegant! 🔆
6+
7+
###Features ✨
8+
- Added post category display next to post date!
9+
10+
###Changes 🙌
11+
- Replenished overall UI, looks much more smooth and elegant.
12+
- Added water waves for the reading tracking ball! 🔵
13+
- Upgraded all the control icons.
14+
- Replenished the playing tracking effect.
15+
- Replenished all the responsive styles
16+
- Css changed to use stylus instead of traditional css, for easier editing.
17+
- Moved all the plugin js and css to CDN, to speed up blog start up speed.
18+
19+
###Bug fixes 🐛
20+
- Fixed the language problem with loading more.
21+
- Fixed the article comments are same for all articles.
22+
323
##🚀 1.2.0 (Oct 15, 2019)
424

525
Enhanced bunch of features and add bunch of fun stuffs. Hope you all enjoy them!

‎README.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
#Hexo-theme-obsidian
22
>A dark Hexo theme, it's responsive, simple but elegant.
3-
>>最新版本: v1.2.0
3+
4+
`Latest version: v1.3.0`
45

56
**[PREVIEW](http://tridiamond.me)** |
67
**[中文文档](https://github.com/TriDiamond/hexo-theme-obsidian/blob/master/README_CN.md)** |
78
**[CHANGES](https://github.com/TriDiamond/hexo-theme-obsidian/blob/master/CHANGELOG.md)**
89

910

10-
![screenshot](https://s2.ax1x.com/2019/10/01/uNBcND.png)
11+
![screenshot](https://res.cloudinary.com/tridiamond/image/upload/v1571332123/blog/A-Obsidian_mlnj3q.png)
1112

1213
##Install
1314

‎README_CN.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
#Hexo-theme-obsidian
22
>一款暗色的Hexo主题, 拥有响应式布局, 简约而优雅.
3-
>>最新版本: v1.2.0
3+
4+
`最新版本: v1.3.0`
45

56
**[预览](http://tridiamond.me)** |
67
**[English Doc](https://github.com/TriDiamond/hexo-theme-obsidian/blob/master/README.md)** |
78
**[更新日志](https://github.com/TriDiamond/hexo-theme-obsidian/blob/master/CHANGELOG.md)**
89

9-
![screenshot](https://s2.ax1x.com/2019/10/01/uNBcND.png)
10+
![screenshot](https://res.cloudinary.com/tridiamond/image/upload/v1571332123/blog/A-Obsidian_mlnj3q.png)
1011

1112
##安装
1213

‎_config.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ welcome_cover: /img/cover.jpg
3535
cover:/img/welcome-cover.jpg
3636

3737
# Avatar
38-
avatar:https://s2.ax1x.com/2019/09/19/nLtSiD.png
38+
avatar:https://res.cloudinary.com/tridiamond/image/upload/v1571154379/TriDiamondLogoCircleLighting_llbad2.png
3939

4040
# Disable default scrollbar
4141
scrollbar:true
@@ -117,7 +117,7 @@ html_truncate:
117117
coverLength:100
118118
ellipsis:'...'
119119
# Excluding html tags
120-
excludes:['img']
120+
excludes:['img', 'h1', 'h2']
121121
# Characters count including white spaces
122122
keepWhitespaces:true
123123
# Reserving the last complete word, without breaking the word

‎layout/_partial/head.ejs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var description = '';
3636
<linkhref="/font/Rubik-Bold-kern-latin.woff2"as="font"type="font/woff2"crossorigin="">
3737
<linkhref="/font/Rubik-Regular-kern-latin.woff2"as="font"type="font/woff2"crossorigin="">
3838
<%-css(['//cdn.bootcss.com/gitalk/1.5.0/gitalk.min.css'])%>
39-
<%-css(['//at.alicdn.com/t/font_1429596_0wwj85c9fst.css'])%>
39+
<%-css(['//at.alicdn.com/t/font_1429596_7jr8c7mf4wi.css'])%>
4040
<%-css(['css/obsidian.css'])%>
4141
<%-css(['//cdn.bootcss.com/animate.css/3.7.2/animate.min.css'])%>
4242
</head>

‎layout/_partial/photoswipe.ejs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<%-css(['/photoswipe/photoswipe.css','/photoswipe/default-skin/default-skin.css'])%>
2-
<%-js(['/photoswipe/photoswipe.min.js','/photoswipe/photoswipe-ui-default.min.js'])%>
1+
<%-css(['//cdn.bootcss.com/photoswipe/4.1.3/photoswipe.min.css','//cdn.bootcss.com/photoswipe/4.1.3/default-skin/default-skin.min.css'])%>
2+
<%-js(['//cdn.bootcss.com/photoswipe/4.1.3/photoswipe.min.js','//cdn.bootcss.com/photoswipe/4.1.3/photoswipe-ui-default.min.js'])%>
33

44
<!-- Root element of PhotoSwipe. Must have class pswp.-->
55
<divclass="pswp"tabindex="-1"role="dialog"aria-hidden="true">

‎layout/_partial/post/article.ejs‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@
88
url(<%-page.cover ||theme.welcome_cover %>);">
99
</div>
1010
<divclass="else">
11-
<pclass="animated fadeInDown"><%-page.date.locale(config.language||'').format("MMMM DD, YYYY")%></p>
12-
<h3class="animated fadeInDown"><%-link_to(page.path,page.title||"Untitled", {class:""})%></h3>
11+
<pclass="animated fadeInDown">
12+
<ahref="<%- '/categories/' + page.categories.data[0].name %>"><b>「 </b><%-page.categories.data[0].name.toUpperCase()%><b> 」</b> </a>
13+
<%-page.date.locale(config.language||'').format("MMMM DD, YYYY")%>
14+
</p>
15+
<h3class="post-title animated fadeInDown"><%-link_to(page.path,page.title||"Untitled", {class:""})%></h3>
1316
<%if (theme.symbols_count_time.enable) {%>
1417
<pclass="post-count animated fadeInDown">
1518
<%if (theme.symbols_count_time.wordCount) {%>

‎layout/_partial/post/header.ejs‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<divclass="scrollbar gradient-bg-rev"></div>
22
<divid="top"style="display:block;">
33
<divclass="bar"style="width:0;"></div>
4-
<aclass="icon-homeimage-icon"href="#"data-url="<%= config.url %>"></a>
5-
<divtitle="Play/Pause"class="icon-play"></div>
4+
<aid="home-icon"class="image-icon icon-home iconfont"href="#"data-url="<%= config.url %>"></a>
5+
<divid="play-icon"title="Play/Pause"class="iconfonticon-play"></div>
66
<h3class="subtitle"><%-page.title%></h3>
77
<divclass="social">
88
<!-- <div class="like-icon">-->
99
<!-- <a href="#"diff-989fef57a9d759fd2c490fc4fe97a267d05ae5a99396d9a238da0abb83bfc1ba-10-10-0" data-selected="false" role="gridcell" tabindex="-1" valign="top">10
10
<!-- </div>-->
11-
<div>
12-
<divclass="share">
13-
<atitle="Get qrcode"class="icon-scan"href="#"></a>
14-
</div>
15-
<divid="qr"></div>
16-
</div>
11+
<!-- <div>-->
12+
<!-- <div>-->
13+
<!-- <a title="Get qrcode"id="qr-icon" href="#"></a>-->
14+
<!-- </div>-->
15+
<!-- <div></div>-->
16+
<!-- </div>-->
1717
</div>
1818
</div>

‎layout/_partial/post/item.ejs‎

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
<divclass="post"id="post">
22
<divclass="post-cover"style="
3-
background-image:
3+
background-image:
44
radial-gradient(ellipseclosest-side,rgba(0, 0, 0, 0.65), #100e17),
55
url(<%-post.cover ||theme.cover %>);">
66
</div>
77
<divclass="else">
8-
<p><%-post.date.locale(config.language||'').format("MMMM DD, YYYY")%></p>
9-
<h3><%-link_to(post.path,post.title||"Untitled", {class:"posttitle"})%></h3>
10-
<%if (theme.symbols_count_time.enable) {%>
8+
<pclass="animated fadeInDown">
9+
<ahref="<%- '/categories/' + post.categories.data[0].name %>"><b>「</b><%-post.categories.data[0].name.toUpperCase()%><b> 」</b> </a>
10+
<%-post.date.locale(config.language||'').format("MMMM DD, YYYY")%>
11+
</p>
12+
<h3class="post-title animated fadeInDown"><%-link_to(post.path,post.title||"Untitled", {class:"posttitle"})%></h3>
13+
<%if (theme.symbols_count_time.enable) {%>
1114
<pclass="post-count animated fadeInDown">
1215
<%if (theme.symbols_count_time.wordCount) {%>
1316
<span>
@@ -33,8 +36,14 @@
3336
</span>
3437
<% }%>
3538
</p>
39+
<%if (post.tags&&post.tags.length){%>
40+
<%-list_tags(post.tags, {
41+
show_count:false,
42+
class:'animated fadeInDown post-tags'
43+
})%>
44+
<% }%>
3645
<% }%>
37-
<divclass="md-content">
46+
<divclass="md-content animated fadeIn">
3847
<%if (theme.html_truncate.enable) {%>
3948
<%-htmlTruncate(post.content,theme.html_truncate.postLength, {
4049
ellipsis:theme.html_truncate.ellipsis,
@@ -45,17 +54,11 @@
4554
<% }else {%>
4655
<%-truncate(strip_html(post.content), {
4756
length:500,
48-
omission:'...'
57+
omission:"..."
4958
})%>
5059
<% }%>
51-
<spanclass="read-more gradient-text"><%-link_to(post.path,__('read_article','Read article'), {class:"posttitle"})%></span>
60+
<spanclass="read-more gradient-text"><%-link_to(post.path,__('read_article','Read article'), {class:'posttitle'})%></span>
5261
</div>
53-
<%if (post.tags&&post.tags.length){%>
54-
<%-list_tags(post.tags, {
55-
show_count:false,
56-
class:'post-tags'
57-
})%>
58-
<% }%>
5962
</div>
6063
</div>
6164

‎layout/_partial/screen.ejs‎

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</li>
1010
<%}%>
1111
</ul>
12-
<divclass="icon-menu switchmenu gradient-text animated fadeInDown"></div>
12+
<divclass="iconfonticon-menu switchmenu gradient-text animated fadeInDown"></div>
1313
</div>
1414
</div>
1515
<divid="screen">
@@ -23,9 +23,12 @@
2323
</div>
2424
</div>
2525
<%if ( first ) {%>
26-
<div id="post0">
27-
<pclass="animated fadeInDown"><%-first.date.locale(config.language||'').format("MMMM DD, YYYY")%></p>
28-
<h1class="animated fadeInDown"><%-link_to(first.path,first.title||config.title, {class:"posttitle"})%></h1>
26+
<div id="post0"class="else">
27+
<pclass="animated fadeInDown">
28+
<a href="<%- '/categories/' + first.categories.data[0].name %>"><b></b><%-first.categories.data[0].name.toUpperCase()%><b></b></a>
29+
<%-first.date.locale(config.language||'').format("MMMM DD, YYYY")%>
30+
</p>
31+
<h3class="post-title animated fadeInDown"><%-link_to(first.path,first.title||config.title, {class:"posttitle"})%></h3>
2932
<%if (theme.symbols_count_time.enable) {%>
3033
<pclass="post-count animated fadeInDown">
3134
<%if (theme.symbols_count_time.wordCount) {%>
@@ -53,6 +56,12 @@
5356
<% }%>
5457
</p>
5558
<% }%>
59+
<%if (first.tags&&first.tags.length){%>
60+
<%-list_tags(first.tags, {
61+
show_count:false,
62+
class:'animated fadeInDown post-tags'
63+
})%>
64+
<% }%>
5665
<divclass="md-content animated fadeIn">
5766
<%if (theme.html_truncate.enable) {%>
5867
<%-htmlTruncate(first.content,first.preview||theme.html_truncate.coverLength, {
@@ -69,12 +78,6 @@
6978
<% }%>
7079
<spanclass="read-more gradient-text"><%-link_to(first.path,__('read_article','Read article'), {class:"posttitle"})%></span>
7180
</div>
72-
<%if (first.tags&&first.tags.length){%>
73-
<%-list_tags(first.tags, {
74-
show_count:false,
75-
class:'animated fadeInDown post-tags'
76-
})%>
77-
<% }%>
7881
</div>
7982
<% }%>
8083
</div>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp