upstream #1

Merged
jblu merged 1007 commits from upstream into main 2024-11-04 22:35:57 -06:00
2 changed files with 7 additions and 8 deletions
Showing only changes of commit 3624a30269 - Show all commits

View File

@ -18,7 +18,7 @@ export default function PostLayout({ children, frontMatter, next, prev }) {
return ( return (
<SectionContainer> <SectionContainer>
<BlogSeo url={`${frontMatter.url}/blog/${frontMatter.slug}`} {...frontMatter} /> <BlogSeo url={`${siteMetdata.siteUrl}/blog/${frontMatter.slug}`} {...frontMatter} />
<article className="xl:divide-y xl:divide-gray-200 xl:dark:divide-gray-700"> <article className="xl:divide-y xl:divide-gray-200 xl:dark:divide-gray-700">
<header className="pt-6 xl:pb-6"> <header className="pt-6 xl:pb-6">
<div className="space-y-1 text-center"> <div className="space-y-1 text-center">

View File

@ -84,13 +84,12 @@ export default function Home({ posts }) {
</div> </div>
{posts.length > MAX_DISPLAY && ( {posts.length > MAX_DISPLAY && (
<div className="flex justify-end text-base leading-6 font-medium"> <div className="flex justify-end text-base leading-6 font-medium">
<Link href="/blog"> <Link
<a href="/blog"
className="text-blue-500 hover:text-blue-600 dark:hover:text-blue-400" className="text-blue-500 hover:text-blue-600 dark:hover:text-blue-400"
aria-label="all posts" aria-label="all posts"
> >
All Posts &rarr; All Posts &rarr;
</a>
</Link> </Link>
</div> </div>
)} )}