Support relative paths for index.html loads
Allows SUI to work at arbitrary path names rather than relying on fixed root-level paths.
This commit is contained in:
parent
8bd2e51813
commit
d91c447c7a
1 changed files with 6 additions and 6 deletions
12
index.html
12
index.html
|
@ -5,7 +5,7 @@
|
|||
<meta charset="utf-8">
|
||||
<meta http-equiv="Default-Style" content="">
|
||||
<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" />
|
||||
<link type="text/css" rel="stylesheet" href="/assets/css/styles.css" media="screen,projection"/>
|
||||
<link type="text/css" rel="stylesheet" href="./assets/css/styles.css" media="screen,projection"/>
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto:400,500,700,900" rel="stylesheet">
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.1.1/handlebars.min.js"></script>
|
||||
|
@ -118,10 +118,10 @@
|
|||
</a>
|
||||
</div>
|
||||
|
||||
<script src="/assets/js/data.js" type="text/javascript"></script>
|
||||
<script src="/assets/js/script.js" type="text/javascript"></script>
|
||||
<script src="/assets/js/themer.js" type="text/javascript"></script>
|
||||
<script src="/assets/js/search.js" type="text/javascript"></script>
|
||||
<script src="./assets/js/data.js" type="text/javascript"></script>
|
||||
<script src="./assets/js/script.js" type="text/javascript"></script>
|
||||
<script src="./assets/js/themer.js" type="text/javascript"></script>
|
||||
<script src="./assets/js/search.js" type="text/javascript"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue