Fix relative paths

This commit is contained in:
Emil Miler 2024-01-10 00:55:20 +01:00
parent 3346453d77
commit d1dcc8e6d6

View File

@ -5,13 +5,13 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}{{ config.title }}{% endblock %}</title>
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="{{ get_url(path="/style.css") }}">
</head>
<body>
<nav>
<div class="wrap">
<a href="{{ config.base_url }}"><img src="img/logo.svg" class="logo"></a>
<a href="{{ config.base_url }}"><img src="{{ get_url(path="/img/logo.svg") }}" class="logo"></a>
<ul>
{{ macros::nav_items() }}
</ul>