aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/static/js/github.js
diff options
context:
space:
mode:
Diffstat (limited to 'pelican-bootstrap3/static/js/github.js')
-rw-r--r--pelican-bootstrap3/static/js/github.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/pelican-bootstrap3/static/js/github.js b/pelican-bootstrap3/static/js/github.js
index 7bdb6a4..ae6a3b6 100644
--- a/pelican-bootstrap3/static/js/github.js
+++ b/pelican-bootstrap3/static/js/github.js
@@ -4,10 +4,12 @@ var github = (function(){
}
function render(target, repos){
var i = 0, fragment = '', t = $(target)[0];
+ fragment += '<ul class="list-group" id="github">';
for(i = 0; i < repos.length; i++) {
fragment += '<li class="list-group-item"><a href="'+repos[i].html_url+'">'+repos[i].name+'</a><p><small>'+escapeHtml(repos[i].description||'')+'</small></p></li>';
}
+ fragment += '</ul>';
t.innerHTML = fragment;
}
return {