Replace env variable with SITE config object

This commit is contained in:
Sat Naing
2022-09-22 21:32:02 +06:30
parent f8d3a3a960
commit 300fd568e9
11 changed files with 30 additions and 22 deletions
+2 -1
View File
@@ -1,11 +1,12 @@
---
import { SITE } from "src/config";
import Layout from "@layouts/Layout.astro";
import Header from "@components/Header.astro";
import Footer from "@components/Footer.astro";
import LinkButton from "@components/LinkButton.astro";
---
<Layout title={`404 Not Found | ${import.meta.env.PUBLIC_SITE_TITLE}`}>
<Layout title={`404 Not Found | ${SITE.title}`}>
<Header />
<main id="main-content">