demo-hackernews-with-django.../app/web/templates/layouts/base.html

29 lines
688 B
HTML
Raw Permalink Normal View History

2021-06-23 15:10:44 +02:00
{% load static %}
2021-06-22 15:43:26 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{% block title %}{% endblock %} | Djanker News</title>
2021-06-23 15:10:44 +02:00
<script src="{% static 'js/vue.min.js' %}"></script>
<script defer src="{% static 'js/home.js' %}"></script>
2021-06-22 15:43:26 +02:00
</head>
<body>
<header>
<ul>
<li>
<a href="{% url 'list' %}">List</a>
</li>
<li>
<a href="{% url 'add-news' %}">Add News</a>
</li>
</ul>
</header>
2021-06-23 15:10:44 +02:00
<main id="app">
2021-06-22 15:43:26 +02:00
<h1>Djanker News</h1>
{% block main %}{% endblock %}
</main>
<footer>
2021 Djanker News
</footer>
</body>
</html>