2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-06-13 10:35:27 +00:00

use relative url

This commit is contained in:
2021-11-08 23:47:05 +01:00
parent 8a967e94c0
commit f877e11f5c
4 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@ layout: default
<header>
{% if page.backLink or page.backLink == nil %}
<a href="/" class="flex items-center m-5 text-xl hover:underline">
<a href="{{ '/' | relative_url }}" class="flex items-center m-5 text-xl hover:underline">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd"
d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z"