fix URLs when serving from a subdirectory (#120)
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
{{ define "header" }}
|
||||
<link rel="stylesheet" href="/assets/css/404.css">
|
||||
<link rel="stylesheet" href="{{ "/assets/css/404.css" | relURL }}">
|
||||
{{ end }}
|
||||
|
||||
{{ define "navbar" }}
|
||||
@@ -9,7 +9,7 @@
|
||||
{{ define "content" }}
|
||||
<div class="container">
|
||||
<div class="notFound">
|
||||
<img src="/assets/images/404.png" alt="">
|
||||
<img src="{{ "/assets/images/404.png" | relURL }}" alt="">
|
||||
<div class="message">
|
||||
<h1>404</h1>
|
||||
<h4>The page you are looking for is not there yet.</h4>
|
||||
|
||||
Reference in New Issue
Block a user