fix URLs when serving from a subdirectory (#120)
This commit is contained in:
parent
5bc4c2a406
commit
33a68fc44f
7 changed files with 31 additions and 31 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue