upstream #1
@ -19,7 +19,8 @@ export default function PostLayout({ children, frontMatter, next, prev }) {
|
|||||||
return (
|
return (
|
||||||
<SectionContainer>
|
<SectionContainer>
|
||||||
<BlogSeo url={`${siteMetdata.siteUrl}/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>
|
||||||
|
<div 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">
|
||||||
<dl className="space-y-10">
|
<dl className="space-y-10">
|
||||||
@ -72,7 +73,8 @@ export default function PostLayout({ children, frontMatter, next, prev }) {
|
|||||||
<Link href={editUrl(fileName)}>{'View on GitHub'}</Link>
|
<Link href={editUrl(fileName)}>{'View on GitHub'}</Link>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<footer className="text-sm font-medium leading-5 divide-gray-200 xl:divide-y dark:divide-gray-700 xl:col-start-1 xl:row-start-2">
|
<footer>
|
||||||
|
<div className="text-sm font-medium leading-5 divide-gray-200 xl:divide-y dark:divide-gray-700 xl:col-start-1 xl:row-start-2">
|
||||||
{tags && (
|
{tags && (
|
||||||
<div className="py-4 xl:py-8">
|
<div className="py-4 xl:py-8">
|
||||||
<h2 className="text-xs tracking-wide text-gray-500 uppercase dark:text-gray-400">
|
<h2 className="text-xs tracking-wide text-gray-500 uppercase dark:text-gray-400">
|
||||||
@ -109,6 +111,7 @@ export default function PostLayout({ children, frontMatter, next, prev }) {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
</div>
|
||||||
<div className="pt-4 xl:pt-8">
|
<div className="pt-4 xl:pt-8">
|
||||||
<Link
|
<Link
|
||||||
href="/blog"
|
href="/blog"
|
||||||
@ -119,6 +122,7 @@ export default function PostLayout({ children, frontMatter, next, prev }) {
|
|||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</article>
|
</article>
|
||||||
</SectionContainer>
|
</SectionContainer>
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user