Browse Source

Making asset links absolute

404 pages on sub-directory are unstyled otherwise.
master
Mobius K 2 years ago
parent
commit
35ca45ba53
  1. 10
      html/templates/layout.pug

10
html/templates/layout.pug

@ -11,13 +11,13 @@ html(lang="en")
title BlueTooth Class
link(rel="shortcut icon" href="favicon.ico")
link(rel="apple-touch-icon" href="apple-touch-icon.png")
link(rel="stylesheet" href="bluetooth-class.css")
link(rel="manifest" href="manifest.json" crossorigin="use-credentials")
link(rel="shortcut icon" href="/favicon.ico")
link(rel="apple-touch-icon" href="/apple-touch-icon.png")
link(rel="stylesheet" href="/bluetooth-class.css")
link(rel="manifest" href="/manifest.json" crossorigin="use-credentials")
block scripts
script(src="bluetooth-class.js" defer)
script(src="/bluetooth-class.js" defer)
body
.container

Loading…
Cancel
Save