Add base_url option
This commit is contained in:
parent
71dabd22eb
commit
64edcc6a1c
2 changed files with 2 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
|||
title: Pico
|
||||
description: A stupidly simple, blazing fast, flat file CMS.
|
||||
|
||||
base_url: http://phrozenbyte.github.io/Pico/
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
{% for nav in pages %}
|
||||
{% if nav.nav > 0 %}
|
||||
<li {% if nav.url == page.url %}class="active"{% endif %}>
|
||||
<a href="{{ nav.url }}">{{ nav.title }}</a>
|
||||
<a href="{{ site.base_url }}{{ nav.url }}">{{ nav.title }}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Reference in a new issue