16 Commits

Author SHA1 Message Date
ZhenShuo Leo
f827f8e8d8 feat: add support for imagePosition config 2025-09-30 23:09:43 +08:00
ZhenShuo Leo
22f097f92a chore: hotlinkFeatureImages -> hotlinkFeatureImage 2025-09-27 09:12:58 +08:00
ZhenShuo Leo
9eebb5b2aa fix: img attribute
add loading/decoding/fetchpriority

remove alt for decorative images
2025-09-26 22:37:56 +08:00
ZhenShuo Leo
e6968d877f feat(hero): add support for hotlinkFeatureImages 2025-09-26 22:07:26 +08:00
ZhenShuo Leo
cb479d5693 feat(hero): support internal links for featureimage
This commit also gives the `featureimage` frontmatter the highest priority, preventing it from being overridden by hidden logic.
2025-09-16 15:08:35 +08:00
Nuno Coração
f2e224a042 pretty run 2025-06-17 23:17:26 +01:00
Served Smart
9f85c0566e ♻️ refactor: Move most inline styles out of line
- Move out of line by using already defined css classes
- Move paddings out of line
- Move margins out of line
- Move z-indexes out of line
- Move center-relative-left out of line
2025-06-12 14:00:21 +02:00
Jörn-Michael Miehe
b772b5ed97 parameter backgroundImageWidth default function usage 2024-08-08 02:00:47 +02:00
Jörn-Michael Miehe
090fd09ccf add parameter backgroundImageWidth + english documentation 2024-08-08 01:36:30 +02:00
Nuno Coração
8bbd8b8626 backgrounds and feature images support svg 2024-03-09 23:44:14 +00:00
Aakash Nand
19520b4481 Ensure featureimage is present before calling resources.GetRemote
Also added ability to set author image as external url and updated
relevant documentation in configuration
2024-02-10 23:52:52 +09:00
Aakash Nand
d332b54c94 Fetch feature image from url 2024-02-06 21:03:40 +09:00
Nicolas Lorin
b00813ad26 Accessibility: add alt text for big hero 2023-03-11 11:04:40 +01:00
Nicolas Lorin
6af086dd65 Perf: add fixed image ratio 2023-03-11 11:03:26 +01:00
Nuno Coração
41f90d20a5 🐛 fix disableImageOptimization usage across all images in theme 2023-01-05 18:23:21 +00:00
Nuno Coração
95796f56f2 added multiple options to display hero images 2022-10-16 16:49:52 +01:00