Skip to content

Commit

Permalink
Update folds SEO to include curator.
Browse files Browse the repository at this point in the history
  • Loading branch information
jahooma committed Jan 28, 2022
1 parent f04d66d commit 482654d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 1 addition & 3 deletions web/components/contract-overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ export const ContractOverview = (props: {
? contract.question
: `${creatorName}: ${contract.question}`
const tweetDescription = resolution
? isCreator
? `Resolved ${resolution}!`
: `Resolved ${resolution} by ${creatorName}:`
? `Resolved ${resolution}!`
: `Currently ${probPercent} chance, place your bets here:`
const url = `https://manifold.markets${contractPath(contract)}`
const tweetText = `${tweetQuestion}\n\n${tweetDescription}\n\n${url}`
Expand Down
6 changes: 5 additions & 1 deletion web/pages/fold/[...slugs]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,11 @@ export default function FoldPage(props: {

return (
<Page wide>
<SEO title={fold.name} description={fold.about} url={foldPath(fold)} />
<SEO
title={fold.name}
description={`Curated by ${curator.name}. ${fold.about}`}
url={foldPath(fold)}
/>

<div className="px-3 lg:px-1">
<Row className="justify-between mb-6">
Expand Down

0 comments on commit 482654d

Please sign in to comment.