minor bugfixes

pull/2/head
José Lopes 5 years ago
parent db0906eadf
commit a8a63801a8

@ -11,7 +11,7 @@
{% endblock %} {% endblock %}
{% block header %} {% block header %}
<div class="alert alert-error"> <div class="alert alert-error navmargin">
<h1>404 - Not found</h1> <h1>404 - Not found</h1>
</div> </div>
{% endblock header %} {% endblock header %}

@ -73,7 +73,7 @@
<ul class="nav"> <ul class="nav">
{% block navbar %} {% block navbar %}
{% for item in config.extra.zola386_menu %} {% for item in config.extra.zola386_menu %}
<li class="{% if item.path == current_path %}active{% endif %}"> <li class="{% if item.path == current_path | replace(from="/", to="") %}active{% endif %}">
<a href="{{ config.base_url }}/{{ item.path }}"><span>{{ item.name }}</span></a> <a href="{{ config.base_url }}/{{ item.path }}"><span>{{ item.name }}</span></a>
</li> </li>
{% endfor %} {% endfor %}

@ -2,7 +2,7 @@ name = "zola.386"
description = "Zola port of the BOOTSTRA.386 theme." description = "Zola port of the BOOTSTRA.386 theme."
license = "MIT" license = "MIT"
homepage = "https://github.com/lopes/zola.386" homepage = "https://github.com/lopes/zola.386"
min_version = "0.1.5" min_version = "0.1.6"
demo = "https://zola-386.netlify.com" demo = "https://zola-386.netlify.com"
[author] [author]

Loading…
Cancel
Save