Skip to content

Commit

Permalink
Homepage: Added a second news item
Browse files Browse the repository at this point in the history
Ideally this would be dynamically balanced, but dev posts are usually
pretty long so this should balance the columns better.

[ci skip]
  • Loading branch information
skyjake committed Jul 30, 2016
1 parent 2016863 commit e352720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/plugins/z#home/home.php
Expand Up @@ -304,7 +304,7 @@ public function execute($args=NULL)
dataType: 'json',
clearOnSuccess: false,
useGoogleApi: true,
maxItems: 1,
maxItems: 2,
generateItemHtml: function (n, t) {
var html = '<div class="block"><article class="newspost content"><header><h1><a href="' + t.link + '" title="&#39;' + t.title + '&#39; (full article in the blog)">' + t.title + '</a></h1>';

Expand Down

0 comments on commit e352720

Please sign in to comment.