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 charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}{{ config.title }}{% endblock %}</title> <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> </head>
<body> <body>
<nav> <nav>
<div class="wrap"> <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> <ul>
{{ macros::nav_items() }} {{ macros::nav_items() }}
</ul> </ul>