Skip to content
Permalink
Browse files
brackets
  • Loading branch information
da2x committed Aug 6, 2015
1 parent 5860204 commit 5548ed1931d2891138ff2458f2c5d9e36eb71949
Showing 1 changed file with 3 additions and 2 deletions.
@@ -301,10 +301,11 @@ <h2>Plugins for Nikola <small>version
var title = $('<h2/>').text(plugin).appendTo(container);
var small = $('<small/>').appendTo(title);
$('<span/>').html('&nbsp;v'+data[plugin]['version']).appendTo(small)
if (['website'] in data[plugin])
if (['website'] in data[plugin]) {
author_str = '<a href="' + data[plugin]['website'] + '">' + data[plugin]['author'] + '</a>';
else
} else {
author_str = data[plugin]['author'];
}
$('<span/>').html('&nbsp;|&nbsp;by ' + author_str).appendTo(small)
if (data[plugin]['tests']) {
$('<span/>').html('&nbsp;|&nbsp;Tests exist (' +

0 comments on commit 5548ed1

Please sign in to comment.