[gimp-web/testing] Introduce GIMP_VERSION_STABLE|DEVEL and use them



commit eb0cd085b95154030c906c2bdc1c0bbc413cce55
Author: Michael Schumacher <schumaml gmx de>
Date:   Mon Jul 18 22:55:14 2016 +0200

    Introduce GIMP_VERSION_STABLE|DEVEL and use them

 content/downloads/index.md         |    6 +++---
 pelicanconf.py                     |    3 ++-
 pelicanconf.testing.py             |    3 ++-
 themes/newgimp/templates/home.html |    2 +-
 4 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/content/downloads/index.md b/content/downloads/index.md
index a24eace..3a98bf8 100644
--- a/content/downloads/index.md
+++ b/content/downloads/index.md
@@ -8,7 +8,7 @@ Author: Pat David
 </figure>
 
 ## Current Stable Version
-The current stable release of GIMP is **2.8.18** (2016-07-14).
+The current stable release of GIMP is **{{ GIMP_VERSION_STABLE }}** (2016-07-14).
 
 <div class="OSTEST" markdown="1">
 We think your OS is 
@@ -174,7 +174,7 @@ GIMP releases available from gimp.org and its [mirrors](#mirrors) contain the so
 
 For instructions, how to build GIMP from source code, please see [this page](/source/).
 
-GIMP 2.8.16 is now available at 
[http://download.gimp.org/mirror/pub/gimp/v2.8/](//download.gimp.org/mirror/pub/gimp/v2.8/). You may want to 
read the [Release Notes for GIMP 2.8](/release-notes/gimp-2.8.html).
+GIMP {{ GIMP_VERSION_STABLE }} is now available at 
[http://download.gimp.org/mirror/pub/gimp/v2.8/](//download.gimp.org/mirror/pub/gimp/v2.8/). You may want to 
read the [Release Notes for GIMP 2.8](/release-notes/gimp-2.8.html).
 
 To allow you to check the integrity of the tarballs, here are the MD5 sums of the latest releases:
 
@@ -223,7 +223,7 @@ Nightly builds for Windows are available at [darkrefraction.com](http://nightly.
 
 A detailed list of changes in the development branch is available in 
[git](https://git.gnome.org/cgit/gimp/plain/NEWS).
 
-GIMP 2.9.4 is now available at 
[http://download.gimp.org/mirror/pub/gimp/v2.9/](//download.gimp.org/mirror/pub/gimp/v2.9/).
+GIMP {{ GIMP_VERSION_DEVEL }} is now available at 
[http://download.gimp.org/mirror/pub/gimp/v2.9/](//download.gimp.org/mirror/pub/gimp/v2.9/).
 
 To allow you to check the integrity of the tarballs, here are the MD5 sums of the latest development 
snapshots:
 
diff --git a/pelicanconf.py b/pelicanconf.py
index 0771135..86395f3 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -33,7 +33,8 @@ AUTHOR = u'Pat David'
 SITENAME = u'GIMP'
 SITEURL = '//www.gimp.org'
 SITEMAP_SITEURL = 'https://www.gimp.org'
-GIMP_VERSION = u'2.8.18'
+GIMP_VERSION_STABLE = u'2.8.18'
+GIMP_VERSION_DEVEL  = u'2.9.4'
 
 PATH = 'content'
 
diff --git a/pelicanconf.testing.py b/pelicanconf.testing.py
index 35390f6..0adf1e0 100644
--- a/pelicanconf.testing.py
+++ b/pelicanconf.testing.py
@@ -33,7 +33,8 @@ AUTHOR = u'Pat David'
 SITENAME = u'GIMP'
 SITEURL = '//testing.gimp.org'
 SITEMAP_SITEURL = 'https://testing.gimp.org'
-GIMP_VERSION = u'2.8.18'
+GIMP_VERSION_STABLE = u'2.8.18'
+GIMP_VERSION_DEVEL  = u'2.9.4'
 
 PATH = 'content'
 
diff --git a/themes/newgimp/templates/home.html b/themes/newgimp/templates/home.html
index 4e71b62..c29b605 100644
--- a/themes/newgimp/templates/home.html
+++ b/themes/newgimp/templates/home.html
@@ -36,7 +36,7 @@
                         <span id='gSecond'>MANIPULATION PROGRAM</span>
                         <span id='gThird'>
                             <a href="/downloads/" title="Download GIMP!">
-                                <span id="DLButton"><i class="fa fa-download"></i> DOWNLOAD <span 
id='ver'>{{ GIMP_VERSION }}</span></span>
+                                <span id="DLButton"><i class="fa fa-download"></i> DOWNLOAD <span 
id='ver'>{{ GIMP_VERSION_STABLE }}</span></span>
                             </a>
                             <a href="/release-notes/gimp-2.8.html" title="2.8 Release Notes" >
                                 <span id="ReleaseButton">RELEASE NOTES</span>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]