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

@@ -2,7 +2,7 @@
<div class="footer__inner container">
<div>
<a href="/" class="footer__brand">HER</a>
<a href="{{ rootPath }}" class="footer__brand">HER</a>
<p class="footer__tagline">Home Enhancement and Renovation<br>San Francisco &amp; Bay Area</p>
</div>
@@ -10,7 +10,7 @@
<p class="footer__nav-heading">Services</p>
<ul class="footer__nav" role="list">
{% for service in services %}
<li><a href="/services/{{ service.slug }}/">{{ service.name }}</a></li>
<li><a href="{{ rootPath }}services/{{ service.slug }}/">{{ service.name }}</a></li>
{% endfor %}
</ul>
</nav>