mirror of
https://github.com/MichaelCade/90DaysOfDevOps.git
synced 2025-02-03 12:55:46 +07:00
added some more instructions for templates in flas
This commit is contained in:
parent
92e58eef5a
commit
a2beac108e
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user