Skip to content

Commit 29b75ad

Browse files
committed
Fix: Refer to article tags instead of div
In commit a9dbbf5, the `<div>` tags for the blog posts where changed to `<article>`, but this reference wasn't updated.
1 parent 98bd696 commit 29b75ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

en/django_templates/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To print a variable in Django templates, we use double curly brackets with the v
1919
{{ posts }}
2020
```
2121

22-
Try this in your `blog/templates/blog/post_list.html` template. Open it up in the code editor, and replace everything from the second `<div>` to the third `</div>` with `{{ posts }}`. Save the file, and refresh the page to see the results:
22+
Try this in your `blog/templates/blog/post_list.html` template. Open it up in the code editor, and replace the existing `<article>` blocks with `{{ posts }}`. Save the file, and refresh the page to see the results:
2323

2424
![Figure 13.1](images/step1.png)
2525

0 commit comments

Comments
 (0)