From ceb516aafbec4303abbb50a785b09f6218944c84 Mon Sep 17 00:00:00 2001 From: Kevin Bowen Date: Tue, 14 Jan 2020 12:22:31 -0800 Subject: [PATCH] Swap Blog and Latest News post positions. Rename Latest News to Release Updates --- pages/frontpage.php | 48 +++++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/pages/frontpage.php b/pages/frontpage.php index d2a9b97b..eeed76da 100644 --- a/pages/frontpage.php +++ b/pages/frontpage.php @@ -65,10 +65,33 @@ $head['css'] = '@media screen and (max-width:830px) { +

-

+

+ + set_feed_url(array('https://blog.xfce.org/feed/')); + $feed->set_cache_location('cache'); + $feed->init(); + $feed->handle_content_type(); + + echo ''; + echo '

'.R_('Read more articles on the Xfce Blog →').'

'; + + ?> +
+ +
+

'; - echo '

'.$item['paragraphs'][0] .' '; + echo '

'.$item['paragraphs'][0] .' '.'
'; learnmore ($link); echo '

'; @@ -103,25 +126,4 @@ $head['css'] = '@media screen and (max-width:830px) { ?> -
-

- - set_feed_url(array('https://blog.xfce.org/feed/')); - $feed->set_cache_location('cache'); - $feed->init(); - $feed->handle_content_type(); - - echo ''; - echo '

'.R_('Read more articles on the Xfce Blog →').'

'; - ?> -
- -- 2.20.1