Fix 404 page to link correctly to assets

This commit is contained in:
Marcus Whybrow 2012-11-27 12:50:12 +00:00
parent 2ea61cf452
commit 4074e75134

View File

@ -7,9 +7,9 @@
<meta name="author" content="Marcus Whybrow">
<link rel="author" href="https://plus.google.com/103832793361409130288/posts">
<link rel="stylesheet" href="/minecraft-server-manager/assets/css/bootstrap.min.css">
<link rel="stylesheet" href="/minecraft-server-manager/assets/css/style.css">
<link rel="stylesheet" href="/minecraft-server-manager/assets/css/bootstrap-responsive.min.css">
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/bootstrap.min.css">
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/style.css">
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/bootstrap-responsive.min.css">
<!--[if lt IE 9]>
<script type="text/javascript" src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
@ -17,6 +17,8 @@
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-32675598-2']);
_gaq.push(['_setDomainName', 'msmhq.com']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
@ -35,12 +37,13 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="/minecraft-server-manager/">MSM</a>
<a class="brand" href="{{ site.baseurl }}/">MSM</a>
<div class="nav-collapse collapse">
<ul class="nav">
<li></li>
<li><a href="/minecraft-server-manager/">Overview</a></li>
<li><a href="/minecraft-server-manager/docs/">Docs</a></li>
<li><a href="{{ site.baseurl }}/">Overview</a></li>
<li><a href="{{ site.baseurl }}/docs/">Docs</a></li>
<li><a href="{{ site.baseurl }}/blog/">Blog</a></li>
</ul>
</div>
</div>
@ -53,7 +56,7 @@
<h1>404 Page Not Found</h1>
<p>Sorry, can't find that page.</p>
<p>
<a class="btn btn-large btn-primary" href="/minecraft-server-manager/">Oh well, show me the overview!</a>
<a class="btn btn-large btn-primary" href="{{ site.baseurl }}/">Oh well, show me the overview!</a>
</p>
</div>
@ -70,9 +73,9 @@
<script type="text/javascript">
// jquery-1.7.2.min.js local fallback
typeof jQuery == 'undefined' && document.write('<script src="/minecraft-server-manager/assets/js/jquery-1.7.2.min.js" type="text/javascript"><\/script>');
typeof jQuery == 'undefined' && document.write('<script src="{{ site.baseurl }}/assets/js/jquery-1.7.2.min.js" type="text/javascript"><\/script>');
// bootstrap.min.js local fallback
typeof jQuery != 'undefined' && typeof jQuery.fn.modal == 'undefined' && document.write('<script src="/minecraft-server-manager/assets/js/bootstrap.min.js" type="text/javascript"><\/script>');
typeof jQuery != 'undefined' && typeof jQuery.fn.modal == 'undefined' && document.write('<script src="{{ site.baseurl }}/assets/js/bootstrap.min.js" type="text/javascript"><\/script>');
</script>
</body>
</html>