File tree 3 files changed +30
-8
lines changed
3 files changed +30
-8
lines changed Original file line number Diff line number Diff line change @@ -41,13 +41,13 @@ links:
41
41
- title : Rime Wiki
42
42
url : https://github.com/rime/home/wiki
43
43
icon : " fa fa-github"
44
- - title : Rime on Github
44
+ - title : " Rime @ Github"
45
45
url : https://github.com/rime
46
- intro : " Rime's Github repository. "
46
+ intro : Rime 開發者社區
47
47
icon : " fa fa-github"
48
48
- title : " 佛振 @ Github"
49
- url : http ://www. github.com/lotem
50
- intro : " Rime 開發者佛振 "
49
+ url : https ://github.com/lotem
50
+ intro : Rime 初創開發者佛振
51
51
icon : " fa fa-github"
52
52
53
53
widgets :
Original file line number Diff line number Diff line change 21
21
</div >
22
22
<div class =" footnote text-muted" >
23
23
<% - site .data .downloads .footnote %>
24
- <span class =" hidden" >& nbsp ;& nbsp ; <a href =" <%- url_for('download') %>" >下載更多版本 » </a ></span >
24
+ <span class =" hidden" > <a href =" <%- url_for('download') %>" >下載更多版本 < i class = " fa fa-arrow-down " ></ i > </a ></span >
25
25
</div >
26
26
</div >
27
27
<hr />
70
70
< / div>
71
71
< % } %>
72
72
<div >
73
- <a href =" https://github.com/rime/home/wiki/UserQuotes" >更多說法 » </a >
73
+ <a href =" https://github.com/rime/home/wiki/UserQuotes" >更多說法 < i class = " fa fa-arrow-right " ></ i > </a >
74
74
  ;  ;
75
- <a href =" <%- url_for('discuss') %>" >參加討論 » </a >
75
+ <a href =" <%- url_for('discuss') %>" >參加討論 < i class = " fa fa-arrow-right " ></ i > </a >
76
76
</div >
77
77
</div >
78
78
<div class =" right illustration" ></div >
Original file line number Diff line number Diff line change @@ -28,6 +28,21 @@ const notices = [
28
28
length : 1 ,
29
29
notice : '《汉语拼音方案》是中国人名、地名和中文文献罗马字母拼写法的统一规范,并用于汉字不便或不能使用的领域。'
30
30
} ,
31
+ {
32
+ start : '2025/04/01 GMT+0800' ,
33
+ length : 1 ,
34
+ mode : 'fool-mode' ,
35
+ notice : 'R²ime 高階開發者測試版震驚出爐!在線試用,可由 rime.io 安裝配方 ' ,
36
+ linkIcon : 'fa fa-flask' ,
37
+ linkUrl : 'https://rime.io'
38
+ } ,
39
+ {
40
+ start : '2025/04/02 GMT+0800' ,
41
+ length : 3 ,
42
+ notice : '鼠鬚管 爲物雖微情不淺 新詩醉墨時一揮 別後寄我無辭遠 ' ,
43
+ linkIcon : 'fa fa-music' ,
44
+ linkUrl : '/blog/2025/03/01/theme-music/#其三-鼠鬚管'
45
+ } ,
31
46
] ;
32
47
33
48
( function maybeDisplayNotice ( ) {
@@ -47,7 +62,14 @@ const notices = [
47
62
}
48
63
if ( entry . notice ) {
49
64
$ ( '.front-matter .slogan' ) . hide ( ) ;
50
- $ ( '.front-matter .notice' ) . text ( entry . notice ) ;
65
+ let notice = $ ( '.front-matter .notice' ) ;
66
+ notice . append ( $ ( '<span/>' ) . text ( entry . notice ) ) ;
67
+ if ( entry . linkUrl ) {
68
+ notice . append ( $ ( '<a/>' ) . attr ( {
69
+ 'href' : entry . linkUrl ,
70
+ 'class' : entry . linkIcon || 'fa fa-link' ,
71
+ } ) ) ;
72
+ }
51
73
}
52
74
return ;
53
75
}
You can’t perform that action at this time.
0 commit comments