Skip to content

Commit 689019d

Browse files
committed
Renamed include directive to fix build error
1 parent f0a1d17 commit 689019d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

en/django_forms/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Now we can use the file inside the base template as follow.
7373
</a>
7474
```
7575

76-
> Note: You can save the svg file in `blog/static/img/icons/` and use `<img>` tag to display svg icon. But this method requires an extra HTTP request to fetch the file from server. So, it will only increase loading time. But in the proposed method, since `<svg>` tag is HTML, we can simply include it inside HTML file from server itself using `{% include %}` directive. This approach reduce the page loading time.
76+
> Note: You can save the svg file in `blog/static/img/icons/` and use `<img>` tag to display svg icon. But this method requires an extra HTTP request to fetch the file from server. So, it will only increase loading time. But in the proposed method, since `<svg>` tag is HTML, we can simply include it inside HTML file from server itself using `include` directive. This approach reduce the page loading time.
7777
7878
After editing the line, your HTML file should now look like this:
7979

0 commit comments

Comments
 (0)