Fix: use relative paths throughout for local file:// compatibility
This commit is contained in:
@@ -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"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user