I found the template, here's an update for the new design

On Tue, 20 Nov 2018 at 10:09, Jonathan Riddell <j...@jriddell.org> wrote:
>
> Hola David, the Framework announcement webpages still use the old
> website theme.  Can I help in updating it to the new theme? I'm not
> sure the process in creating the pages.
>
> https://www.kde.org/announcements/kde-frameworks-5.51.0.php
>
> Jonathan
Index: kde-frameworks-template.bottom
===================================================================
--- kde-frameworks-template.bottom	(revision 1526711)
+++ kde-frameworks-template.bottom	(working copy)
@@ -51,5 +51,7 @@
 <h4><?php i18n("Press Contacts");?></h4>
 <?php
   include($site_root . "/contact/press_contacts.inc");
-  include("footer.inc");
 ?>
+</main>
+<?php
+  require('../aether/footer.php');
Index: kde-frameworks-template.top
===================================================================
--- kde-frameworks-template.top	(revision 1526711)
+++ kde-frameworks-template.top	(working copy)
@@ -1,12 +1,21 @@
 <?php
-  include_once ("functions.inc");
-  $translation_file = "www";
-  $page_title = i18n_noop("Release of KDE Frameworks 5.1.0");
-  $site_root = "../";
-  $release = '5.1.0';
-  include "header.inc";
+    include_once ("functions.inc");
+    $translation_file = "www";
+    require('../aether/config.php');
+
+    $pageConfig = array_merge($pageConfig, [
+        'title' => "Release of KDE Frameworks 5.1.0",
+        'cssFile' => '/content/home/portal.css'
+    ]);
+
+    require('../aether/header.php');
+    $site_root = "../";
+    $release = '5.1.0';
 ?>
 
+<main class="releaseAnnouncment container">
+    <h1 class="announce-title"><a href="/announcements/"><?php i18n("Release Announcements")?></a><?php print i18n_var("KDE Frameworks %1", $release)?></h1>
+
 <?php
   include "./announce-i18n-bar.inc";
 ?>

Reply via email to