diff options
Diffstat (limited to 'web/src/index-page.tsx')
| -rw-r--r-- | web/src/index-page.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web/src/index-page.tsx b/web/src/index-page.tsx index a754ef6..71a2fdc 100644 --- a/web/src/index-page.tsx +++ b/web/src/index-page.tsx @@ -3,6 +3,8 @@ import Home from "./home"; import Blog from "./blog"; import Pkgs from "./pkg"; +JSX.setDefaultTitle( "networkheaven.net" ); + JSX.addRoute( "/", () => <Home /> ); JSX.addRoute( "/blog", () => <Blog /> ); JSX.addRoute( "/blog/*", () => <Blog /> ); @@ -10,6 +12,7 @@ JSX.addRoute( "/pkg", () => <Pkgs /> ); JSX.addRoute( "/pkg/*", () => <Pkgs /> ); window.onpopstate = JSX.onPopState; +document.head.appendChild( <link rel="shortcut icon" href="/static/nh.ico" /> ); const url = new URL( window.location.href ); JSX.navigateParams( url.pathname, url.searchParams.entries() ); |
