feat: 增加作者页面 (#501)

This commit is contained in:
Takagi 2024-05-08 17:45:14 +08:00 committed by GitHub
parent caba687d43
commit 4ccc35e889
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
15 changed files with 90 additions and 10 deletions

View File

@ -57,4 +57,19 @@ spec:
- $formkit: checkbox
name: toc
label: 自动生成目录
value: "true"
value: "true"
---
apiVersion: v1alpha1
kind: AnnotationSetting
metadata:
generateName: annotation-setting-
spec:
targetRef:
group: ""
kind: User
formSchema:
- $formkit: attachment
name: cover
label: 用户详情页封面图

View File

@ -101,10 +101,12 @@
&::before {
content: "{";
margin-right: 0.25em;
}
&::after {
content: "}";
margin-left: 0.25em;
}
}
}

View File

@ -0,0 +1,15 @@
.author-header {
& .page-header {
& .pattern-title {
display: flex;
align-items: center;
& h1 {
display: inline-block;
font-size: 25px;
font-weight: 400;
width: auto;
}
}
}
}

View File

@ -0,0 +1 @@
@import "header.css";

View File

@ -8,7 +8,6 @@
display: inline-block;
font-size: 25px;
font-weight: 400;
color: #666;
width: auto;
&::before {

View File

@ -24,4 +24,6 @@
@import "photos";
@import "author";
@import "error";

View File

@ -86,6 +86,9 @@
"title": "There is nothing here!",
"search": "Didn't find what you want, look at the other ones.",
"notfound": "We didn't seem to find what you want. Maybe you can search for it."
},
"author": {
"title": "About the Author: {{ authorName }}"
}
},
"comment": {
@ -161,4 +164,4 @@
},
"copy_code": "Copy code"
}
}
}

View File

@ -86,6 +86,9 @@
"title": "何も見つからない!(つд⊂)",
"search": "期待するものが見つからない。他に見てご覧?(๑ŏ _ ŏ๑)",
"notfound": "期待するものが見つからなかったらしい。検索してみる。( ˶ˊᵕˋ)੭♡"
},
"author": {
"title": "作者について:{{ authorName }}"
}
},
"comment": {
@ -151,4 +154,4 @@
},
"copy_code": "コードをコピー"
}
}
}

View File

@ -86,6 +86,9 @@
"title": "没有找到任何东西!",
"search": "没有找到你想要的,看看其他的吧。",
"notfound": "我们似乎没有找到你想要的东西. 或许你可以搜索一下试试。"
},
"author": {
"title": "关于作者: {{ authorName }}"
}
},
"comment": {
@ -151,4 +154,4 @@
},
"copy_code": "复制代码"
}
}
}

View File

