Skip to content

Commit

Permalink
links in templates must be relative links
Browse files Browse the repository at this point in the history
  • Loading branch information
bboc committed Feb 27, 2022
1 parent 8b804c6 commit 403da20
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs-src/content/website/_includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="col footer-top">
<p><strong>${version}</strong></p>
<p>{{ site.description }}</p>
<p>This work by Bernhard Bockelbrink is licensed under the GNU General Public License v3.0.</p>
<p>{{ site.license }}</p>
</div>
</div>
<div class="row">
Expand Down
4 changes: 2 additions & 2 deletions docs-src/content/website/_includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<a class="site-title" href="\{\{ relative_url \}\}/">\{\{ site.title \}\}</a>
</div>
<div class="header-icons col-2">
<a href="site-index.html" ><img src="\{\{ '/icons/list-ul.svg' | relative_url \}\}" class="icon" title="An alphabetical index of all pages." /></a>
<a href="map.html" ><img src="\{\{'/icons/map.svg' | relative_url \}\}" class="icon" title="Use the map to jump to another page." /></a>
<a href="\{\{'site-index.html' | relative_url \}\}" ><img src="\{\{ '/icons/list-ul.svg' | relative_url \}\}" class="icon" title="An alphabetical index of all pages." alt="site index" /></a>
<a href="\{\{'map.html' | relative_url \}\}" ><img src="\{\{'/icons/map.svg' | relative_url \}\}" class="icon" alt="map" title="Use the map to jump to another page." /></a>
<span id="annotate-span"><a href="" id="annotate-link"><img src="\{\{ '/icons/comments-alt.svg' | relative_url \}\}" class="icon" title="Annotate this page with hypothes.is. Click here, wait for the page to reload, then you can highlight text and add public comments. You will need to set up a free account at hypothes.is." alt="annotate page"/></a></span>
</div>
</div>
10 changes: 5 additions & 5 deletions docs-src/content/website/_includes/menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@

<li><a href="#">Quick Links</a>
<ul class="mega-menu">
<li><a href="index.html">Homepage</a></li>
<li><a href="glossary.html">Glossary</a></li>
<li><a href="changelog.html">Changelog</a></li>
<li><a href="site-index.html" title="An alphabetical index of all pages."><img src="\{\{ 'icons/list-ul.svg' | relative_url \}\}" class="icon" alt="site index" />&nbsp;Pattern Index</a></li>
<li><a href="map.html" title="Use the map to jump to another page."><img src="\{\{ 'icons/map.svg' | relative_url \}\}" class="icon" alt="site map" />&nbsp;Map</a></li>
<li><a href="\{\{ 'index.html' | relative_url \}\}">Homepage</a></li>
<li><a href="\{\{ 'glossary.html' | relative_url \}\}">Glossary</a></li>
<li><a href="\{\{ 'changelog.html' | relative_url \}\}">Changelog</a></li>
<li><a href="\{\{ 'site-index.html' | relative_url \}\}" title="An alphabetical index of all pages."><img src="\{\{ 'icons/list-ul.svg' | relative_url \}\}" class="icon" alt="site index" />&nbsp;Pattern Index</a></li>
<li><a href="\{\{ 'map.html' | relative_url \}\}" title="Use the map to jump to another page."><img src="\{\{ 'icons/map.svg' | relative_url \}\}" class="icon" alt="site map" />&nbsp;Map</a></li>
<li><span id="annotate-span"><a href="" id="annotate-link" title="Annotate this page with hypothes.is. Click here, wait for the page to reload, then you can highlight text and add public comments. You will need to set up a free account at hypothes.is."><img src="\{\{ 'icons/comments-alt.svg' | relative_url \}\}" class="icon" alt="annotate page" />&nbsp;Annotate Page</a></span></li>
<li><a href="https://patterns.sociocracy30.org">A real-world example of a book built with mdtools</a></li>
</ul>
Expand Down

0 comments on commit 403da20

Please sign in to comment.