ZhenShuo Leo
dc778836f1
feat: hide image in a11y mode
2025-07-21 17:18:18 +08:00
ZhenShuo Leo
9e5a7f9d29
Revert " ♻️ Refactor: Move inline styles containing background-image: out of line"
...
This reverts commit 1736cafcf4 .
2025-07-11 09:09:43 +08:00
ZhenShuo Leo
95b62176cf
Revert " 🐛 Fix: Reassignment of variable names"
...
This reverts commit 80486364cd .
2025-07-11 09:09:43 +08:00
Served Smart
80486364cd
🐛 Fix: Reassignment of variable names
...
I'm not sure why this is such a big problem, but hugo doesn't seem to like this. It is also better to just use the intended way to reassign vars always.
Before, *feature* images if using background.html would always get overwritten, now that is fixed.
2025-06-27 19:21:59 +02:00
Served Smart
1736cafcf4
♻️ Refactor: Move inline styles containing background-image: out of line
...
This greatly reduces the number of inline styles in the project and enhances maintainability by avoiding a lot of duplicate code.
This also reduces the number of hashes required for a CSP since all previous background-image inline styles are now in main.css.
2025-06-27 19:21:58 +02:00
Nuno Coração
f2e224a042
pretty run
2025-06-17 23:17:26 +01:00
Served Smart
37ab1055e7
♻️ refactor: Move similar javascript inline code out of line
...
- Move variables oid, oid_likes out of line
- Move background-blur out of line
- Move fetch-repo code out of line
2025-06-12 13:58:59 +02:00
ZhenShuo Leo
f19c61cb97
🐛 Fix: make thumbAndBackground behavior consistent
...
Add support for URL input, matching the behavior of other hero partials.
2025-05-03 18:30:32 +08: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
Nuno Coração
41f90d20a5
🐛 fix disableImageOptimization usage across all images in theme
2023-01-05 18:23:21 +00:00
Nuno Coração
0eea85631c
✨ Background heros improvements
2022-12-02 22:32:37 +00:00