- web/: server-rendered Astro over the Node API: home (poets by Hijri century), poet (intro + sections), category (numbered contents), poem (couplets, prev/next, source), search (paged); Naskh default with Nastaliq toggle, light/dark, Urdu digits, RTL, mobile - api: section counts include nested categories - README: how to run v2 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 lines
296 B
JavaScript
11 lines
296 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
import node from '@astrojs/node';
|
|
|
|
// Server-rendered pages (content comes from the Divan API at request time)
|
|
export default defineConfig({
|
|
output: 'server',
|
|
adapter: node({ mode: 'standalone' }),
|
|
server: { port: 4200 },
|
|
i18n: undefined,
|
|
});
|