[gimp-web] Add GIMP_VERSION



commit 847735ed9d1de8c371360a37f1def6f4e7c266af
Author: Martijn van Beers <mail_dev martijn at>
Date:   Sun Nov 22 00:48:10 2015 +0100

    Add GIMP_VERSION
    
    Add a GIMP_VERSION variable to pelicanconf.py and use it for
    the download button on the homepage
    
    Signed-off-by: Pat David <pat patdavid net>

 pelicanconf.py                     |    1 +
 themes/newgimp/templates/home.html |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/pelicanconf.py b/pelicanconf.py
index c4fda37..146eb82 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -17,6 +17,7 @@ I18N_SUBSITES = {
 AUTHOR = u'Pat David'
 SITENAME = u'GIMP'
 SITEURL = 'http://www.gimp.org'
+GIMP_VERSION = '2.8.16'
 
 PATH = 'content'
 
diff --git a/themes/newgimp/templates/home.html b/themes/newgimp/templates/home.html
index 2be66fd..c340d64 100644
--- a/themes/newgimp/templates/home.html
+++ b/themes/newgimp/templates/home.html
@@ -25,7 +25,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'>2.8.16</span></span>
+                                <span id="DLButton"><i class="fa fa-download"></i> DOWNLOAD <span 
id='ver'>{{ GIMP_VERSION }}</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]