diff xsls/news.xsls @ 2846:fdf1464e1977

Moved banner to the external file to make partial rollout possible. An idea is to have several banners and show them with different probability specified by split directive in the nginx.conf
author Sergey Budnevitch <sb@waeme.net>
date Tue, 10 May 2022 18:07:27 +0400
parents cd0d1f0130db
children c704a743f269
line wrap: on
line diff
--- a/xsls/news.xsls	Thu May 05 18:31:47 2022 +0100
+++ b/xsls/news.xsls	Tue May 10 18:07:27 2022 +0400
@@ -27,6 +27,7 @@
 X:include href = "style.xslt";
 X:include href = "body.xslt";
 X:include href = "menu.xslt";
+X:include href = "banner.xslt";
 X:include href = "ga.xslt";
 X:include href = "content.xslt";
 
@@ -41,6 +42,8 @@
 
     !style (lang="@lang")
 
+    !banner ()
+
     !ga ()
 
     </head>