@ -1 +1 @@
const e={feature:{title:"Top Feature"},discovery:"Discovery",video:{loading:"Loading video...",loading_error:"Failed to load video.",statu_pause:"Paused...",statu_waiting:"Loading...",statu_error:"Error playing video."}},t={time:"Posted on {{ time, datetimeFormat }}",heat:"{{ visit }} hits",comments:"{{ comment }} comments"},o={time:"Posted on {{ time, datetimeFormat }}",edit_time:"Last updated on {{ editTime, datetimeFormat }}",prev:"Previous Post",next:"Next Post",visits:"{{ visit }} Views",reward:"$",license:"Attribution-NonCommercial-ShareAlike 4.0 International",copyright_template_html:{info:"# For commercial use, please contact the author for permission. For non-commercial use, please indicate the source.<br>",license:"# License: $t(post.license)<br>",author:"# Author: {{ postAuthor }} <br>",url:"# Link(URL): {{ postUrl }} <br>",source:"# Source: {{ siteName }} <br>"},word_count_toast:{content:"This post has a total of <b>{{ postWordCount }}</b> words, and is expected to take <b> {{ timeString }}</b> to read.{{ remind }}",remind:"This post is of average length, and can be read with peace of mind.",remind_normal:"This post is of average length, and can be read with peace of mind.",remind_medium:"This post is very long, it is recommended to read it in paragraphs.",remind_difficulty:"The content of this post is very outdated and may no longer apply!"},edit_time_toast:{content:"The last time this post was edited was <b>{{ sinceLastTime }}</b>.{{ remind }}",remind:"This post was recently updated, so feel free to read it with confidence!",remind_normal:"This post was recently updated, so feel free to read it with confidence!",remind_medium:"This post has not been updated for a long time, so it may no longer apply.",remind_difficulty:"The content of this post is very outdated and may no longer apply!"}},i={next:"Next Page",theend:"No more post(s)",archives:{title:"Post Archive"},categories:{title:"Post Category",item_title:"Category: {{ title }}",radar_title:"$t(page.categories.title) Radar Chart",radar_series_title:"$t(page.categories.title) Quantity"},photos:{title:"Images",all:"All"},links:{title:"Links"},moments:{title:"Log",loadmore:"Load more...",empty:"This guy is so lazy ╮(╯▽╰)╭ Noting here!!!",time:" {{ time, datetimeFormat }}"},search:{title:'Search results for " {{ title }} "',sresult:"Search result: "},tags:{title:"Tags",item:{title:"Tag: {{ title }}"}},none:{title:"There is nothing here!",search:"Didn't find what you want, look at the other ones.",notfound:"We didn't seem to find what you want. Maybe you can search for it."}},n={number:"{{ comment }} comment(s)",number_one:"{{ comment }} comment",number_other:"{{ comment }} comments",name:"Comments |"},s={title:"Page Not Found - {{ title }}",golast:"return to previous page",gohome:"return to home page",search:"Don't worry, search in site?",search_2:"Don't worry, search in site?",searchinput:"Search..."},a={description:"My favorite thing is to leave this blank :)",login:"login",has_logged:"current logged in",info:"user info",logout:"logout"},r={wechat:"Wechat",sina:"Sina Weibo",qq:"Tencent QQ",qzone:"QZone",github:"Github",lofter:"Lofter",bili:"Bilibili",cloudmusic:"Netease Cloud Music",twitter:"Twitter",facebook:"Facebook",googleplus:"Google+",jianshu:"Jianshu",zhihu:"Zhihu",csdn:"CSDN",telegram:"Telegram",email:"Email",stackoverflow:"Stack Overflow"},c={weibo:"Share to Sina Weibo",qq:"Share to QQ",wechat:{qcode_title:"Scan QR code",help_1:'Click "Discover" and scan it',help_2:"QR code can share this to Moments"},douban:"Share to Douban",qzone:"Share to QZone",linkedin:"Share to LinkedIn"},d={change_button_text:"Switch Theme | SCHEME TOOL"},m={days:"{{ count }} day(s)",days_one:"{{ count }} day",days_other:"{{ count }} days",hours:"{{ count }} hour(s)",hours_one:"{{ count }} hour",hours_other:"{{ count }} hours",minutes:"{{ count }} minute(s)",minutes_one:"{{ count }} minute",minutes_other:"{{ count }} minutes",seconds:"{{ count }} second(s)",seconds_one:"{{ count }} second",seconds_other:"{{ count }} seconds",events:{copy:"Copied to clipboard successfully!"},copy_code:"Copy code"},l={home:e,postlist:t,post:o,page:i,comment:n,notfound:s,user:a,icon_alt:r,share:c,theme:d,common:m};export{n as comment,m as common,l as default,e as home,r as icon_alt,s as notfound,i as page,o as post,t as postlist,c as share,d as theme,a as user};
const e={feature:{title:"Top Feature"},discovery:"Discovery",video:{loading:"Loading video...",loading_error:"Failed to load video.",statu_pause:"Paused...",statu_waiting:"Loading...",statu_error:"Error playing video."}},t={time:"Posted on {{ time, datetimeFormat }}",heat:"{{ visit }} hits",comments:"{{ comment }} comments"},o={time:"Posted on {{ time, datetimeFormat }}",edit_time:"Last updated on {{ editTime, datetimeFormat }}",prev:"Previous Post",next:"Next Post",visits:"{{ visit }} Views",reward:"$",license:"Attribution-NonCommercial-ShareAlike 4.0 International",copyright_template_html:{info:"# For commercial use, please contact the author for permission. For non-commercial use, please indicate the source.<br>",license:"# License: $t(post.license)<br>",author:"# Author: {{ postAuthor }} <br>",url:"# Link(URL): {{ postUrl }} <br>",source:"# Source: {{ siteName }} <br>"},word_count_toast:{content:"This post has a total of <b>{{ postWordCount }}</b> words, and is expected to take <b> {{ timeString }}</b> to read.{{ remind }}",remind:"This post is of average length, and can be read with peace of mind.",remind_normal:"This post is of average length, and can be read with peace of mind.",remind_medium:"This post is very long, it is recommended to read it in paragraphs.",remind_difficulty:"The content of this post is very outdated and may no longer apply!"},edit_time_toast:{content:"The last time this post was edited was <b>{{ sinceLastTime }}</b>.{{ remind }}",remind:"This post was recently updated, so feel free to read it with confidence!",remind_normal:"This post was recently updated, so feel free to read it with confidence!",remind_medium:"This post has not been updated for a long time, so it may no longer apply.",remind_difficulty:"The content of this post is very outdated and may no longer apply!"}},i={next:"Next Page",theend:"No more post(s)",archives:{title:"Post Archive"},categories:{title:"Post Category",item_title:"Category: {{ title }}",radar_title:"$t(page.categories.title) Radar Chart",radar_series_title:"$t(page.categories.title) Quantity"},photos:{title:"Images",all:"All"},links:{title:"Links"},moments:{title:"Log",loadmore:"Load more...",empty:"This guy is so lazy ╮(╯▽╰)╭ Noting here!!!",time:" {{ time, datetimeFormat }}"},search:{title:'Search results for " {{ title }} "',sresult:"Search result: "},tags:{title:"Tags",item:{title:"Tag: {{ title }}"}},none:{title:"There is nothing here!",search:"Didn't find what you want, look at the other ones.",notfound:"We didn't seem to find what you want. Maybe you can search for it."},author:{title:"About the Author: {{ authorName }}"}},n={number:"{{ comment }} comment(s)",number_one:"{{ comment }} comment",number_other:"{{ comment }} comments",name:"Comments |"},s={title:"Page Not Found - {{ title }}",golast:"return to previous page",gohome:"return to home page",search:"Don't worry, search in site?",search_2:"Don't worry, search in site?",searchinput:"Search..."},a={description:"My favorite thing is to leave this blank :)",login:"login",has_logged:"current logged in",info:"user info",logout:"logout"},r={wechat:"Wechat",sina:"Sina Weibo",qq:"Tencent QQ",qzone:"QZone",github:"Github",lofter:"Lofter",bili:"Bilibili",cloudmusic:"Netease Cloud Music",twitter:"Twitter",facebook:"Facebook",googleplus:"Google+",jianshu:"Jianshu",zhihu:"Zhihu",csdn:"CSDN",telegram:"Telegram",email:"Email",stackoverflow:"Stack Overflow"},c={weibo:"Share to Sina Weibo",qq:"Share to QQ",wechat:{qcode_title:"Scan QR code",help_1:'Click "Discover" and scan it',help_2:"QR code can share this to Moments"},douban:"Share to Douban",qzone:"Share to QZone",linkedin:"Share to LinkedIn"},d={change_button_text:"Switch Theme | SCHEME TOOL"},m={days:"{{ count }} day(s)",days_one:"{{ count }} day",days_other:"{{ count }} days",hours:"{{ count }} hour(s)",hours_one:"{{ count }} hour",hours_other:"{{ count }} hours",minutes:"{{ count }} minute(s)",minutes_one:"{{ count }} minute",minutes_other:"{{ count }} minutes",seconds:"{{ count }} second(s)",seconds_one:"{{ count }} second",seconds_other:"{{ count }} seconds",events:{copy:"Copied to clipboard successfully!"},copy_code:"Copy code"},l={home:e,postlist:t,post:o,page:i,comment:n,notfound:s,user:a,icon_alt:r,share:c,theme:d,common:m};export{n as comment,m as common,l as default,e as home,r as icon_alt,s as notfound,i as page,o as post,t as postlist,c as share,d as theme,a as user};

