on master help sign in
Meta: fix 'undefined' title
commit77267005f4e0fd5d4ce87044c41292b5b6b4145a authorMatilde Park <matilde@tlon.io> dateTue 27 Jul 2021, 23:01 (5 years ago) parent94c876d
1 file changed+1−1
components/Meta.js+1−1
components/Meta.js+1−1
@@ -1,6 +1,6 @@
11export default function Meta(post) {
22 const author = post?.extra?.author || "Urbit";
3− const title = `${post?.title} - ` || "";
3+ const title = post?.title ? `${post.title} - ` : "";
44 const description =
55 post?.description || "Urbit is a personal server built from scratch.";
66 const image =