demo-hackernews-with-django.../app/web/templates/layouts/base.html
Andros Fenollosa a901b8d54a Add API
2021-06-22 15:43:26 +02:00

26 lines
544 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{% block title %}{% endblock %} | Djanker News</title>
</head>
<body>
<header>
<ul>
<li>
<a href="{% url 'list' %}">List</a>
</li>
<li>
<a href="{% url 'add-news' %}">Add News</a>
</li>
</ul>
</header>
<main>
<h1>Djanker News</h1>
{% block main %}{% endblock %}
</main>
<footer>
2021 Djanker News
</footer>
</body>
</html>