minor bugfixes

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

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

@ -73,7 +73,7 @@
<ul class="nav">
{% block navbar %}
{% 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>
</li>
{% endfor %}

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

Loading…
Cancel
Save