diff _includes/header.html @ 94:e8fc61e077fc

Merged closed branch "kai" into default.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Tue, 01 Nov 2016 01:06:10 +0100
parents 1138390dfe96
children e7efa40deb17
line wrap: on
line diff
--- a/_includes/header.html	Tue Nov 01 00:28:55 2016 +0100
+++ b/_includes/header.html	Tue Nov 01 01:06:10 2016 +0100
@@ -3,8 +3,8 @@
     <ul class="title-area">
       <li class="name">
         <h1>
-          <a href="{{ site.baseurl }}/" style="height:100%">
-            <img src="{{ "/img/logo.png" | prepend: site.baseurl }}" style="width: 32px; height: auto"/>
+          <a href="{{ "/" | relative_url }}" style="height:100%">
+            <img src="{{ "/img/logo.png" | relative_url }}" style="width: 32px; height: auto"/>
             {{ site.title }}
           </a>
         </h1>
@@ -19,7 +19,7 @@
         {% for page in site.pages %}
           {% if page.menu %}
             <li>
-              <a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
+              <a href="{{ page.url | relative_url }}">{{ page.title }}</a>
             </li>
           {% endif %}
         {% endfor %}
@@ -29,4 +29,4 @@
       </ul>
     </section>
   </nav>
-</div>
\ No newline at end of file
+</div>