mirror of
https://github.com/flarum/core.git
synced 2025-10-12 15:34:26 +02:00
Add Custom Footer HTML (#1315)
* Add Custom Footer HTML Straight copy from Custom Header HTML * Move Custom Footer HTML to exactly before `</body>` tag. * Fix invalid class name * Append CustomFooterHTML when preparing the view. * Some consistency in placing the variable
This commit is contained in:
@@ -77,6 +77,7 @@ class ForumSerializer extends AbstractSerializer
|
||||
'logoUrl' => $this->getLogoUrl(),
|
||||
'faviconUrl' => $this->getFaviconUrl(),
|
||||
'headerHtml' => $this->settings->get('custom_header'),
|
||||
'footerHtml' => $this->settings->get('custom_footer'),
|
||||
'allowSignUp' => (bool) $this->settings->get('allow_sign_up'),
|
||||
'defaultRoute' => $this->settings->get('default_route'),
|
||||
'canViewDiscussions' => $this->actor->can('viewDiscussions'),
|
||||
|
Reference in New Issue
Block a user