django-cats/cats/templates/base.html
Jan Dittberner 6b3fce5684 Add basic template and design system
- implement base template and home page template
- add a rudimentary cats.css
- add CAcert logo and favicon resources
- use template in home page view
2024-09-20 13:06:43 +02:00

22 lines
No EOL
804 B
HTML

{% load static %}{% load i18n %}<!doctype html>
{% get_current_language as LANGUAGE_CODE %}
<html lang="{{ LANGUAGE_CODE }}">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block title %}{% translate "CAcert - CATS" %}{% endblock title %}</title>
<link rel="icon" href="{% static 'favicon.ico' %}">
<link rel="stylesheet" href="{% static 'cats.css' %}">
</head>
<body>
<header>
<a href="https://www.cacert.org/"><img
src="{% static 'CAcert-logo.svg' %}" alt="CAcert logo"
aria-description="CAcert logo" width="270" height="62"></a>
</header>
<main>{% block content %}{% endblock content %}</main>
<nav class="sidebar">
{% block sidebar_content %}{% endblock sidebar_content %}
</nav>
<footer></footer>
</body>
</html>