added some more instructions for templates in flas

This commit is contained in:
Rishab Kumar 2023-03-01 15:11:41 -05:00
parent 92e58eef5a
commit a2beac108e

View File

@ -64,8 +64,9 @@ def post(path):
return render_template('post.html', content=html)
```
Create templates for the home page and individual blog posts:
- `home.html`:
Create templates for the home page and individual blog posts, we can do this by creating a new directory in root of project called `templates`. And then further create the two following `html` files:
- `index.html`:
``` html
<!DOCTYPE html>