Fix: use relative paths throughout for local file:// compatibility

This commit is contained in:
Tom Roth
2026-07-31 08:49:29 +02:00
parent 34f7f5a1f5
commit 36854833dc
9 changed files with 49 additions and 30 deletions

View File

@@ -21,10 +21,10 @@ description: "Browse Diana's services — painting, tile setting, drywall, plumb
<div class="services-grid container">
{% for service in services %}
<a href="/services/{{ service.slug }}/" class="service-card fade-up">
<a href="{{ rootPath }}services/{{ service.slug }}/" class="service-card fade-up">
<div class="service-card__image">
<img
src="/assets/{{ service.images[0].file }}"
src="{{ rootPath }}assets/{{ service.images[0].file }}"
alt="{{ service.images[0].alt }}"
loading="lazy"
>