Skip to content

Commit

Permalink
base path fix
Browse files Browse the repository at this point in the history
  • Loading branch information
btopro committed Feb 19, 2019
1 parent 9942080 commit 9f8baea
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions system/boilerplate/cdns/cdn.waxam.io.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta charset="utf-8">
<title>My site</title>
<base href="/" />
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1,user-scalable=yes">
<meta name="generator" content="HAXCMS">
<meta name="description" content="My HAXCMS site description">
Expand Down
1 change: 1 addition & 0 deletions system/boilerplate/cdns/haxtheweb.org.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta charset="utf-8">
<title>My site</title>
<base href="/" />
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1,user-scalable=yes">
<meta name="generator" content="HAXCMS">
<meta name="description" content="My HAXCMS site description">
Expand Down
1 change: 1 addition & 0 deletions system/boilerplate/cdns/webcomponents.psu.edu.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta charset="utf-8">
<title>My site</title>
<base href="/" />
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1,user-scalable=yes">
<meta name="generator" content="HAXCMS">
<meta name="description" content="My HAXCMS site description">
Expand Down
3 changes: 3 additions & 0 deletions system/boilerplate/site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
<head>
<meta charset="utf-8">
<title>My site</title>
<script type="text/javascript">
document.write("<base href='" + document.location.pathname.replace('index.html', '') + "' />");
</script>
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1,user-scalable=yes">
<meta name="generator" content="HAXCMS">
<meta name="description" content="My HAXCMS site description">
Expand Down

0 comments on commit 9f8baea

Please sign in to comment.