The branch master has been updated
       via  be9a59e85c1be6992ed7f61737bcf630d6cad0f6 (commit)
      from  595141eef7fd28c41ab414573d05266ece47d814 (commit)


- Log -----------------------------------------------------------------
commit be9a59e85c1be6992ed7f61737bcf630d6cad0f6
Author: Richard Levitte <levi...@openssl.org>
Date:   Mon Apr 26 14:02:36 2021 +0200

    Reorder the old source directory list in source/old/
    
    Change the template source/old/index.html.tt to not reverse the
    received list of releases.
    
    Change the order of releases to that template to be from newest to
    oldest, and fips (the old FOM) last.
    
    Fixes #235
    
    Reviewed-by: Matt Caswell <m...@openssl.org>
    (Merged from https://github.com/openssl/web/pull/236)

-----------------------------------------------------------------------

Summary of changes:
 Makefile                 | 2 +-
 source/old/index.html.tt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index c8721b4..32b9244 100644
--- a/Makefile
+++ b/Makefile
@@ -321,7 +321,7 @@ $(foreach S,fips $(FUTURESERIES) $(SERIES) 
$(OLDSERIES2),$(eval $(call mkoldsour
 
 source/old/index.html: source/old/index.html.tt bin/from-tt
        @rm -f $@
-       ./bin/from-tt releases='fips $(FUTURESERIES) $(SERIES) $(OLDSERIES2)' $<
+       ./bin/from-tt releases='$(FUTURESERIES) $(SERIES) $(OLDSERIES2) fips' $<
 
 # Because these the indexes of old tarballs will inevitably be newer
 # than the tarballs that are moved into their respective directory,
diff --git a/source/old/index.html.tt b/source/old/index.html.tt
index 9ff2913..88674e9 100644
--- a/source/old/index.html.tt
+++ b/source/old/index.html.tt
@@ -11,7 +11,7 @@
         <div class="entry-content">
           <p>Here are the old releases.</p>
           <ul>
-[% FOREACH release IN releases.split('\s+').reverse -%]
+[% FOREACH release IN releases.split('\s+') -%]
             <li><a href="[% release %]">[% release %]</a></li>
 [% END -%]
           </ul>

Reply via email to