diff --git a/core/homepage/templates/homepage/impress.html b/core/homepage/templates/homepage/impress.html new file mode 100644 index 0000000..6331821 --- /dev/null +++ b/core/homepage/templates/homepage/impress.html @@ -0,0 +1,34 @@ +{% load static %} + + + + + + Impressum + + + + + {% include 'homepage/partials/_nav.html' %} +
+ {% block content%}{% endblock %} +
+
+
+

Impressum

+
+
+ +

+ Katharineum zu Lübeck +

+

+ Königsstraße 27-31 +

+

+ 23552 Lübeck +

+
+ {% include 'homepage/partials/_footer.html' %} + + \ No newline at end of file diff --git a/core/homepage/templates/homepage/partials/_footer.html b/core/homepage/templates/homepage/partials/_footer.html index 6fa3a61..a448ec7 100644 --- a/core/homepage/templates/homepage/partials/_footer.html +++ b/core/homepage/templates/homepage/partials/_footer.html @@ -1,7 +1,7 @@
\ No newline at end of file diff --git a/core/homepage/templates/homepage/privacy.html b/core/homepage/templates/homepage/privacy.html new file mode 100644 index 0000000..3659d69 --- /dev/null +++ b/core/homepage/templates/homepage/privacy.html @@ -0,0 +1,23 @@ +{% load static %} + + + + + + Impressum + + + + + {% include 'homepage/partials/_nav.html' %} +
+ {% block content%}{% endblock %} +
+

+ Hallo, ich bin die Datenschutzerklärung! +

+
+
+ {% include 'homepage/partials/_footer.html' %} + + \ No newline at end of file diff --git a/core/homepage/urls.py b/core/homepage/urls.py index 0d53b21..394c0b9 100644 --- a/core/homepage/urls.py +++ b/core/homepage/urls.py @@ -5,4 +5,6 @@ app_name = 'homepage' # Verhindert Konflikt mit anderen Apps urlpatterns = [ path('', views.home, name="home"), + path('impress', views.impress, name="impress"), + path('privacy', views.privacy, name="privacy"), ] \ No newline at end of file diff --git a/core/homepage/views.py b/core/homepage/views.py index 290bfb8..b9d452e 100644 --- a/core/homepage/views.py +++ b/core/homepage/views.py @@ -1,4 +1,9 @@ from django.shortcuts import render, redirect def home(request): - return render(request, 'homepage/home.html') \ No newline at end of file + return render(request, 'homepage/home.html') + +def impress(request): + return render(request, 'homepage/impress.html') +def privacy(request): + return render(request, 'homepage/privacy.html') \ No newline at end of file