diff --git a/doc/usage/theming.rst b/doc/usage/theming.rst index 8bbe4b3..ab805bc 100644 --- a/doc/usage/theming.rst +++ b/doc/usage/theming.rst @@ -113,6 +113,30 @@ this needs to be included in this macro in your theme. Example: {% endmacro %} +`browseheader_message(select)` macro +###################### + +An optional Jinja macro that defines the welcome message that is shown +above the tabs on the Browse Pages (Projects, Users, and Groups). The +select parameter is a string with the name of the page being shown +Example: + +:: + + {% macro browseheader_message(select) %} + {% if select == 'projects' %} +
Pagure is an Open Source software code hosting system.
+Pagure is an Open Source software code hosting system.
-