Split pages and commands into editable modules

This commit is contained in:
2026-07-27 09:44:56 +09:00
parent ae0f6bc970
commit eac572dcaf
18 changed files with 112 additions and 37 deletions
+10
View File
@@ -0,0 +1,10 @@
import { wrap } from '../terminal.js';
export const name = 'about';
export const title = 'About';
// Edit this function to customize your About page.
export function render({ config }) {
const persona = config.persona || {};
return wrap((persona.about || 'Tell visitors who you are.') + '\n\n' + (persona.bio || 'This is your space on the internet.')).join('\n');
}