Skip to content

Commit a7b0947

Browse files
committed
fix hashnode inserts
1 parent 20d7aea commit a7b0947

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

apps/codingcatdev/scripts/podcast-hashnode.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,11 @@ for await (const file of g) {
7171

7272
const finalContent = `
7373
Original: https://codingcat.dev/${TYPE}/${fm.slug}
74+
7475
${fm?.spotify ? '%[' + fm.spotify + ']' : ''}
76+
7577
${fm?.youtube ? '%[' + fm.youtube + ']' : ''}
78+
7679
${content}`;
7780
const response = await addArticle({
7881
title: fm.title,

apps/codingcatdev/scripts/post-hashnode.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,11 @@ for await (const file of g) {
7171

7272
const finalContent = `
7373
Original: https://codingcat.dev/${TYPE}/${fm.slug}
74+
7475
${fm?.spotify ? '%[' + fm.spotify + ']' : ''}
76+
7577
${fm?.youtube ? '%[' + fm.youtube + ']' : ''}
78+
7679
${content}`;
7780
const response = await addArticle({
7881
title: fm.title,

0 commit comments

Comments
 (0)