about summary refs log tree commit diff stats
path: root/src/templates.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates.ts')
-rw-r--r--src/templates.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/templates.ts b/src/templates.ts
index 1006e21..a9fd857 100644
--- a/src/templates.ts
+++ b/src/templates.ts
@@ -48,7 +48,7 @@ async function render404Page(): Promise<string> {
 async function renderHomepage(posts: Array<Post>): Promise<string> {
   const file = matter(await Bun.file("content/_index.md").text());
   const $ = await layout(
-    cheerio.load(await Bun.file("templates/index.html").text()),
+    cheerio.load(await Bun.file("templates/homepage.html").text()),
     config.title,
   );
 
@@ -101,7 +101,7 @@ async function renderPost(file: Post, content: string) {
 
 async function renderListPage(tag: string, posts: Post[]) {
   const $ = await layout(
-    cheerio.load(await Bun.file("templates/tag.html").text()),
+    cheerio.load(await Bun.file("templates/list.html").text()),
     tag || config.title,
   );
   const $feed = $(".h-feed");