on master help sign in
putting image in array on post metadata
d0696d0Gordon
components/Meta.js+1−1
@@ -4,7 +4,7 @@ export default function Meta(post, disableImage) {
4 const description =
4 const description =
5 post?.description || "Urbit is a personal server built from scratch.";
5 post?.description || "Urbit is a personal server built from scratch.";
6 const image =
6 const image =
7− post?.extra?.image || post?.image || "https://media.urbit.org/logo/urbit-logo-card.png";
7+ post?.extra?.image || "https://media.urbit.org/logo/urbit-logo-card.png";
8 return (
8 return (
9 <>
9 <>
10 <link rel="icon" type="image/png" href="/images/favicon.ico" />
10 <link rel="icon" type="image/png" href="/images/favicon.ico" />
pages/decentralized-discord.js+3−1
@@ -44,7 +44,9 @@ export default function DiscordLanding({ search }) {
44 title: "Urbit is Decentralized Discord",
44 title: "Urbit is Decentralized Discord",
45 description:
45 description:
46 "There's no need to rely on centralized services to run a decentralized web3 project.",
46 "There's no need to rely on centralized services to run a decentralized web3 project.",
47+ extra:[
47− image: "https://storage.googleapis.com/media.urbit.org/site/landing/discord-opengraph.png"
48+ {image:"https://storage.googleapis.com/media.urbit.org/site/landing/discord-opengraph.png"}
49+ ]
48 };
50 };
49 return (
51 return (
50 <Container>
52 <Container>