Skip to content

Commit 1129491

Browse files
ozanyildizolasitarska
authored andcommitted
Reduced double body tag to one
1 parent c3ce78b commit 1129491

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

django_forms/README.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -58,20 +58,18 @@ After adding the line, your html file should now look like this:
5858
<link rel="stylesheet" href="{% static 'css/blog.css' %}">
5959
</head>
6060
<body>
61-
<body>
62-
<div class="page-header">
63-
<a href="{% url 'blog.views.post_new' %}" class="top-menu"><span class="glyphicon glyphicon-plus"></span></a>
64-
<h1><a href="/">Django Girls Blog</a></h1>
65-
</div>
66-
<div class="content">
67-
<div class="row">
68-
<div class="col-md-8">
69-
{% block content %}
70-
{% endblock %}
71-
</div>
61+
<div class="page-header">
62+
<a href="{% url 'blog.views.post_new' %}" class="top-menu"><span class="glyphicon glyphicon-plus"></span></a>
63+
<h1><a href="/">Django Girls Blog</a></h1>
64+
</div>
65+
<div class="content">
66+
<div class="row">
67+
<div class="col-md-8">
68+
{% block content %}
69+
{% endblock %}
7270
</div>
7371
</div>
74-
</body>
72+
</div>
7573
</body>
7674
</html>
7775

0 commit comments

Comments
 (0)