diff --git a/apps/server/src/index.ts b/apps/server/src/index.ts
index e72d334..c71931e 100644
--- a/apps/server/src/index.ts
+++ b/apps/server/src/index.ts
@@ -28,6 +28,9 @@ export async function boot(options: { port?: number; listen?: boolean } = {}) {
bundledRoot: join(REPO_ROOT, 'plugins'),
baseUrl,
});
+ if (new URL(baseUrl).hostname === 'bbs.hqtui.com') {
+ await registry.setEnabled('profullstack-footer', true);
+ }
const enabled = [...registry.enabled];
console.log(`[tsbb] plugins: ${enabled.length ? enabled.join(', ') : 'none enabled'}`);
for (const [slug, error] of registry.errors) console.warn(`[tsbb] plugin ${slug}: ${error}`);
diff --git a/packages/ui/src/components/layout.ts b/packages/ui/src/components/layout.ts
index 9687199..b927354 100644
--- a/packages/ui/src/components/layout.ts
+++ b/packages/ui/src/components/layout.ts
@@ -106,6 +106,7 @@ function frontPageTitle(boardName: string, tagline?: string): string {
*/
export function Layout(props: LayoutProps) {
const slots = props.slots ?? {};
+ const universalFooter = slots.footer?.includes('data-pfs-footer') ?? false;
const theme = props.theme ?? 'system';
const themeColor = props.themeColor ?? { light: '#fffcf9', dark: '#1a120c' };
const title =
@@ -203,33 +204,29 @@ export function Layout(props: LayoutProps) {
${trusted(slots.header)}
${props.body}
-
+ ${universalFooter
+ ? trusted(slots.footer)
+ : html``}
${trusted(slots.bodyEnd)}