upstream #1
@ -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">
|
||||||
|
@ -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 →
|
All Posts →
|
||||||
</a>
|
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user