{title}
{description}
-
+
+
{
@@ -107,5 +115,6 @@ const { title, description, date, updated, area, comments } = frontmatter;
) : null
}
+
diff --git a/src/components/THtml.astro b/src/components/THtml.astro index 7f6958f..49bd0ea 100644 --- a/src/components/THtml.astro +++ b/src/components/THtml.astro @@ -1,15 +1,14 @@ --- import { getEntry } from "astro:content"; -import { PiTreeBold } from "react-icons/pi"; -import { TfiThought } from "react-icons/tfi"; -import { IoSearch } from "react-icons/io5"; +import Header from "./Header.astro"; +import Footer from "./Footer.astro"; import Goatcounter from "./Goatcounter.astro"; import "@styles/main.css"; const { - frontmatter: { title, description, area, date, updated, keywords, authors }, + frontmatter: { title, description, date, keywords }, } = Astro.props; const canonicalURL = new URL(Astro.url.pathname, import.meta.env.SITE); @@ -52,52 +51,14 @@ const { ) : null } - { - updated ? ( - - ) : null - } -
-
-
-
+
+
{
updated || date ? (
@@ -98,6 +105,7 @@ const { title, description, date, updated, area, comments } = frontmatter;
diff --git a/src/components/THtml.astro b/src/components/THtml.astro index 7f6958f..49bd0ea 100644 --- a/src/components/THtml.astro +++ b/src/components/THtml.astro @@ -1,15 +1,14 @@ --- import { getEntry } from "astro:content"; -import { PiTreeBold } from "react-icons/pi"; -import { TfiThought } from "react-icons/tfi"; -import { IoSearch } from "react-icons/io5"; +import Header from "./Header.astro"; +import Footer from "./Footer.astro"; import Goatcounter from "./Goatcounter.astro"; import "@styles/main.css"; const { - frontmatter: { title, description, area, date, updated, keywords, authors }, + frontmatter: { title, description, date, keywords }, } = Astro.props; const canonicalURL = new URL(Astro.url.pathname, import.meta.env.SITE); @@ -52,52 +51,14 @@ const { ) : null } - { - updated ? ( - - ) : null - } -