View File

@ -1 +1 @@
const t={feature:{title:"焦点"},discovery:"見つける",video:{loading:"ビデオをロード中です...",loading_error:"ビデオのローディングに失敗しました。",statu_pause:"一時停止中...",statu_waiting:"読み込み中 ...",statu_error:"ビデオの再生中にエラーが発生しました"}},e={time:"発表は {{ time, datetimeFormat }}",heat:"{{ visit }} 人気",comments:"{{ comment }} つコメント"},o={time:"発表は {{ time, datetimeFormat }}",edit_time:"最終編集は {{ editTime, datetimeFormat }}",prev:"Previous Post",next:"Next Post",visits:"{{ visit }} 回読む",reward:"賞",license:"表示 - 非営利 - 継承 4.0 国際 (CC BY-NC-SA 4.0)",copyright_template_html:{info:"# 商用引用は著者に連絡して許可を得てください、非商用引用の場合は出典を明記してください。<br>",license:"# ライセンス(License): $t(post.license)<br>",author:"# 作者(Author): {{ postAuthor }} <br>",url:"# リンク(URL): {{ postUrl }} <br>",source:"# 出典(Source): {{ siteName }} <br>"},word_count_toast:{content:"この記事の全体の文字数は <b>{{ postWordCount }}</b> 字であり、読むのに必要な時間は <b> {{ timeString }}</b> です。{{ remind }}",remind:"この記事は平均的な長さで、心置きなく読めます。",remind_normal:"この記事は平均的な長さで、心置きなく読めます。",remind_medium:"この記事は非常に長いため、段落に分けて読むことをおすすめします。",remind_difficulty:"この記事の内容は非常に古く、もはや適用されないかもしれません。"},edit_time_toast:{content:"この記事の最終更新時間は<b>{{ sinceLastTime }}</b>です。{{ remind }}",remind:"最近更新された記事ですので、安心してお読みください!",remind_normal:"最近更新された記事ですので、安心してお読みください!",remind_medium:"この記事の更新は以前に行われたため、もはや適用されない場合があります。",remind_difficulty:"この記事の内容は非常に古く、もはや適用されないかもしれません。"}},i={next:"次のページ",theend:"ブログ投稿はもうない",archives:{title:"アーカイブ"},categories:{title:"分類",item_title:"分類:{{ title }}",radar_title:"$t(page.categories.title) レーダーチャート",radar_series_title:"$t(page.categories.title) 数量"},photos:{title:"ギャラリー",all:"全部"},links:{title:"リンク集"},moments:{title:"日誌",loadmore:"もっと読み込む...",empty:"ブロガーが怠け過ぎて、ここにはまだ何もないよ~",time:" {{ time, datetimeFormat }}"},search:{title:"「 {{ title }} 」の検索結果",sresult:"検索結果:"},tags:{title:"タグ",item:{title:"タグ:{{ title }}"}},none:{title:"何も見つからない!(つд⊂)",search:"期待するものが見つからない。他に見てご覧?(๑ŏ _ ŏ๑)",notfound:"期待するものが見つからなかったらしい。検索してみる。( ˶ˊᵕˋ)੭♡"}},s={number:"{{ comment }} つコメント",name:"コメント |"},n={title:"ページが見つからない - {{ title }}",golast:"前のページに戻る",gohome:"ホームページに戻る",search:"焦らないで、サイト内検索してみる?",search_2:"Don't worry, search in site?",searchinput:"検索..."},r={description:"俺様はステータスなしが大好き😎",login:"ログイン",has_logged:"ようこそ",info:"プロフィール",logout:"ログアウト"},a={wechat:"WeChat 公式アカウント",sina:"Weibo",qq:"チャットする?",qzone:"QQ 空間",github:"Github",lofter:"LOFTER",bili:"ビリビリ",cloudmusic:"NetEase Cloud Music",twitter:"ツイッター",facebook:"フェイスブック",googleplus:"Google+",jianshu:"Jianshu",zhihu:"知乎",csdn:"CSDN",telegram:"テレグラム",email:"メール",stackoverflow:"Stack Overflow"},m={weibo:"Weibo に共有する",qq:"QQ に共有する",wechat:{qcode_title:"WeChat スキャン:共有する",help_1:"WeChatに「発見」をクリックして、",help_2:"QRコードをスキャンしたら、このブログ投稿がモーメンツに共有してある。"},douban:"Douban に共有する",qzone:"QQ 空間に共有する",linkedin:"リンクトインに共有する"},c={change_button_text:"テーマ切り替え | SCHEME TOOL"},l={days:"{{ count }} 日",hours:"{{ count }} 時間",minutes:"{{ count }} 分",seconds:"{{ count }} 秒",events:{copy:"コピーに成功しました!<br>Copied to clipboard successfully!"},copy_code:"コードをコピー"},d={home:t,postlist:e,post:o,page:i,comment:s,notfound:n,user:r,icon_alt:a,share:m,theme:c,common:l};export{s as comment,l as common,d as default,t as home,a as icon_alt,n as notfound,i as page,o as post,e as postlist,m as share,c as theme,r as user};
const t={feature:{title:"焦点"},discovery:"見つける",video:{loading:"ビデオをロード中です...",loading_error:"ビデオのローディングに失敗しました。",statu_pause:"一時停止中...",statu_waiting:"読み込み中 ...",statu_error:"ビデオの再生中にエラーが発生しました"}},e={time:"発表は {{ time, datetimeFormat }}",heat:"{{ visit }} 人気",comments:"{{ comment }} つコメント"},o={time:"発表は {{ time, datetimeFormat }}",edit_time:"最終編集は {{ editTime, datetimeFormat }}",prev:"Previous Post",next:"Next Post",visits:"{{ visit }} 回読む",reward:"賞",license:"表示 - 非営利 - 継承 4.0 国際 (CC BY-NC-SA 4.0)",copyright_template_html:{info:"# 商用引用は著者に連絡して許可を得てください、非商用引用の場合は出典を明記してください。<br>",license:"# ライセンス(License): $t(post.license)<br>",author:"# 作者(Author): {{ postAuthor }} <br>",url:"# リンク(URL): {{ postUrl }} <br>",source:"# 出典(Source): {{ siteName }} <br>"},word_count_toast:{content:"この記事の全体の文字数は <b>{{ postWordCount }}</b> 字であり、読むのに必要な時間は <b> {{ timeString }}</b> です。{{ remind }}",remind:"この記事は平均的な長さで、心置きなく読めます。",remind_normal:"この記事は平均的な長さで、心置きなく読めます。",remind_medium:"この記事は非常に長いため、段落に分けて読むことをおすすめします。",remind_difficulty:"この記事の内容は非常に古く、もはや適用されないかもしれません。"},edit_time_toast:{content:"この記事の最終更新時間は<b>{{ sinceLastTime }}</b>です。{{ remind }}",remind:"最近更新された記事ですので、安心してお読みください!",remind_normal:"最近更新された記事ですので、安心してお読みください!",remind_medium:"この記事の更新は以前に行われたため、もはや適用されない場合があります。",remind_difficulty:"この記事の内容は非常に古く、もはや適用されないかもしれません。"}},i={next:"次のページ",theend:"ブログ投稿はもうない",archives:{title:"アーカイブ"},categories:{title:"分類",item_title:"分類:{{ title }}",radar_title:"$t(page.categories.title) レーダーチャート",radar_series_title:"$t(page.categories.title) 数量"},photos:{title:"ギャラリー",all:"全部"},links:{title:"リンク集"},moments:{title:"日誌",loadmore:"もっと読み込む...",empty:"ブロガーが怠け過ぎて、ここにはまだ何もないよ~",time:" {{ time, datetimeFormat }}"},search:{title:"「 {{ title }} 」の検索結果",sresult:"検索結果:"},tags:{title:"タグ",item:{title:"タグ:{{ title }}"}},none:{title:"何も見つからない!(つд⊂)",search:"期待するものが見つからない。他に見てご覧?(๑ŏ _ ŏ๑)",notfound:"期待するものが見つからなかったらしい。検索してみる。( ˶ˊᵕˋ)੭♡"},author:{title:"作者について:{{ authorName }}"}},s={number:"{{ comment }} つコメント",name:"コメント |"},n={title:"ページが見つからない - {{ title }}",golast:"前のページに戻る",gohome:"ホームページに戻る",search:"焦らないで、サイト内検索してみる?",search_2:"Don't worry, search in site?",searchinput:"検索..."},r={description:"俺様はステータスなしが大好き😎",login:"ログイン",has_logged:"ようこそ",info:"プロフィール",logout:"ログアウト"},a={wechat:"WeChat 公式アカウント",sina:"Weibo",qq:"チャットする?",qzone:"QQ 空間",github:"Github",lofter:"LOFTER",bili:"ビリビリ",cloudmusic:"NetEase Cloud Music",twitter:"ツイッター",facebook:"フェイスブック",googleplus:"Google+",jianshu:"Jianshu",zhihu:"知乎",csdn:"CSDN",telegram:"テレグラム",email:"メール",stackoverflow:"Stack Overflow"},m={weibo:"Weibo に共有する",qq:"QQ に共有する",wechat:{qcode_title:"WeChat スキャン:共有する",help_1:"WeChatに「発見」をクリックして、",help_2:"QRコードをスキャンしたら、このブログ投稿がモーメンツに共有してある。"},douban:"Douban に共有する",qzone:"QQ 空間に共有する",linkedin:"リンクトインに共有する"},c={change_button_text:"テーマ切り替え | SCHEME TOOL"},l={days:"{{ count }} 日",hours:"{{ count }} 時間",minutes:"{{ count }} 分",seconds:"{{ count }} 秒",events:{copy:"コピーに成功しました!<br>Copied to clipboard successfully!"},copy_code:"コードをコピー"},u={home:t,postlist:e,post:o,page:i,comment:s,notfound:n,user:r,icon_alt:a,share:m,theme:c,common:l};export{s as comment,l as common,u as default,t as home,a as icon_alt,n as notfound,i as page,o as post,e as postlist,m as share,c as theme,r as user};

