fixing urls

This commit is contained in:
Axel Kittenberger 2016-06-05 19:38:24 +02:00
parent 3dc28199ff
commit bfd2a9dd07
2 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
<h4>{{section.title}}</h4> <h4>{{section.title}}</h4>
<ul> <ul>
{% for doc in section.docs %} {% for doc in section.docs %}
{% assign doc_url = doc | prepend:"/" | prepend: section.dir | prepend:"/" | append:"/" %} {% assign doc_url = doc | prepend:"/" | prepend: section.dir | prepend: site.url | append:"/" %}
{% assign p = site.pages | where:"url", doc_url | first %} {% assign p = site.pages | where:"url", doc_url | first %}
{% if page.tab %} {% if page.tab %}
{% assign tab = page.tab | prepend:"/" | append:"/" %} {% assign tab = page.tab | prepend:"/" | append:"/" %}