]> danix's work - danix.xyz-2.git/commit
Add thumbnail support to article listings
authorDanilo M. <redacted>
Wed, 15 Apr 2026 20:14:02 +0000 (22:14 +0200)
committerDanilo M. <redacted>
Wed, 15 Apr 2026 20:14:02 +0000 (22:14 +0200)
commitbdce585ecc814b148827d9fb2a5fa4b2afe546e7
treec759e8f5f92afec082910ad97d63f25259331f6d
parentd32ef68eabe6fb8d044d936d2e59909cd613920d
Add thumbnail support to article listings

- Add 'image' front matter parameter for article thumbnails
- Redesign article-list-item.html as semantic article card:
  - Large thumbnail (aspect-video, object-cover) at top if image is present
  - Title linked to article page
  - Publication date and type badge
  - Excerpt (from .Description or .Summary with plainify)
  - "Read more" CTA button with arrow icon and hover animation
- Increase list container width (max-w-2xl → max-w-3xl) and spacing (space-y-2 → space-y-6)
- Thumbnail image has subtle scale-up hover effect
- Arrow icon animates on hover
- All three clickable elements (.image, title, CTA) link to article

Co-Authored-By: Claude Haiku 4.5 <redacted>
themes/danix-xyz-hacker/layouts/_default/list.html
themes/danix-xyz-hacker/layouts/partials/article-list-item.html