Skip to content

A platform for community discussion. Free, open, simple.

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

Joffrey JAFFEUX3e161e372a82
diff --git a/app/views/layouts/publish.html.erb b/app/views/layouts/publish.html.erb
index 4a249e8f32d..4a428eb9e10 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>