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

Usage: fill Header/Footer sections of your theme.
This commit is contained in:
Joffrey JAFFEUX
2020-06-19 09:51:03 +02:00
committed by GitHub
parent b5495b8e9c
commit 3e161e372a

View File

@@ -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>