mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 11:13:22 +08:00
FEATURE: allows to have header/footer in publshed pages (#10067)
Usage: fill Header/Footer sections of your theme.
This commit is contained in:
parent
b5495b8e9c
commit
3e161e372a
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user