diff --git a/src/server.mjs b/src/server.mjs index 1c9199f..7498fe8 100644 --- a/src/server.mjs +++ b/src/server.mjs @@ -7,7 +7,7 @@ import { fileURLToPath } from 'node:url'; import { renderHome, renderCommands, renderNotFound, renderLlmsTxt } from './site.mjs'; import { renderBlogIndex, renderPost, renderFeed } from './blog.mjs'; import { POSTS_BY_SLUG, POSTS_NEWEST_FIRST } from './posts.mjs'; -import { SITE } from './content.mjs'; +import { SITE, FOOTER_LINKS } from './content.mjs'; import { createCrawlGate, crawlMiddleware } from './crawl.mjs'; const ROOT = resolve(dirname(fileURLToPath(import.meta.url)), '..'); @@ -82,15 +82,19 @@ export function createApp({ crawlGate = createCrawlGate() } = {}) { res.json({ status: 'ok', version: VERSION, commands: COMMANDS.commands.length }), ); - // Two footers fill the slots every page's foot() leaves, both server-side: - // gets the shared Profullstack footer (webring + copyright) - // from @profullstack/footer's @latest template (the ring verifier reads raw - // HTML), and the pit.world global footer (cached 1 h, - // served stale or as nothing when pit.world is slow or down), last in
. - // Both inline