comparison xslt/body.xslt @ 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 5bbae5b15948
children 91a2ee74ca72
comparison
equal deleted inserted replaced
2845:a3aee2697d4e 2846:fdf1464e1977
17 </xsl:variable> 17 </xsl:variable>
18 18
19 <body> 19 <body>
20 20
21 <div id="banner"> 21 <div id="banner">
22 <xsl:if test="@lang = 'he'"> <xsl:attribute name="class"> <xsl:text>ltr</xsl:text> </xsl:attribute> </xsl:if>
23 Registration is now open for the free Microservices March Kubernetes event.<br/>
24 <a href="https://www.nginx.com/c/microservices-march-2022-kubernetes-networking/">Click here</a> to enroll.
25 </div> 22 </div>
26 23
27 <div id="main"> 24 <div id="main">
28 <div id="menu"> 25 <div id="menu">
29 <h1> 26 <h1>