FEATURE: allows to have header/footer in publshed pages (#10067)

FEATURE: allows to have header/footer in publshed pages (#10067)

Usage: fill Header/Footer sections of your theme.

diff --git a/app/views/layouts/publish.html.erb b/app/views/layouts/publish.html.erb
index 4a249e8..4a428eb 100644
--- a/app/views/layouts/publish.html.erb
+++ b/app/views/layouts/publish.html.erb
@@ -6,6 +6,8 @@
     <%= render partial: "common/discourse_publish_stylesheet" %>
   </head>
   <body class="<%= @body_classes.to_a.join(' ') %>">
+    <%= theme_lookup("header") %>
     <%= yield %>
+    <%= theme_lookup("footer") %>
   </body>
 </html>

GitHub sha: 3e161e37

This commit appears in #10067 which was approved by eviltrout. It was merged by jjaffeux.