X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..1ca64302e8447c9715ab42dd1a33075f312e6059:/src/wolnelektury/templates/superbase.html diff --git a/src/wolnelektury/templates/superbase.html b/src/wolnelektury/templates/superbase.html index d36f22267..f8be8a74a 100644 --- a/src/wolnelektury/templates/superbase.html +++ b/src/wolnelektury/templates/superbase.html @@ -14,7 +14,7 @@ <meta property="og:site_name" content="Wolne Lektury" /> <meta property="og:title" content="{% block ogtitle %}{% endblock %}" /> <meta property="og:type" content="{% block ogtype %}website{% endblock %}" /> - <meta property="og:image" content="{% block ogimage %}{{ FULL_STATIC_URL }}img/wiatrak.png{% endblock %}" /> + <meta property="og:image" content="{% block ogimage %}{{ FULL_STATIC_URL }}img/wiatrak.jpg{% endblock %}" /> <meta name="description" content="{% block metadescription %}Darmowe, opracowane, peÅne teksty lektur, e-booki, audiobooki i pliki DAISY na wolnej licencji.{% endblock %}" /> {% block ogextra %}{% endblock %} @@ -97,11 +97,21 @@ <ul id="main-menu"> - <li><a href="{% url 'book_list' %}">{% trans "Literature" %}</a></li> - <li><a href="{% url 'theme_catalogue' %}">{% trans "Themes" %}</a></li> - <li><a href="{% url 'audiobook_list' %}">{% trans "Audiobooks" %}</a></li> - <li><a href="{% url 'gallery' %}">{% trans "Gallery" %}</a></li> - <li><a href="{% url 'catalogue' %}">Wszystkie utwory</a></li> + <li{% if active_menu_item == 'books' %} class="active"{% endif %}> + <a href="{% url 'book_list' %}">{% trans "Literature" %}</a> + </li> + <li{% if active_menu_item == 'theme' %} class="active"{% endif %}> + <a href="{% url 'theme_catalogue' %}">{% trans "Themes" %}</a> + </li> + <li{% if active_menu_item == 'audiobooks' %} class="active"{% endif %}> + <a href="{% url 'audiobook_list' %}">{% trans "Audiobooks" %}</a> + </li> + <li{% if active_menu_item == 'gallery' %} class="active"{% endif %}> + <a href="{% url 'gallery' %}">{% trans "Gallery" %}</a> + </li> + <li{% if active_menu_item == 'all_works' %} class="active"{% endif %}> + <a href="{% url 'catalogue' %}">{% trans "All works" %}</a> + </li> </ul>