Zwischenstand des vierten Praktikums:

Auslagerung des HTML-Inhalts als eigene HMTL-Datei -> funktioniert!
Vererbte HMTL-Datei "index.html" von "base.html" -> funktioniert!
This commit is contained in:
2018-11-05 16:34:20 +01:00
parent 99e8c4c710
commit debf9376fc
7 changed files with 220 additions and 216 deletions
+12
View File
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{% block title %} Pla {% endblock %}</title>
</head>
<body>
{% block content %} zzz {% endblock %}
</body>
</html>
@@ -0,0 +1,9 @@
{% extends 'base.html' %}
{% block title %}
My_Index
{% endblock %}
{% block content %}
Content der geerbten HTML-Seite
{% endblock %}