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