]> git.sur5r.net Git - i3/i3.github.io/commitdiff
Add trailing slash to local routes. (#23)
authorIvan Smirnov <isgsmirnov@gmail.com>
Wed, 27 Apr 2016 07:23:45 +0000 (00:23 -0700)
committerMichael Stapelberg <stapelberg@users.noreply.github.com>
Wed, 27 Apr 2016 07:23:45 +0000 (08:23 +0100)
Github pages sends a 301 for resources without a trailing slash, which rewrites HTTPS -> HTTP.

_layouts/default.html

index 258b8e0ae49153b7e908bd76485ad4e98d02e34f..fce70222e9f4c0f041305355df8742922d554dc9 100644 (file)
@@ -62,10 +62,10 @@ else window.onload = loadjs;
         <div id="main">
             <a href="/"><h1 id="title">i3 - improved tiling WM</h1></a>
                        <ul id="nav">
-{% include menulink.html name="Docs" url="/docs" %}
-{% include menulink.html name="Screens" url="/screenshots" %}
+{% include menulink.html name="Docs" url="/docs/" %}
+{% include menulink.html name="Screens" url="/screenshots/" %}
 {% include menulink.html name="FAQ" url="https://www.reddit.com/r/i3wm/" %}
-{% include menulink.html name="Contact" url="/contact" %}
+{% include menulink.html name="Contact" url="/contact/" %}
 {% include menulink.html name="Bugs" url="https://github.com/i3/i3/issues" %}
                        </ul>
        <br style="clear: both">