View File

@ -1 +1 @@
const t={feature:{title:"聚焦"},discovery:"发现",video:{loading:"正在载入视频 ...",loading_error:"视频载入失败",statu_pause:"已暂停 ...",statu_waiting:"加载中 ...",statu_error:"视频播放错误"}},e={time:"发布于 {{ time, datetimeFormat }}",heat:"{{ visit }} 热度",comments:"{{ comment }} 条评论"},o={time:"发布于 {{ time, datetimeFormat }}",edit_time:"最后编辑于 {{ editTime, datetimeFormat }}",prev:"Previous Post",next:"Next Post",visits:"{{ visit }} 次阅读",reward:"赏",license:"知识共享署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)",copyright_template_html:{info:"# 商业转载请联系作者获得授权,非商业转载请注明出处。<br>",license:"# 协议(License): $t(post.license)<br>",author:"# 作者(Author): {{ postAuthor }} <br>",url:"# 链接(URL): {{ postUrl }} <br>",source:"# 来源(Source): {{ siteName }} <br>"},word_count_toast:{content:"文章共 <b>{{ postWordCount }}</b> 字,阅读完预计需要 <b> {{ timeString }}</b>。{{ remind }}",remind:"文章篇幅适中,可以放心阅读。",remind_normal:"文章篇幅适中,可以放心阅读。",remind_medium:"文章篇幅较长,建议分段阅读。",remind_difficulty:"文章内容已经很陈旧了,也许不再适用!"},edit_time_toast:{content:"文章内容上次编辑时间于 <b>{{ sinceLastTime }}</b>。{{ remind }}",remind:"近期有所更新,请放心阅读!",remind_normal:"近期有所更新,请放心阅读!",remind_medium:"文章内容已经较久没有更新了,也许不再适用!",remind_difficulty:"文章内容已经很陈旧了,也许不再适用!"}},i={next:"下一页",theend:"没有更多文章了",archives:{title:"文章归档"},categories:{title:"文章分类",item_title:"分类:{{ title }}",radar_title:"$t(page.categories.title) 雷达图",radar_series_title:"$t(page.categories.title) 数量"},photos:{title:"图库",all:"全部"},links:{title:"友情链接"},moments:{title:"日志",loadmore:"加载更多...",empty:"博主太懒了,这里还什么都没有呢!!!",time:" {{ time, datetimeFormat }}"},search:{title:"关于“ {{ title }} ”的搜索结果",sresult:"搜索结果: "},tags:{title:"文章标签",item:{title:"标签:{{ title }}"}},none:{title:"没有找到任何东西!",search:"没有找到你想要的,看看其他的吧。",notfound:"我们似乎没有找到你想要的东西. 或许你可以搜索一下试试。"}},n={number:"{{ comment }} 条评论",name:"Comments |"},s={title:"页面不存在 - {{ title }}",golast:"返回上一页",gohome:"返回主页",search:"别急,试试站内搜索?",search_2:"Don't worry, search in site?",searchinput:"Search..."},r={description:"我喜欢做的事就是不写个性签名",login:"登录",has_logged:"当前已登录",info:"个人资料",logout:"退出登录"},m={wechat:"微信公众号",sina:"微博",qq:"开始聊天?",qzone:"QQ 空间",github:"Github",lofter:"乐乎",bili:"哔哩哔哩",cloudmusic:"网易云音乐",twitter:"推特",facebook:"脸书",googleplus:"Google+",jianshu:"简书",zhihu:"知乎",csdn:"CSDN",telegram:"电报",email:"邮箱",stackoverflow:"Stack Overflow"},a={weibo:"分享至微博",qq:"分享至 QQ",wechat:{qcode_title:"微信扫一扫:分享",help_1:"微信里点“发现”,扫一下",help_2:"二维码便可将本文分享至朋友圈。"},douban:"分享至豆瓣",qzone:"分享至 QQ 空间",linkedin:"分享至领英"},c={change_button_text:"切换主题 | SCHEME TOOL"},l={days:"{{ count }} 天",hours:"{{ count }} 小时",minutes:"{{ count }} 分钟",seconds:"{{ count }} 秒",events:{copy:"复制成功!<br>Copied to clipboard successfully!"},copy_code:"复制代码"},d={home:t,postlist:e,post:o,page:i,comment:n,notfound:s,user:r,icon_alt:m,share:a,theme:c,common:l};export{n as comment,l as common,d as default,t as home,m as icon_alt,s as notfound,i as page,o as post,e as postlist,a as share,c as theme,r as user};
const t={feature:{title:"聚焦"},discovery:"发现",video:{loading:"正在载入视频 ...",loading_error:"视频载入失败",statu_pause:"已暂停 ...",statu_waiting:"加载中 ...",statu_error:"视频播放错误"}},e={time:"发布于 {{ time, datetimeFormat }}",heat:"{{ visit }} 热度",comments:"{{ comment }} 条评论"},o={time:"发布于 {{ time, datetimeFormat }}",edit_time:"最后编辑于 {{ editTime, datetimeFormat }}",prev:"Previous Post",next:"Next Post",visits:"{{ visit }} 次阅读",reward:"赏",license:"知识共享署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)",copyright_template_html:{info:"# 商业转载请联系作者获得授权,非商业转载请注明出处。<br>",license:"# 协议(License): $t(post.license)<br>",author:"# 作者(Author): {{ postAuthor }} <br>",url:"# 链接(URL): {{ postUrl }} <br>",source:"# 来源(Source): {{ siteName }} <br>"},word_count_toast:{content:"文章共 <b>{{ postWordCount }}</b> 字,阅读完预计需要 <b> {{ timeString }}</b>。{{ remind }}",remind:"文章篇幅适中,可以放心阅读。",remind_normal:"文章篇幅适中,可以放心阅读。",remind_medium:"文章篇幅较长,建议分段阅读。",remind_difficulty:"文章内容已经很陈旧了,也许不再适用!"},edit_time_toast:{content:"文章内容上次编辑时间于 <b>{{ sinceLastTime }}</b>。{{ remind }}",remind:"近期有所更新,请放心阅读!",remind_normal:"近期有所更新,请放心阅读!",remind_medium:"文章内容已经较久没有更新了,也许不再适用!",remind_difficulty:"文章内容已经很陈旧了,也许不再适用!"}},i={next:"下一页",theend:"没有更多文章了",archives:{title:"文章归档"},categories:{title:"文章分类",item_title:"分类:{{ title }}",radar_title:"$t(page.categories.title) 雷达图",radar_series_title:"$t(page.categories.title) 数量"},photos:{title:"图库",all:"全部"},links:{title:"友情链接"},moments:{title:"日志",loadmore:"加载更多...",empty:"博主太懒了,这里还什么都没有呢!!!",time:" {{ time, datetimeFormat }}"},search:{title:"关于“ {{ title }} ”的搜索结果",sresult:"搜索结果: "},tags:{title:"文章标签",item:{title:"标签:{{ title }}"}},none:{title:"没有找到任何东西!",search:"没有找到你想要的,看看其他的吧。",notfound:"我们似乎没有找到你想要的东西. 或许你可以搜索一下试试。"},author:{title:"关于作者: {{ authorName }}"}},n={number:"{{ comment }} 条评论",name:"Comments |"},s={title:"页面不存在 - {{ title }}",golast:"返回上一页",gohome:"返回主页",search:"别急,试试站内搜索?",search_2:"Don't worry, search in site?",searchinput:"Search..."},r={description:"我喜欢做的事就是不写个性签名",login:"登录",has_logged:"当前已登录",info:"个人资料",logout:"退出登录"},a={wechat:"微信公众号",sina:"微博",qq:"开始聊天?",qzone:"QQ 空间",github:"Github",lofter:"乐乎",bili:"哔哩哔哩",cloudmusic:"网易云音乐",twitter:"推特",facebook:"脸书",googleplus:"Google+",jianshu:"简书",zhihu:"知乎",csdn:"CSDN",telegram:"电报",email:"邮箱",stackoverflow:"Stack Overflow"},m={weibo:"分享至微博",qq:"分享至 QQ",wechat:{qcode_title:"微信扫一扫:分享",help_1:"微信里点“发现”,扫一下",help_2:"二维码便可将本文分享至朋友圈。"},douban:"分享至豆瓣",qzone:"分享至 QQ 空间",linkedin:"分享至领英"},c={change_button_text:"切换主题 | SCHEME TOOL"},l={days:"{{ count }} 天",hours:"{{ count }} 小时",minutes:"{{ count }} 分钟",seconds:"{{ count }} 秒",events:{copy:"复制成功!<br>Copied to clipboard successfully!"},copy_code:"复制代码"},d={home:t,postlist:e,post:o,page:i,comment:n,notfound:s,user:r,icon_alt:a,share:m,theme:c,common:l};export{n as comment,l as common,d as default,t as home,a as icon_alt,s as notfound,i as page,o as post,e as postlist,m as share,c as theme,r as user};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

