chore: author name if no mastodon

This commit is contained in:
Cory Dransfeldt 2024-10-14 08:19:47 -07:00
parent ef7ccd3098
commit e0c0c5ccd2
No known key found for this signature in database

View file

@ -33,7 +33,7 @@ WITH syndication_data AS (
WHEN l.mastodon IS NOT NULL THEN
' via @' || split_part(l.mastodon, '@', 2) || '@' || split_part(split_part(l.mastodon, 'https://', 2), '/', 1)
ELSE ''
END, ' ', (
END, CONCAT(' via ', l.name), (
SELECT array_to_string(
array_agg('#' || initcap(replace(t.name, ' ', ''))), ' '
)