File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ Maybe we can customize the font in our header? Paste this into your `<head>` in
159
159
160
160
{% filename %}blog/templates/blog/post_list.html{% endfilename %}
161
161
``` html
162
- <link href =" //fonts.googleapis.com/css?family=Lobster&subset=latin,latin-ext" rel = " stylesheet " type = " text/css " >
162
+ <link rel = " stylesheet " href =" https: //fonts.googleapis.com/css?family=Lobster&subset=latin,latin-ext" >
163
163
```
164
164
165
165
As before, check the order and place before the link to ` blog/static/css/blog.css ` . This line will import a font called * Lobster* from Google Fonts (https://www.google.com/fonts ).
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ After editing the line, your HTML file should now look like this:
71
71
<head >
72
72
<title >Django Girls blog</title >
73
73
<link rel =" stylesheet" href =" https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" integrity =" sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin =" anonymous" >
74
- <link href =' //fonts.googleapis.com/css?family=Lobster&subset=latin,latin-ext' rel = ' stylesheet ' type = ' text/css ' >
74
+ <link rel = " stylesheet " href =" https: //fonts.googleapis.com/css?family=Lobster&subset=latin,latin-ext" >
75
75
<link rel =" stylesheet" href =" {% static 'css/blog.css' %}" >
76
76
</head >
77
77
<body >
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ Then open it up in the code editor and copy everything from `post_list.html` to
28
28
<head >
29
29
<title >Django Girls blog</title >
30
30
<link rel =" stylesheet" href =" https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" integrity =" sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin =" anonymous" >
31
- <link href =' //fonts.googleapis.com/css?family=Lobster&subset=latin,latin-ext' rel = ' stylesheet ' type = ' text/css ' >
31
+ <link rel = " stylesheet " href =" https: //fonts.googleapis.com/css?family=Lobster&subset=latin,latin-ext" >
32
32
<link rel =" stylesheet" href =" {% static 'css/blog.css' %}" >
33
33
</head >
34
34
<body >
You can’t perform that action at this time.
0 commit comments