From b436ee0e0a84f86ef987849cc979d75071e122ee Mon Sep 17 00:00:00 2001 From: Mina Choi Date: Fri, 30 Oct 2026 11:37:28 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=ED=83=80=EB=A1=9C=20=ED=95=B4=EC=8B=9C?= =?UTF-8?q?=ED=83=9C=EA=B7=B8=20=E2=80=94=20=EB=8C=80=EC=A3=BC=EC=A0=9C=20?= =?UTF-8?q?=EB=B0=B0=EA=B2=BD=EA=B3=BC=20=EC=95=88=20=EB=A7=9E=EB=8A=94=20?= =?UTF-8?q?=EC=A3=BC=EC=A0=9C=EB=8A=94=20copy.tags=20=EB=A1=9C=20=EC=A3=BC?= =?UTF-8?q?=EC=A0=9C=20=ED=83=9C=EA=B7=B8=EB=A5=BC=20=EB=B0=94=EA=BF=88(?= =?UTF-8?q?=EB=82=98=EB=93=A4=EC=9D=B4=20=EB=93=B1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/src/cards/templates.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/src/cards/templates.tsx b/admin/src/cards/templates.tsx index 80ba196..f1f62fd 100644 --- a/admin/src/cards/templates.tsx +++ b/admin/src/cards/templates.tsx @@ -146,7 +146,8 @@ const tarot: Template = { post: (_d, c) => ({ title: `오늘의 ${c.title.replaceAll('\n', ' ').replaceAll('*', '')}`, caption: `Q. ${c.question} 1·2·3 중 한 장을 골라 보세요`, - hashtags: tags(SKIN_TAGS[c.skin ?? ''] ?? [], [c.n1, c.n2, c.n3].map((n) => (n ? `#${n.replace(/각$/, '').replace(/\s/g, '')}` : undefined)), ['#날씨각', '#날씨타로', '#타로', '#오늘의타로', '#오늘의운세', '#오늘날씨']), + // 대주제 배경(skin)과 태그가 안 맞는 주제(나들이 등)는 copy.tags(띄어쓰기로 구분)로 주제 태그를 바꾼다 + hashtags: tags(c.tags ? c.tags.split(' ') : (SKIN_TAGS[c.skin ?? ''] ?? []), [c.n1, c.n2, c.n3].map((n) => (n ? `#${n.replace(/각$/, '').replace(/\s/g, '')}` : undefined)), ['#날씨각', '#날씨타로', '#타로', '#오늘의타로', '#오늘의운세', '#오늘날씨']), }), name: '날씨 타로', autoPlan: true,