Add simple Fold page SEO

This commit is contained in:
jahooma 2022-01-28 12:34:13 -06:00
parent d5742900b0
commit 764790c1e1

View File

@ -33,6 +33,7 @@ import { EditFoldButton } from '../../../components/edit-fold-button'
import Custom404 from '../../404' import Custom404 from '../../404'
import { FollowFoldButton } from '../../../components/follow-fold-button' import { FollowFoldButton } from '../../../components/follow-fold-button'
import FeedCreate from '../../../components/feed-create' import FeedCreate from '../../../components/feed-create'
import { SEO } from '../../../components/SEO'
export async function getStaticProps(props: { params: { slugs: string[] } }) { export async function getStaticProps(props: { params: { slugs: string[] } }) {
const { slugs } = props.params const { slugs } = props.params
@ -155,6 +156,8 @@ export default function FoldPage(props: {
return ( return (
<Page wide> <Page wide>
<SEO title={fold.name} description={fold.about} url={foldPath(fold)} />
<div className="px-3 lg:px-1"> <div className="px-3 lg:px-1">
<Row className="justify-between mb-6"> <Row className="justify-between mb-6">
<Title className="!m-0" text={fold.name} /> <Title className="!m-0" text={fold.name} />