File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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
159159
160160{% filename %}blog/templates/blog/post_list.html{% endfilename %}
161161``` 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" >
163163```
164164
165165As 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:
7171 <head >
7272 <title >Django Girls blog</title >
7373 <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" >
7575 <link rel =" stylesheet" href =" {% static 'css/blog.css' %}" >
7676 </head >
7777 <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
2828 <head >
2929 <title >Django Girls blog</title >
3030 <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" >
3232 <link rel =" stylesheet" href =" {% static 'css/blog.css' %}" >
3333 </head >
3434 <body >
You can’t perform that action at this time.
0 commit comments