Skip to content

Commit

Permalink
fixing meta image
Browse files Browse the repository at this point in the history
  • Loading branch information
thelocalgodd committed Jun 7, 2024
1 parent efb548f commit db76986
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const { pageTitle, description, image = "/placeholder.png" } = Astro.props;
data-website-id="f2eb0fb3-2348-4483-89a8-56906584f090"></script>

<!-- Primary Meta Tags -->
<title>{pageTitle} | thelocalogdd</title>
<title>{pageTitle} | thelocalgodd</title>
<meta name="title" content={pageTitle} />
<meta name="description" content={description} />

Expand Down
5 changes: 4 additions & 1 deletion src/layouts/BlogLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ import BaseLayout from "./BaseLayout.astro";
const { frontmatter } = Astro.props;
---

<BaseLayout pageTitle={`blog | ${frontmatter.title}`}>
<BaseLayout
pageTitle={`blog | ${frontmatter.title}`}
image="/blog-placeholder.png"
>
<li
class="list-none my-5 flex items-center justify-center flex-col md:justify-between rounded-md md:px-2 md:w-[750px] md:mx-auto md:flex-row md:m-5"
>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/blog.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "../styles/style.css";
import BaseLayout from "../layouts/BaseLayout.astro";
---

<BaseLayout pageTitle="blog" image="/blog-placeholder">
<BaseLayout pageTitle="blog" image="/blog-placeholder.png">
<section id="blog">
<div
id="blog-post-count"
Expand Down

0 comments on commit db76986

Please sign in to comment.