37
templates/author.html Normal file
View File

@ -0,0 +1,37 @@
<!--/* 作者页面 */-->
<!DOCTYPE html>
<html
xmlns:th="https://www.thymeleaf.org"
th:replace="~{layout :: layout(_title = ~{::title}, _header = ~{::header}, _content = ~{::content})}"
>
<th:block th:fragment="title">
<th:block th:text="${author.spec.displayName} + '|' + ${site.title}"></th:block>
</th:block>
<th:block th:fragment="header">
<div class="author-header">
<th:block th:replace="~{macro/page-header :: page-header(extension = ${author}, frontCover = ${#annotations.getOrDefault(author, 'cover', '')}, headerTitle = ~{::headerTitle})}" />
</div>
</th:block>
<th:block th:fragment="headerTitle">
<h1 data-i18n="page.author.title" th:i18n-options="|{ authorName: '${author.spec.displayName}' }|"></h1>
</th:block>
<th:block th:fragment="content">
<div id="primary" th:with="postItems=${posts.items}">
<main id="main" class="site-main" role="main">
<th:block th:if="${posts.totalPages gt 0}">
<th:block th:each="post : ${postItems}">
<th:block th:replace="~{macro/content :: content(${post})}" />
</th:block>
<div class="clearer"></div>
</th:block>
<th:block th:unless="${posts.totalPages gt 0}">
<th:block th:replace="~{macro/content-none}" />
</th:block>
</main>
<th:block th:replace="~{module/list-pagination :: pagination(${posts})}"></th:block>
</div>
</th:block>
</html>