diff options
| author | nsfisis <nsfisis@gmail.com> | 2023-03-18 23:41:47 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2023-03-18 23:41:47 +0900 |
| commit | 0e5fff11e9a455273dad77fc26796af03ddf08d3 (patch) | |
| tree | 756437340bc46afb912595750caace2f4dc88cf6 /nuldoc-src/commands/build.ts | |
| parent | 3f82b71a657d8b8218ed468acf0552f29cfd1dd0 (diff) | |
| download | blog.nsfisis.dev-0e5fff11e9a455273dad77fc26796af03ddf08d3.tar.gz blog.nsfisis.dev-0e5fff11e9a455273dad77fc26796af03ddf08d3.tar.zst blog.nsfisis.dev-0e5fff11e9a455273dad77fc26796af03ddf08d3.zip | |
feat(content): write contents in about page
Diffstat (limited to 'nuldoc-src/commands/build.ts')
| -rw-r--r-- | nuldoc-src/commands/build.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuldoc-src/commands/build.ts b/nuldoc-src/commands/build.ts index 38af80a..f4cb013 100644 --- a/nuldoc-src/commands/build.ts +++ b/nuldoc-src/commands/build.ts @@ -29,7 +29,7 @@ export async function runBuildCommand(config: Config) { const tags = await buildTagPages(posts, slides, config); await buildTagListPage(tags, config); await buildHomePage(config); - await buildAboutPage(config); + await buildAboutPage(slides, config); await buildNotFoundPage(config); await copyStaticFiles(config); await copyAssetFiles(slides, config); @@ -114,8 +114,8 @@ async function buildHomePage(config: Config) { await writePage(homePage, config); } -async function buildAboutPage(config: Config) { - const aboutPage = await generateAboutPage(config); +async function buildAboutPage(slides: SlidePage[], config: Config) { + const aboutPage = await generateAboutPage(slides, config); await writePage(aboutPage, config); } |
