mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
Add t-tag editor under Advanced in App dialog
This commit is contained in:
2 files changed
+72
No files matched your search
@@ -12,6 +12,7 @@ export interface AppEventInput {
|
||||
banner?: string;
|
||||
website?: string;
|
||||
dTag: string;
|
||||
tTags?: string[];
|
||||
supportedKinds?: string[];
|
||||
webHandlers?: Array<{ url: string; type?: string }>;
|
||||
}
|
||||
@@ -70,6 +71,13 @@ export async function buildAppEvent(
|
||||
}
|
||||
}
|
||||
|
||||
// Add user-defined t-tags
|
||||
if (input.tTags) {
|
||||
for (const tag of input.tTags) {
|
||||
if (tag.trim()) tags.push(['t', tag.trim()]);
|
||||
}
|
||||
}
|
||||
|
||||
// Add t-tags for categorization (shakespeare + template name)
|
||||
if (opts?.fs && opts.cwd) {
|
||||
tags.push(['t', 'shakespeare']);
|
||||
|
||||
Reference in new issue
Block a user