Move "blue topbar" to ESI page
authorMagnus Hagander <magnus@hagander.net>
Fri, 29 Jun 2018 15:59:26 +0000 (17:59 +0200)
committerMagnus Hagander <magnus@hagander.net>
Fri, 29 Jun 2018 16:03:25 +0000 (18:03 +0200)
templates/base/base.html
templates/pages/include/topbar.html [new file with mode: 0644]

index 8ec4a1f7c2e1cb5481a34633e01c51125303d265..dc7e95ad3ad8679e6e2ffd46394f2752e952f72b 100644 (file)
@@ -58,8 +58,7 @@
         </div>
       </div>
       <div class="row justify-content-center pg-shout-box">
-        <div class="col text-white text-center">
-          28th June 2018: <a href="/about/news/1867/">PostgreSQL 11 Beta 2 Released</a>!
+        <div class="col text-white text-center">{%include "base/esi.html" with includepage="/include/topbar" %}</div>
         </div>
       </div>
     </div>
diff --git a/templates/pages/include/topbar.html b/templates/pages/include/topbar.html
new file mode 100644 (file)
index 0000000..d697ea8
--- /dev/null
@@ -0,0 +1 @@
+28th June 2018: <a href="{{link_root}}/about/news/1867/">PostgreSQL 11 Beta 2 Released</a>!