diff docs/xsls/changes.xsls @ 9215:e79c7521aaf4

Free nginx: support for sections in CHANGES.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 19 Feb 2024 03:13:18 +0300
parents 529f10f7757c
children
line wrap: on
line diff
--- a/docs/xsls/changes.xsls
+++ b/docs/xsls/changes.xsls
@@ -13,14 +13,15 @@ X:var br = {&lt;br&gt;}
 
 
 X:template = "/" { !! "change_log"; }
-X:template = "change_log" { !! "changes"; }
+X:template = "change_log" { !! "section"; }
+X:template = "section" { !! "changes"; }
 
 
 X:template = "changes" {
     X:text {&#10;}
 
     !{substring(concat($conf/changes[@lang=$lang]/title,
-                       //change_log/@title,
+                       ../@title,
                        ' ', @ver,
                        '                                                    '),
                 1, $conf/changes[@lang=$lang]/length)}