Commit graph

3 commits

Author SHA1 Message Date
welpo
1f7dd70afa
remove redundant comments 2024-11-18 00:00:00 +01:00
welpo
f47018c658
fix for sections + move cards 2024-11-17 23:51:24 +01:00
welpo
2025b6a6f2
🐛 fix: support relative paths in inherited social media card
When a page inherits social_media_card from its parent, look for the image
in the parent directory before trying the current page path. This fixes
the incorrect path resolution when social_media_card is set on a parent
page.

The template now tries paths in this order:
1. Current page directory
2. Parent directory
3. Absolute path
2024-11-17 01:59:58 +01:00