Commit 3a370101 authored by Michal Čihař's avatar Michal Čihař

Add semantic HTML 5 markup

parent e3af9938
......@@ -34,8 +34,10 @@
</head>
<body {% if LANGUAGE_BIDI %}class="dir-rtl"{% endif %}>
<header>
<h1 class="ui-state-default"><a href="{% url 'home' %}">{% include "title.html" %}</a></h1>
<nav>
<ul id="menu">
{% if user.is_authenticated %}
<li><a href="{% url 'profile' %}">{% blocktrans with user.get_profile.get_user_display as name %}Logged in as {{ name }}{% endblocktrans %}</a></li>
......@@ -53,6 +55,8 @@
{% block breadcrumbs %}
{% endblock %}
</ul>
</nav>
</header>
<div class="content">
{% if messages %}
......
{% load translations %}
{% load url from future %}
{% load i18n %}
<footer>
<ul id="footer">
<li>{% blocktrans %}Powered by <a href="{{ weblate_url }}">Weblate {{ version }}</a>{% endblocktrans %}</li>
<li><a href="{% url 'weblate.trans.views.about' %}">{% blocktrans %}About Weblate{% endblocktrans %}</a></li>
<li><a href="{% url 'weblate.accounts.views.contact' %}">{% trans "Contact us" %}</a></li>
<li><a href="{% documentation 'usage' %}">{% trans "Documentation" %}</a></li>
</ul>
</footer>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment