Skip to content

Commit

Permalink
fixing meta
Browse files Browse the repository at this point in the history
  • Loading branch information
thelocalgodd committed Jun 7, 2024
1 parent 726a39f commit efb548f
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion public/CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
test.thelocalgodd.me
thelocalgodd.me
Binary file added public/blog-placeholder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/BlogPost.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { title, date, post } = Astro.props;

<a href=`${post}` target="_self">
<li
class="list-none border-l-2 border-l-solid border-l-slate-800 dark:border-l-white my-1 flex justify-between bg-zinc-300 hover:bg-green-800 px-2 w-screen md:mx-auto md:w-[800px] dark:bg-green-950"
class="list-none my-1 flex justify-between px-2 w-screen md:mx-auto md:w-[800px]"
>
<p>{title}</p>
<p class="text-zinc-500 dark:text-zinc-300">{date}</p>
Expand Down
15 changes: 9 additions & 6 deletions 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="tlg | blog">
<BaseLayout pageTitle="blog" image="/blog-placeholder">
<section id="blog">
<div
id="blog-post-count"
Expand All @@ -32,11 +32,14 @@ import BaseLayout from "../layouts/BaseLayout.astro";
<ul class="mx-auto">
{
allPosts.map((post) => (
<BlogPost
title={post.frontmatter.title}
date={post.frontmatter.pubDate}
post={post.url}
/>
<div>
<BlogPost
title={post.frontmatter.title}
date={post.frontmatter.pubDate}
post={post.url}
/>
<hr />
</div>
))
}
</ul>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import ProjectCard from "../components/ProjectCard.astro";
import Tag from "../components/Tag.astro";
import BaseLayout from "../layouts/BaseLayout.astro";
const pageTitle = "tlg | hello world";
const pageTitle = "hello world";
---

<BaseLayout pageTitle={pageTitle}>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/interesting.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import interestingItems from "./interesting-stuff.js";
import InterestingCard from "../components/InterestingCard.astro";
---

<BaseLayout pageTitle="tlg | interesting stuff">
<BaseLayout pageTitle="interesting stuff">
<section id="blog" class="flex flex-col">
<div class="mx-auto flex md:mx-0 my-4 rounded-xl">
<p>
Expand Down

0 comments on commit efb548f

Please sign in to comment.