Move head tag to BaseHead
This commit is contained in:
1 parent
0eba426c6e
commit
dc4d1c392c
6 files changed
+46
-72
No files matched your search
@@ -31,9 +31,7 @@ let tags = [...new Set(getTags)];
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-us">
|
||||
<head>
|
||||
<BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} />
|
||||
</head>
|
||||
<BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} />
|
||||
<body>
|
||||
<Header title={SITE_TITLE} />
|
||||
<main>
|
||||
|
||||
@@ -17,14 +17,7 @@ const posts = (await Astro.glob("../posts/*.md")).sort(
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-us">
|
||||
<head>
|
||||
<BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} />
|
||||
<style>
|
||||
ul li {
|
||||
display: flex;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} />
|
||||
<body>
|
||||
<Header />
|
||||
<main>
|
||||
|
||||
@@ -37,14 +37,7 @@ const { tag: currentTag } = Astro.params;
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-us">
|
||||
<head>
|
||||
<BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} />
|
||||
<style>
|
||||
ul li {
|
||||
display: flex;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} />
|
||||
<body>
|
||||
<Header />
|
||||
<main>
|
||||
|
||||
Reference in new issue
Block a user