diff --git a/package.json b/package.json index ec97598..dbafe20 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "wrangler": "^3.0.0" }, "dependencies": { - "typeble": "^0.2.1" + "typeble": "^0.3.1" }, "homepage": "https://github.com/MarkSuckerberg/typeble", "bugs": { diff --git a/src/index.ts b/src/index.ts index 89a43e5..5dafa85 100644 --- a/src/index.ts +++ b/src/index.ts @@ -147,7 +147,9 @@ async function mainPage( const videosToShow = videoIndex ? videoTags[+videoIndex - 1] : videoTags.join('\n'); const title = `${post.blog.name} ${ - originalPost ? `🔁 ${originalPost.blog?.name || 'deleted blog'}` : `(${post.blog.title})` + originalPost + ? `🔁 ${originalPost.blog?.name || originalPost.broken_blog_name}` + : `(${post.blog.title})` }`; const audioBlocks = blocks.filter(element => element.type == 'audio') as TumblrNeueAudioBlock[];