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

Commit0889a7a

Browse files
committed
updated to v1.4.0
1 parent32378e4 commit0889a7a

File tree

16 files changed

+512
-253
lines changed

16 files changed

+512
-253
lines changed

‎CHANGELOG.md‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,29 @@
11
#Changelog
22
[中文更变日志](https://github.com/TriDiamond/hexo-theme-obsidian/blob/master/CHANGELOG_CN.md)
33

4+
##🚀 v1.4.0 (Nov 8, 2019)
5+
6+
🎉 Lets celebrate the new`Categories` and`Tags` page UI!Now the categories page support multi-levels! Hope you guys love this update! ❤️
7+
8+
###Features ✨
9+
- Added a icon logo display next to the original logo (Which was just a word).
10+
- New icon logo has a spinning effect when you come back to the top of the page!
11+
- Complete new`Categories` and`Tags` page UI with multi-level categories support! (#12)
12+
- English fonts changed to google's`Rubik` fonts, now looks way more awesome!
13+
- Added pages title custom title name, can be changed in theme config file.
14+
15+
Page custom titles
16+
```yaml
17+
# Page custom titles
18+
page_titles:
19+
categories:"Categories"
20+
tags:"Tags"
21+
```
22+
23+
### Changes 💥
24+
- All navigation bars added shadows to standout a bit more, well just to look more awesome!
25+
- Article page navigation home icon changed to the icon logo of the site.
26+
427
## 🚀 v1.3.5 (Nov 4, 2019)
528
629
Code block styles and color syntax looks way more awesome now! OMG!Hope you all enjoy this update!❤️

‎CHANGELOG_CN.md‎

Lines changed: 43 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,90 @@
11
#Changelog
22

3+
##🚀 v1.4.0 (2019-11-08)
4+
5+
🎉 全新的`分类``标签`页UI,分类页现在支持多级分类展示哦,自带很炫酷的效果!希望你们喜欢这次的更新! ❤️
6+
7+
###✨ 新功能
8+
- 在文字logo旁边我添加了icon logo
9+
- 新的icon logo,当你每次回到页面顶部时会有旋转效果哦!
10+
- 全新的分类和标签页UI,并且支持了多级分类展示!(#12)
11+
- 英文字体改用谷歌的`Rubik`字体,看起来更加awesome了!
12+
- 分类页和标签页添加了自定义标题,可以在主题配置里面自行配置
13+
14+
分类页和标签页自定义标题配置
15+
```yaml
16+
# 分类页和标签页自定义标题配置
17+
page_titles:
18+
categories:"Categories"
19+
tags:"Tags"
20+
```
21+
22+
### 💥 更变
23+
- 所有导航添加了阴影,只是为了看起来更加炫酷,没别的
24+
- 文章页的home icon换成了icon logo
25+
326
## 🚀 v1.3.5 (2019-11-04)
427
528
现在代码的高亮与IDE的高亮更加相似了,也变得更加专业,更加高尚了!希望你们喜欢这次的更新!Happy blogging!❤️
629
7-
###更变 💥
30+
###💥 更变
831
- 首次打开加载图片加了渐出效果,首次进入页面感觉更加舒服了。
932
- 替换了代码块的高亮插件,`highlight.js`换成了`codemirror`。现在代码的高亮与IDE的高亮更加相似了!✨ (#6)
1033
-代码块的UI也升级了,现在看起来更加专业高尚了!✨
1134
-TOC目录样式重写了,当前的标题前面加了一个"脈动回来"的特效。这个改动也一并修复了目录标题的点击位子有时候错位的问题。(#13)
1235

13-
###Bug修复 🐛
36+
###🐛 Bug修复
1437
-修复有一些Icons位置和布局中的问题。
1538
-修复了文章导航的标题太长会超出高度的问题。
1639
-修复了一些文字字体没有限定好的问题。
1740

1841
## 🚀 v1.3.4 (Oct 24, 2019)
1942

20-
###更变 💥
43+
###💥 更变
2144
-再次优化了手机端响应的样式。
2245
-优化了`ul`和`ol`的UI。
2346

24-
###Bug修复 🐛
47+
###🐛 Bug修复
2548
-修复了首页链接样式。
2649
-修复了TOC标题太长而超出框外的问题。
2750
-修复了标题如果是链接样式的问题。
2851

2952
## 🚀 v1.3.3 (2019-10-23)
3053

31-
###功能 ✨
54+
###✨ 新功能
3255
-添加了分享功能 - [`share.js`](https://github.com/overtrue/share.js)
3356

34-
###更变 💥
57+
###💥 更变
3558
-页面首次加载图标换成了`Load Awesome`的 `la-ball-atom`. - [`Load Awesome`](https://github.com/danielcardoso/load-awesome)
3659

3760
## 🚀 v1.3.2 (2019-10-21)
3861

39-
###更变 💥
62+
###💥 更变
4063
-修改了斜体 `*斜体*` 的文字颜色和样式。
4164

42-
###Bug修复 🐛
65+
###🐛 Bug修复
4366
-首页的第一个文章的高度改为动态变化,如果文章的内容撑出的高度大于屏幕高度,就按照文章的实际高度,如果不是文章的最小高度就是屏幕高度。
4467

4568
## 🚀 v1.3.1 (2019-10-18)
4669

47-
###功能 ✨
70+
###✨ 功能
4871
-添加了`不蒜子` - 极简网页计算器的支持。
4972

50-
###更变 💥
73+
###💥 更变
5174
-把文章浏览数改为更具评论插件而变,目前插件支持`valine`和`gitalk`。
5275

53-
###Bug修复 🐛
76+
###🐛 Bug修复
5477
-修复了当文章的分类是空时,Hexo生成静态文件失败。
5578
-修复了一些响应式排版问题。
5679

5780
## 🚀 v1.3.0 (2019-10-18)
5881

5982
UI整体升级,整体看起来更加舒服和高雅。✨
6083

61-
###功能 ✨
84+
###✨ 新功能
6285
-所有文章的标题上面都添加了这个文章的所属分类。✨
6386

64-
###更变 💥
87+
###💥 更变
6588
-UI整体升级,整体看起来更加舒服和高雅。✨
6689
-返回顶部/阅读跟进球添加了水波的动态效果。
6790
-替换和升级了所有的icons.
@@ -70,44 +93,44 @@ UI整体升级,整体看起来更加舒服和高雅。✨
7093
-传统CSS换成使用`Stylus`,支持SASS/LESS的编写格式。
7194
-所有JS和CSS都引用了CDN,达到整体网站的速度提升。🚀
7295

73-
###Bug修复 🐛
96+
###🐛 Bug修复
7497
-修复了"加载更多"没有自动根据语言而变的问题。
7598
-修复了文章的评论都是显示同一个的问题。
7699

77100
## 🚀 v1.2.0 (2019-10-15)
78101

79102
优化了和添加了很多有趣的功能,希望你们会喜欢!
80103

81-
###功能 ✨
104+
###✨ 新功能
82105
-添加了英文支持!想国际化的博客们,一起欢呼一下吧!Hooray!👋
83106
-首页添加了"阅读全文",让首页的文章更加一目了然是一个简介而不是全文。也让用户一看就知道怎么去看全文。
84107
-添加了返回顶部的按钮,按钮自带一个有趣的波动效果哦!
85108
-页尾添加了主题版本号。
86109
-文章的`front-matter`属性添加了`preview`属性来定义这遍文章的预览需要保留多少个字符。
87110

88-
###更变 💥
111+
###💥 更变
89112
-首页和文章页的导航栏添加了滑动固定效果,下滑隐藏,上滑显示效果。阅读时会更专注。
90113
-之前因为加载问题去掉的google analytics插件被重新加回来了。
91114
-放大了文章头部进度条,让它更加被容易看到。
92115

93-
###Bug修复 🐛
116+
###🐛 Bug修复
94117
-修复口号的高度抖动的问题。
95118
-修复滑动页面时的闪屏的问题。
96119

97120
## 🚀 v1.1.0 (2019-10-12)
98121

99122
添加了几个新功能和优化一些体验,继续享受博客给你们带来的快乐吧!❤️
100123

101-
###功能 ✨
124+
###✨ 新功能
102125
-添加[Valine](https://valine.js.org)评论插件支持。
103126
-优化了文章页的目录样式和功能。
104127
-文章页添加了用户信息侧边栏
105128
-文章也添加了浏览量统计
106129

107-
###更变 💥
130+
###💥 更变
108131
-文章页换成网格布局。
109132
-文章页换成双栏布局,现在加上了侧边栏。
110133

111134
## 🚀 v1.0.0 (2019-10-10)
112-
####功能 ✨
135+
####✨ 新功能
113136
-首个完整版本发布! 🚀

‎README.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ Open `/themes/obsidian/_config.yml` can change the theme configs
6363
# Menu setting | format = title_name: link_url
6464
menu:
6565
PAGE:/page
66+
67+
# Page custom titles
68+
page_titles:
69+
categories:"Categories"
70+
tags:"Tags"
6671

6772
# Enable table of content
6873
TOC:true

‎README_CN.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ theme: obsidian
5858
# 菜单设置 | 格式 = 菜单名: 菜单url
5959
menu:
6060
PAGE:/page
61+
62+
# 分类页和标签页自定义标题配置
63+
page_titles:
64+
categories:"Categories"
65+
tags:"Tags"
6166

6267
# 是否启用目录
6368
TOC:true

‎_config.yml‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#! ---------------------------------------------------------------
2121

2222
# Theme version
23-
version:"1.3.5"
23+
version:"1.4.0"
2424

2525
# ---------------------------------------------------------------
2626
# Theme default settings
@@ -33,6 +33,11 @@ menu:
3333
TAGS:/tags
3434
ARCHIVES:/archives
3535

36+
# Page custom titles
37+
page_titles:
38+
categories:"Categories"
39+
tags:"Tags"
40+
3641
# Social media links
3742
socials:
3843
github:"https://github.com/TriDiamond"
@@ -49,7 +54,7 @@ welcome_cover: /img/cover.jpg
4954
cover:/img/welcome-cover.jpg
5055

5156
# Avatar
52-
avatar:https://res.cloudinary.com/tridiamond/image/upload/v1571154379/TriDiamondLogoCircleLighting_llbad2.png
57+
avatar:https://res.cloudinary.com/tridiamond/image/upload/v1573019751/TriDiamond_logo_ui_xeublz.jpg
5358

5459
# Disable default scrollbar
5560
scrollbar:true

‎layout/_partial/categories.ejs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
<divclass="set">
2+
<divclass="category-mask"></div>
3+
<h1><%= (theme.page_titles.categories||__('categories'))%></h1>
24
<%-list_categories({orderby:"length", order:-1})%>
35
</div>

‎layout/_partial/head.ejs‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ var description = '';
3333
<%if (config.author){%><meta name="author" content="<%= config.author %>"><% }%>
3434
<%if (theme.rss){%><link rel="alternative" href="<%- theme.rss %>" title="<%= config.title %>" type="application/atom+xml"><% }%>
3535
<%if (theme.favicon){%><link rel="icon" href="<%- url_for(theme.favicon) %>"><% }%>
36-
<linkhref="/font/Rubik-Bold-kern-latin.woff2"as="font"type="font/woff2"crossorigin="">
37-
<linkhref="/font/Rubik-Regular-kern-latin.woff2"as="font"type="font/woff2"crossorigin="">
36+
<linkhref="https://fonts.loli.net/css?family=Roboto+Mono|Rubik&display=swap"rel="stylesheet">
3837
<%-css(['//at.alicdn.com/t/font_1429596_xjbfxy4nzcj.css'])%>
3938
<%-css(['//cdn.bootcss.com/animate.css/3.7.2/animate.min.css'])%>
4039
<%-css(['//cdnjs.cloudflare.com/ajax/libs/social-share.js/1.0.16/css/share.min.css'])%>

‎layout/_partial/post/header.ejs‎

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
<divclass="scrollbar gradient-bg-rev"></div>
22
<divid="top"style="display:block;">
33
<divclass="bar"style="width:0;"></div>
4-
<aid="home-icon"class="image-icon icon-home iconfont animated fadeIn"href="#"diff-989fef57a9d759fd2c490fc4fe97a267d05ae5a99396d9a238da0abb83bfc1ba-5-3-0" data-selected="false" role="gridcell" tabindex="-1" valign="top">5
-
<divid="play-icon"title="Play/Pause"class="iconfont icon-play animated fadeIn"></div>
6-
<h3class="subtitle"><%-page.title%></h3>
7-
<divclass="social">
8-
<!-- <div class="like-icon">-->
9-
<!-- <a href="#"diff-989fef57a9d759fd2c490fc4fe97a267d05ae5a99396d9a238da0abb83bfc1ba-10-3-0" data-selected="false" role="gridcell" tabindex="-1" valign="top">10
-
<!-- </div>-->
11-
<div>
12-
<divclass="share animated fadeIn">
13-
<%if (theme.sharejs&&theme.sharejs.enable==true) {%>
14-
<a href="#"diff-989fef57a9d759fd2c490fc4fe97a267d05ae5a99396d9a238da0abb83bfc1ba-15-3-0" data-selected="false" role="gridcell" tabindex="-1" valign="top">15
-
<divclass="share-component-cc" data-disabled="<%= theme.sharejs.disabled || '' %>"></div>
16-
<% }%>
4+
<divclass="navigation animated fadeIn fast delay-1s">
5+
<imgid="home-icon"class="icon-home"src="/img/favicon.png"alt=""data-url="<%= config.url %>">
6+
<divid="play-icon"title="Play/Pause"class="iconfont icon-play"></div>
7+
<h3class="subtitle"><%-page.title%></h3>
8+
<divclass="social">
9+
<!-- <div class="like-icon">-->
10+
<!-- <a href="#"diff-989fef57a9d759fd2c490fc4fe97a267d05ae5a99396d9a238da0abb83bfc1ba-16-11-0" data-selected="false" role="gridcell" tabindex="-1" valign="top">
11+
<!-- </div>-->
12+
<div>
13+
<divclass="share">
14+
<%if (theme.sharejs&&theme.sharejs.enable==true) {%>
15+
<a href="#"diff-989fef57a9d759fd2c490fc4fe97a267d05ae5a99396d9a238da0abb83bfc1ba-16-16-0" data-selected="false" role="gridcell" tabindex="-1" valign="top">
16+
<divclass="share-component-cc" data-disabled="<%= theme.sharejs.disabled || '' %>"></div>
17+
<% }%>
18+
</div>
1719
</div>
1820
</div>
1921
</div>

‎layout/_partial/screen.ejs‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
<%var first=page.posts.sort("date","desc").eq(0);%>
22
<divid="header">
33
<div>
4-
<aclass="image-logo animated fadeInDown"href="/"></a>
4+
<divclass="logo animated fadeInDown">
5+
<imgsrc="/img/favicon.png"alt="">
6+
<aclass="image-logo"href="/"></a>
7+
</div>
58
<ulid="menu-menu"class="menu text-menu">
69
<%for (var iintheme.menu){%>
710
<liclass="animated fadeInDown menu-item menu-item-type-post_type menu-item-object-page">

‎layout/_partial/scripts.ejs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<%-css(['//cdn.bootcss.com/gitalk/1.5.0/gitalk.min.css'])%>
33
<%-js(['//cdn.bootcss.com/gitalk/1.5.0/gitalk.min.js'])%>
44
<% }%>
5-
<%-js(['//cdn.bootcss.com/jquery/3.4.1/jquery.min.js','js/plugin.js','js/obsidian.js','js/jquery.truncate.js'])%>
5+
<%-js(['//cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js','js/plugin.js','js/obsidian.js','js/jquery.truncate.js'])%>
66
<%-js(['//cdn.bootcss.com/typed.js/2.0.10/typed.min.js'])%>
77
<%-js(['//cdn.bootcss.com/blueimp-md5/2.12.0/js/md5.min.js'])%>
88
<%-js(['//cdnjs.cloudflare.com/ajax/libs/social-share.js/1.0.16/js/social-share.min.js'])%>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp