diff --git a/_layouts/default.html b/_layouts/default.html
index 109abd9..5d7a0d0 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -12,7 +12,7 @@
{{section.title}}
{% for doc in section.docs %}
- {% assign doc_url = doc | prepend:"/" | prepend: section.dir | prepend: site.url | append:"/" %}
+ {% assign doc_url = doc | prepend:"/" | prepend: section.dir | prepend: "/" | append:"/" %}
{% assign p = site.pages | where:"url", doc_url | first %}
{% if page.tab %}
{% assign tab = page.tab | prepend:"/" | append:"/" %}
@@ -22,7 +22,7 @@
{% else %}
{% assign title = p.title %}
{% endif %}
- - {{ title }}
+ - {{ title }}
{% endfor %}
{% endfor %}