Mercurial > hg > nginx-site
comparison xsls/body.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 | b17f7a53bc58 |
children | 80cc4e6d3d6d |
comparison
equal
deleted
inserted
replaced
2845:a3aee2697d4e | 2846:fdf1464e1977 |
---|---|
16 } | 16 } |
17 | 17 |
18 <body> | 18 <body> |
19 | 19 |
20 <div id="banner"> | 20 <div id="banner"> |
21 X:if "@lang = 'he'" { X:attribute "class" { X:text{ltr} } } | |
22 Registration is now open for the free Microservices March Kubernetes event.<br/> | |
23 <a href="https://www.nginx.com/c/microservices-march-2022-kubernetes-networking/">Click here</a> to enroll. | |
24 </div> | 21 </div> |
25 | 22 |
26 <div id="main"> | 23 <div id="main"> |
27 <div id="menu"> | 24 <div id="menu"> |
28 <h1> | 25 <h1> |