Merge pull request #1071 from stevenosloan/fix_paths_for_meta_pages

use absolute paths for meta_page assets/links
This commit is contained in:
Thomas Reynolds 2013-11-14 08:47:09 -08:00
commit 8a18da4e3d
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