make meta page asset paths absolute to fix the issue of trailing/non-trailing slashes causing path problems on meta pages

This commit is contained in:
Steven Sloan 2013-11-13 22:23:03 -05:00
parent 4da2b02d70
commit d183858091
3 changed files with 12 additions and 12 deletions

View file

@ -3,14 +3,14 @@
<head>
<meta charset="utf-8">
<title>Middleman Configuration</title>
<link type="text/css" rel="stylesheet" href="../assets/meta.css">
<link type="text/css" rel="stylesheet" href="../assets/config.css">
<link type="text/css" rel="stylesheet" href="/__middleman/assets/meta.css">
<link type="text/css" rel="stylesheet" href="/__middleman/assets/config.css">
</head>
<body>
<div class="container">
<article id="main">
<a href="../">&laquo; back</a>
<a href="/__middleman/">&laquo; back</a>
<h1>Middleman Configuration</h1>
<p>This page shows the current configuration of your Middleman application.</p>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Middleman Info</title>
<link type="text/css" rel="stylesheet" href="assets/meta.css">
<link type="text/css" rel="stylesheet" href="/__middleman/assets/meta.css">
</head>
<body>
@ -11,8 +11,8 @@
<h1>Middleman Information</h1>
<ul>
<li><a href="sitemap/">Sitemap</a></li>
<li><a href="config/">Configuration</a></li>
<li><a href="/__middleman/sitemap/">Sitemap</a></li>
<li><a href="/__middleman/config/">Configuration</a></li>
<li><a href="http://middlemanapp.com">Middleman Guides</a></li>
</ul>
</div>

View file

@ -6,17 +6,17 @@
<title>Middleman Sitemap</title>
<link type="text/css" rel="stylesheet" href="../assets/meta.css">
<link type="text/css" rel="stylesheet" href="../assets/sitemap.css">
<script src="../assets/jquery-1.8.2.min.js"></script>
<script src="../assets/jquery.details-1.6.min.js"></script>
<script src="../assets/sitemap.js"></script>
<link type="text/css" rel="stylesheet" href="/__middleman/assets/meta.css">
<link type="text/css" rel="stylesheet" href="/__middleman/assets/sitemap.css">
<script src="/__middleman/assets/jquery-1.8.2.min.js"></script>
<script src="/__middleman/assets/jquery.details-1.6.min.js"></script>
<script src="/__middleman/assets/sitemap.js"></script>
</head>
<body>
<div class="container">
<article id="main">
<a href="../">&laquo; back</a>
<a href="/__middleman/">&laquo; back</a>
<h1>Middleman Sitemap</h1>
<p>This page shows all of the pages in