Skip to content

Commit e8769da

Browse files
committed
fix podcast content
1 parent 502c68a commit e8769da

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

apps/codingcatdev/scripts/podcast-dev-to.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,14 @@ for await (const file of g) {
5353
canonical_url: `https://codingcat.dev/${TYPE}/${fm.slug}`,
5454
description: fm?.excerpt || '',
5555
organization_id: '1009',
56-
body_markdown: `Original: https://codingcat.dev/${TYPE}/${fm.slug}
57-
{% youtube ${fm?.youtube} %}
58-
{% spotify spotify:episode:${fm?.spotify?.split('/')?.at(-1)?.split('?')?.at(0)} %}
59-
${content}`
56+
body_markdown: `
57+
Original: https://codingcat.dev/${TYPE}/${fm.slug}
58+
59+
{% youtube ${fm?.youtube} %}
60+
61+
{% spotify spotify:episode:${fm?.spotify?.split('/')?.at(-1)?.split('?')?.at(0)} %}
62+
63+
${content}`
6064
}
6165
});
6266
console.log('addArticle result:', response.status);

0 commit comments

Comments
 (0)