File tree Expand file tree Collapse file tree 3 files changed +30
-8
lines changed Expand file tree Collapse file tree 3 files changed +30
-8
lines changed Original file line number Diff line number Diff line change @@ -41,13 +41,13 @@ links:
4141 - title : Rime Wiki
4242 url : https://github.com/rime/home/wiki
4343 icon : " fa fa-github"
44- - title : Rime on Github
44+ - title : " Rime @ Github"
4545 url : https://github.com/rime
46- intro : " Rime's Github repository. "
46+ intro : Rime 開發者社區
4747 icon : " fa fa-github"
4848 - title : " 佛振 @ Github"
49- url : http ://www. github.com/lotem
50- intro : " Rime 開發者佛振 "
49+ url : https ://github.com/lotem
50+ intro : Rime 初創開發者佛振
5151 icon : " fa fa-github"
5252
5353widgets :
Original file line number Diff line number Diff line change 2121 </div >
2222 <div class =" footnote text-muted" >
2323 <% - 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 >
2525 </div >
2626</div >
2727<hr />
7070 < / div>
7171 < % } %>
7272 <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 >
7474   ;  ;
75- <a href =" <%- url_for('discuss') %>" >參加討論 » </a >
75+ <a href =" <%- url_for('discuss') %>" >參加討論 < i class = " fa fa-arrow-right " ></ i > </a >
7676 </div >
7777 </div >
7878 <div class =" right illustration" ></div >
Original file line number Diff line number Diff line change @@ -28,6 +28,21 @@ const notices = [
2828 length : 1 ,
2929 notice : '《汉语拼音方案》是中国人名、地名和中文文献罗马字母拼写法的统一规范,并用于汉字不便或不能使用的领域。'
3030 } ,
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+ } ,
3146] ;
3247
3348( function maybeDisplayNotice ( ) {
@@ -47,7 +62,14 @@ const notices = [
4762 }
4863 if ( entry . notice ) {
4964 $ ( '.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+ }
5173 }
5274 return ;
5375 }
You can’t perform that action at this time.
0 commit comments