diff options
| author | Veikka Kähkönen <insiding@gmail.com> | 2017-08-29 23:05:32 +0300 |
|---|---|---|
| committer | Veikka Kähkönen <insiding@gmail.com> | 2017-08-29 23:05:32 +0300 |
| commit | 8ab0c5c9e0afa98b9af0a407c10685e2d4bbfa7e (patch) | |
| tree | acade8a92d0fdd835ca5d5cf79cf734cd3cf564c /_includes/header.html | |
| parent | a98618d5b0bd0d99fe3a474586d84ee2d08981fa (diff) | |
Add baseurl support
Diffstat (limited to '_includes/header.html')
| -rw-r--r-- | _includes/header.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_includes/header.html b/_includes/header.html index 2c18219..0a5cdbd 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -18,7 +18,7 @@ {% assign current_page = false %} {% endif %} <li class="navigation__item {% if current_page %}active{% endif %}"> - <a href="{{ site.url }}{{ item.href }}">{{ item.title }}</a> + <a href="{{ site_full_url }}{{ item.href }}">{{ item.title }}</a> </li> {% if current_page and item.subnavi %} {% assign subnavi = item.subnavi %} @@ -32,7 +32,7 @@ <ul> {% for subitem in subnavi.items %} <li class="navigation__item {% if subitem.href == subpage_href %}active{% endif %}"> - <a href="{{ site.url }}{{ main_page_href }}{{ subitem.href }}">{{ subitem.title }}</a> + <a href="{{ site_full_url }}{{ main_page_href }}{{ subitem.href }}">{{ subitem.title }}</a> </li> {% endfor %} </ul> |
