Mercurial > hg > nginx-site
view xsls/versions.xsls @ 2536:87f34fafa4e8
Removed load_module from "Hello World" example in njs.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Fri, 24 Apr 2020 21:32:52 +0100 |
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> } }