From 4e2abd67ddb81102dab2bea531a277a875fc7feb Mon Sep 17 00:00:00 2001 From: kit <58794979+huai-jie@users.noreply.github.com> Date: Sun, 18 Jun 2023 12:39:37 +0800 Subject: [PATCH] feat(init): make project name as default header title (#1275) default header title should be same as project name --- init.ts | 4 ++-- src/dev/deps.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/init.ts b/init.ts index 2ac5a45d..3c88b04f 100644 --- a/init.ts +++ b/init.ts @@ -1,4 +1,4 @@ -import { join, parse, resolve } from "./src/dev/deps.ts"; +import { basename, join, parse, resolve } from "./src/dev/deps.ts"; import { error } from "./src/dev/error.ts"; import { collect, ensureMinDenoVersion, generate } from "./src/dev/mod.ts"; import { @@ -115,7 +115,7 @@ export default function Home() { return ( <>
-