forked from epesooj/webring
Move to Deno+Bunny.net, add a way to test webring locally.
This commit is contained in:
parent
9f66f0b37b
commit
8670aa3412
33 changed files with 599 additions and 3360 deletions
10
scripts/build_index.ts
Normal file
10
scripts/build_index.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
import { join } from 'node:path';
|
||||
import { generateIndex } from '../src/render_templates.ts';
|
||||
|
||||
if (import.meta.main) {
|
||||
const encoder = new TextEncoder();
|
||||
Deno.writeFileSync(
|
||||
join(import.meta.dirname ?? '', '../build/index.html'),
|
||||
encoder.encode(generateIndex())
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue