From b9909ceb357634c9df6171ff68e4978cc90e1307 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=81=8A=E7=94=B1?= <84276102+hermitlsr@users.noreply.github.com> Date: Tue, 11 Oct 2022 20:00:24 +0800 Subject: [PATCH] Update ghuser.ejs (#123) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit followers, following, repositories 信息为自定义用户信息 --- layout/_partial/sidebar/widgets/ghuser.ejs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/layout/_partial/sidebar/widgets/ghuser.ejs b/layout/_partial/sidebar/widgets/ghuser.ejs index 31aac5e..66d2df3 100644 --- a/layout/_partial/sidebar/widgets/ghuser.ejs +++ b/layout/_partial/sidebar/widgets/ghuser.ejs @@ -3,17 +3,17 @@ var btns = []; btns.push({ key: 'followers', desc: 'followers', - href: 'https://github.com/xaoxuu?tab=followers' + href: '?tab=followers' }); btns.push({ key: 'following', desc: 'following', - href: 'https://github.com/xaoxuu?tab=following' + href: '?tab=following' }); btns.push({ key: 'public_repos', desc: 'repos', - href: 'https://github.com/xaoxuu?tab=repositories' + href: '?tab=repositories' }); function layoutDiv() { @@ -21,7 +21,7 @@ function layoutDiv() { if (item.username == undefined || item.username.length == 0) { return el; } - + el += '