view xsls/versions.xsls @ 1626:b6fad74f2aa1

Removed release packages from linux downloads page. Rationale: - They are only available for stable branch - They are only available for CentOS/RHEL - The repo they configure does not include those packages so they are impossible to update
author Konstantin Pavlov <thresh@nginx.com>
date Thu, 17 Dec 2015 19:44:14 +0300
parents 1594ed379f1f
children 9eadb98ec770
line wrap: on
line source

<!--
  Copyright (C) Igor Sysoev
  Copyright (C) Nginx, Inc.
  -->

X:stylesheet {

X:template = "mainline_version" {
   !! "document(concat($XML, '/versions.xml'))
                /versions/download[@tag='mainline'][1]/item[1]/@ver";
}

X:template = "stable_version" {
   !! "document(concat($XML, '/versions.xml'))
                /versions/download[@tag='stable'][1]/item[1]/@ver";
}

X:template = "commercial_version" {
    <a href="http://nginx.com/products/">
    !!;
    </a>
}

}