diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2017-06-26 12:48:48 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-12-13 16:25:22 +0000 |
commit | bef479308430a42e01fbdfd2de226e6df350728d (patch) | |
tree | e67dd96959b9b9fdfb80bf7f3b7236455a8142db | |
parent | 823ed42d79ef5f20b937cc2ae2025dea0df7c610 (diff) |
Add template hook for content before .wrapper.
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rw-r--r-- | templates/web/base/header.html | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f950e974..3020a15c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -55,6 +55,8 @@ - Consolidate various admin summary statistics page. #1919. - 'Auto-response' flag on response templates is honoured for fetched Open311 updates. #1924 + - Development improvements: + - Add hook for pre-wrapper content. - UK: - Use SVG logo, inlined on front page. #1887 - Inline critical CSS on front page. diff --git a/templates/web/base/header.html b/templates/web/base/header.html index faba02519..3cc166a32 100644 --- a/templates/web/base/header.html +++ b/templates/web/base/header.html @@ -27,6 +27,8 @@ [% TRY %][% PROCESS 'set_body_class.html' %][% CATCH file %][% END %] <body class="[% bodyclass | html IF bodyclass %]"> + [% TRY %][% PROCESS 'before_wrapper.html' %][% CATCH file %][% END %] + <div class="wrapper"> <div class="table-cell"> [% INCLUDE 'header_site.html' %] |