diff --git a/layout/_partial/sidebar/widgets/ghuser.ejs b/layout/_partial/sidebar/widgets/ghuser.ejs index af64233..fac1361 100644 --- a/layout/_partial/sidebar/widgets/ghuser.ejs +++ b/layout/_partial/sidebar/widgets/ghuser.ejs @@ -2,15 +2,18 @@ var btns = []; btns.push({ key: 'followers', - desc: 'followers' + desc: 'followers', + href: 'https://github.com/xaoxuu?tab=followers' }); btns.push({ key: 'following', - desc: 'following' + desc: 'following', + href: 'https://github.com/xaoxuu?tab=following' }); btns.push({ key: 'public_repos', - desc: 'repos' + desc: 'repos', + href: 'https://github.com/xaoxuu?tab=repositories' }); function layoutDiv() { @@ -30,7 +33,7 @@ function layoutDiv() { el += '
'; btns.forEach((btn, i) => { - el += ''; + el += ''; el += ''; el += '' + btn.desc + ''; el += '';