pub / stories

Top News Aggregator
git clone src.jayvii.de/pub/stories.git
Home | Log | Files | Exports | Refs | RSS

commit afee7da9636fbd5059320c16e2370ea753998872
parent 2d745b9ddebe0b608dc448ece56c3034ee2dcf8b
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sat, 31 Oct 2026 15:14:36 +0100

feat: proper placeholder graphic

Diffstat:
Dassets/fallback.png | 0
Aassets/fallback.svg | 1+
Mindex.tt | 2+-
3 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/assets/fallback.png b/assets/fallback.png Binary files differ. diff --git a/assets/fallback.svg b/assets/fallback.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 7V19H19V21H4C2 21 2 19 2 19V7H4M21 5V15H8V5H21M21.3 3H7.7C6.76 3 6 3.7 6 4.55V15.45C6 16.31 6.76 17 7.7 17H21.3C22.24 17 23 16.31 23 15.45V4.55C23 3.7 22.24 3 21.3 3M9 6H12V11H9V6M20 14H9V12H20V14M20 8H14V6H20V8M20 11H14V9H20V11Z" /></svg> diff --git a/index.tt b/index.tt @@ -130,7 +130,7 @@ <section> <!-- Head image --> <img - src="assets/fallback.png" + src="assets/fallback.svg" style="width:100%;height:100%;max-height:250px;object-fit:cover;" onload="insert_og_image(this, '<?php echo $entry['url']; ?>');" >