File tree 3 files changed +45
-12
lines changed
3 files changed +45
-12
lines changed Original file line number Diff line number Diff line change
1
+ {% extends 'base.html' %}
2
+ {% block content %}
3
+
4
+ < h1 > About us </ h1 >
5
+
6
+ {% endblock %}
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+ < head >
4
+ < meta charset ="UTF-8 ">
5
+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
6
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7
+ < title > Django with Vercel</ title >
8
+ </ head >
9
+ < body >
10
+ < nav >
11
+ < ul >
12
+ < a href ="/ ">
13
+ < li >
14
+ Home
15
+ </ li >
16
+ </ a >
17
+ < a href ="/about ">
18
+ < li >
19
+ About
20
+ </ li >
21
+ </ a >
22
+ < a href ="/admin ">
23
+ < li >
24
+ Admin
25
+ </ li >
26
+ </ a >
27
+ </ ul >
28
+ </ nav >
29
+ </ nav >
30
+ {% block content %} {% endblock %}
31
+
32
+ </ body >
33
+ </ html >
Original file line number Diff line number Diff line change 1
- <!DOCTYPE html>
2
- < html lang ="en ">
3
- < head >
4
- < meta charset ="UTF-8 ">
5
- < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
6
- < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7
- < title > Django with Vercel</ title >
8
- </ head >
9
- < body >
10
- < h1 > Hello World from Django-Vercel.< br /> Its Fast!</ h1 >
11
- </ body >
12
- </ html >
1
+ {% extends 'base.html' %}
2
+ {% block content %}
3
+
4
+ < h1 > Hello World from Django-Vercel.< br /> Its Fast!</ h1 >
5
+
6
+ {% endblock %}
You can’t perform that action at this time.
0 commit comments