Fix URLs fully with relative path helper

This commit is contained in:
Justin Fagnani
2019-12-20 13:36:46 -08:00
committed by Justin Fagnani
parent 817f502dfa
commit 5ced993566
9 changed files with 55 additions and 41 deletions

View File

@@ -6,10 +6,10 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><my-element> ⌲ Examples ⌲ Name Property</title>
<link rel="stylesheet" href="./docs.css">
<link rel="stylesheet" href="../../docs.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600|Roboto+Mono">
<link href="./prism-okaidia.css" rel="stylesheet" />
<script type="module" src="./my-element.bundled.js"></script>
<link href="../../prism-okaidia.css" rel="stylesheet" />
<script type="module" src="../../my-element.bundled.js"></script>
</head>
<body>
@@ -19,10 +19,10 @@
</header>
<nav>
<a href="../">Home</a>
<a href="../examples/">Examples</a>
<a href="../api/">API</a>
<a href="../install/">Install</a>
<a href="../../">Home</a>
<a href="../">Examples</a>
<a href="../../api/">API</a>
<a href="../../install/">Install</a>
</nav>
<div id="main-wrapper">
<main>
@@ -33,11 +33,11 @@
<ul>
<li class=>
<a href="/examples/">A basic example</a>
<a href="../">A basic example</a>
</li>
<li class=selected>
<a href="/examples/name-property/">Setting the name property</a>
<a href="">Setting the name property</a>
</li>
</ul>