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 += '
'; // header if (item.header && item.header.length > 0) { @@ -37,10 +37,10 @@ function layoutDiv() { // username el += '

 

'; el += '

 

'; - + el += '
'; btns.forEach((btn, i) => { - el += ''; + el += ''; el += '0'; el += '' + btn.desc + ''; el += '';