diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-01-12 19:44:19 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-01-12 21:37:23 +0900 |
| commit | 940eae61767214eb1ee573284dc8b5876d536fb3 (patch) | |
| tree | ed82c51e568eea064b530e815f12bd2fc701eef6 /vhosts/blog/nuldoc-src/commands | |
| parent | 98abcc023b99898f3a7e182e2330ea809a4c99e2 (diff) | |
| download | nsfisis.dev-940eae61767214eb1ee573284dc8b5876d536fb3.tar.gz nsfisis.dev-940eae61767214eb1ee573284dc8b5876d536fb3.tar.zst nsfisis.dev-940eae61767214eb1ee573284dc8b5876d536fb3.zip | |
refactor(blog/nuldoc): convert pages/*.ts to TSX
Diffstat (limited to 'vhosts/blog/nuldoc-src/commands')
| -rw-r--r-- | vhosts/blog/nuldoc-src/commands/build.ts | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/vhosts/blog/nuldoc-src/commands/build.ts b/vhosts/blog/nuldoc-src/commands/build.ts index 1ad08825..a542b4f8 100644 --- a/vhosts/blog/nuldoc-src/commands/build.ts +++ b/vhosts/blog/nuldoc-src/commands/build.ts @@ -7,20 +7,20 @@ import { parseNulDocFile } from "../ndoc/parse.ts"; import { Page } from "../page.ts"; import { render } from "../render.ts"; import { dateToString } from "../revision.ts"; -import { generateAboutPage } from "../pages/about.ts"; -import { generateHomePage } from "../pages/home.ts"; -import { generateNotFoundPage } from "../pages/not_found.ts"; +import { generateAboutPage } from "../pages/about.tsx"; +import { generateHomePage } from "../pages/home.tsx"; +import { generateNotFoundPage } from "../pages/not_found.tsx"; import { generatePostPage, getPostPublishedDate, PostPage, -} from "../pages/post.ts"; -import { generatePostListPage } from "../pages/post_list.ts"; -import { generateSlidePage, SlidePage } from "../pages/slide.ts"; -import { generateSlideListPage } from "../pages/slide_list.ts"; -import { generateTagPage, TagPage } from "../pages/tag.ts"; +} from "../pages/post.tsx"; +import { generatePostListPage } from "../pages/post_list.tsx"; +import { generateSlidePage, SlidePage } from "../pages/slide.tsx"; +import { generateSlideListPage } from "../pages/slide_list.tsx"; +import { generateTagPage, TagPage } from "../pages/tag.tsx"; import { TaggedPage } from "../pages/tagged_page.ts"; -import { generateTagListPage } from "../pages/tag_list.ts"; +import { generateTagListPage } from "../pages/tag_list.tsx"; import { parseSlideFile } from "../slide/parse.ts"; export async function runBuildCommand(config: Config) { |
