[Xfce4-commits] [www/www.xfce.org] 02/05: Display the 5 last blog news

noreply at xfce.org noreply at xfce.org
Sun Feb 9 19:21:50 CET 2020


This is an automated email from the git hooks/post-receive script.

s   k   u   n   n   y   k       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository www/www.xfce.org.

commit b5a1b40e79708eedae8686dd0f023867e49daec6
Author: Romain Bouvier <skunnyk at alteroot.org>
Date:   Sun Feb 9 19:19:32 2020 +0100

    Display the 5 last blog news
---
 pages/frontpage.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pages/frontpage.php b/pages/frontpage.php
index eeed76d..5777e20 100644
--- a/pages/frontpage.php
+++ b/pages/frontpage.php
@@ -80,7 +80,7 @@ $head['css'] = '@media screen and (max-width:830px) {
 		$feed->handle_content_type();
 
 		echo '<ul class="feeds group">';
-		foreach($feed->get_items(0,4) as $item){
+		foreach($feed->get_items(0,5) as $item){
 			echo '<li><strong><a href="'.$item->get_permalink().'">'.$item->get_title().'</a></strong><br />';
 			echo '<span class="meta">'.$item->get_author()->get_name().' on '.$item->get_date('M d Y').'</span></li>';
 		}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list