chore(recent-activity.liquid): carry featured post marker over to recent activity
This commit is contained in:
parent
4cf80298ef
commit
22e8d1b126
4 changed files with 26 additions and 18 deletions
|
@ -5,6 +5,7 @@ WITH activity_data AS (
|
|||
p.title,
|
||||
p.content AS description,
|
||||
p.url AS url,
|
||||
p.featured AS featured,
|
||||
NULL AS author,
|
||||
NULL AS image,
|
||||
NULL AS rating,
|
||||
|
@ -24,6 +25,7 @@ WITH activity_data AS (
|
|||
l.title,
|
||||
l.description,
|
||||
l.link AS url,
|
||||
NULL AS featured,
|
||||
l.author,
|
||||
NULL AS image,
|
||||
NULL AS rating,
|
||||
|
@ -45,6 +47,7 @@ WITH activity_data AS (
|
|||
) AS title,
|
||||
b.description,
|
||||
b.url AS url,
|
||||
NULL AS featured,
|
||||
NULL AS author,
|
||||
b.image,
|
||||
b.rating,
|
||||
|
@ -67,6 +70,7 @@ WITH activity_data AS (
|
|||
) AS title,
|
||||
m.description,
|
||||
m.url AS url,
|
||||
NULL AS featured,
|
||||
NULL AS author,
|
||||
m.image,
|
||||
m.rating,
|
||||
|
@ -87,6 +91,7 @@ WITH activity_data AS (
|
|||
CONCAT(c.artist->>'name', ' at ', c.venue->>'name_short') AS title,
|
||||
c.concert_notes AS description,
|
||||
NULL AS url,
|
||||
NULL AS featured,
|
||||
NULL AS author,
|
||||
NULL AS image,
|
||||
NULL AS rating,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue