includes
This commit is contained in:
@@ -1,12 +1,6 @@
|
|||||||
<!DOCTYPE html>
|
{% include 'global/partials/head.html' %}
|
||||||
<html lang="en">
|
|
||||||
<head>
|
<h1>{% block texto %}{% endblock texto %}</h1>
|
||||||
<meta charset="UTF-8" />
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
</body>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
||||||
<title>Document</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>{% block texto %} BASE {% endblock texto %}</h1>
|
|
||||||
</body>
|
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
9
aula207_ola_django/base/global/partials/head.html
Normal file
9
aula207_ola_django/base/global/partials/head.html
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
@@ -1,12 +1,3 @@
|
|||||||
<!DOCTYPE html>
|
{% extends 'global/base.html' %}
|
||||||
<html lang="en">
|
|
||||||
<head>
|
{% block texto %} Exemplo {% endblock texto %}
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<title>Document</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>EXEMPLO 2</h1>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|||||||
@@ -1,12 +1,3 @@
|
|||||||
<!DOCTYPE html>
|
{% extends 'global/base.html' %}
|
||||||
<html lang="en">
|
|
||||||
<head>
|
{% block texto %} Blog {% endblock texto %}
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<title>Document</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>BLOG 2</h1>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user