chore: author name if no mastodon
This commit is contained in:
parent
ef7ccd3098
commit
e0c0c5ccd2
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ WITH syndication_data AS (
|
||||||
WHEN l.mastodon IS NOT NULL THEN
|
WHEN l.mastodon IS NOT NULL THEN
|
||||||
' via @' || split_part(l.mastodon, '@', 2) || '@' || split_part(split_part(l.mastodon, 'https://', 2), '/', 1)
|
' via @' || split_part(l.mastodon, '@', 2) || '@' || split_part(split_part(l.mastodon, 'https://', 2), '/', 1)
|
||||||
ELSE ''
|
ELSE ''
|
||||||
END, ' ', (
|
END, CONCAT(' via ', l.name), (
|
||||||
SELECT array_to_string(
|
SELECT array_to_string(
|
||||||
array_agg('#' || initcap(replace(t.name, ' ', ''))), ' '
|
array_agg('#' || initcap(replace(t.name, ' ', ''))), ' '
|
||||||
)
|
)
|
||||||
|
|
Reference in a new issue