[Xfce4-commits] [www/www.xfce.org] 07/29: Add a more descriptive title for news articles

noreply at xfce.org noreply at xfce.org
Sun May 21 22:00:49 CEST 2017


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

k   n   o   m   e       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 73f68e0ba258090a4c0f451286aa6cc271dee1ad
Author: Pasi Lallinaho <pasi at shimmerproject.org>
Date:   Wed May 17 23:52:10 2017 +0300

    Add a more descriptive title for news articles
---
 pages/about/news.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pages/about/news.php b/pages/about/news.php
index 885ff0e..3d2c03f 100644
--- a/pages/about/news.php
+++ b/pages/about/news.php
@@ -35,6 +35,8 @@ foreach ($news as $item)
     else
       $title = $item['title'];
 
+	$head['title'] .= ' – ' . $title;
+
   echo '<div class="newsitem">';
 
   echo '<h2 id="post-'.$stamp.'">'.$title.'</h2>'."\n";

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


More information about the Xfce4-commits mailing list