Changeset adb6291 in Klonkt for src/routes/users.js


Ignore:
Timestamp:
06/30/2026 06:11:50 PM (2 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
a95dbfd
Parents:
1c33804
Message:

feat(video-cover): render iOS video covers across grid, list, related + listing pages

  • post-tile.ejs / post-card.ejs / post.ejs(related): the cover <img> carries data-ios-mp4 when a loop MP4 exists; shell.ejs's iOS swap upgrades it everywhere covers render
  • cover_video_url threaded through the explicit listing SELECTs (tags/types/users/related); the home grid + main list already use SELECT p.*

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/routes/users.js

    r1c33804 radb6291  
    2727
    2828  const posts = db.prepare(`
    29     SELECT p.id, p.slug, p.title, p.excerpt, p.cover_image_url, p.published_at
     29    SELECT p.id, p.slug, p.title, p.excerpt, p.cover_image_url, p.cover_video_url, p.published_at
    3030    FROM posts p
    3131    WHERE p.author_id = ? AND p.site_id = ? AND p.status = 'published'
Note: See TracChangeset for help on using the changeset viewer.