Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
brackets
  • Loading branch information
da2x committed Aug 6, 2015
1 parent 5860204 commit 5548ed1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions output/index.html
Expand Up @@ -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 (' +
Expand Down

0 comments on commit 5548ed1

Please sign in to comment.