Split pages and commands into editable modules
This commit is contained in:
@@ -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');
|
||||
}
|
||||
Reference in New Issue
Block a user