From 13ebb307d33ce3ca4a365dd7d37038c5253edfa8 Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Sep 25 2018 05:37:15 +0000 Subject: add theme hook for a sitewide message This adds a new theme hook for adding a sitewide message to your theme. It also adds a sitewide message for pagure.io if looking at the stage deployment. --- diff --git a/pagure/templates/master.html b/pagure/templates/master.html index 2098256..299f81b 100644 --- a/pagure/templates/master.html +++ b/pagure/templates/master.html @@ -14,6 +14,7 @@ {% block header %}{% endblock %} + {{theme.sitewide_message() if theme.sitewide_message is defined}}