Open jzhu50 opened 1 day ago
Yeah, I forgot to change the titles for those pages since they were just copy pastes of the homepage. "{{ content | safe }}" basically tells the html that the variable you are inserting can be treated as html code rather than text as is the case when inserting regular variables. For example, when passing in the argument for render_template I said render_template('home.html', content=<h1>Hello</h1>) when displayed on the page using {{ content }} it will print <h1>Hello</h1> but if you use {{ content | safe }} it will display Hello in the h1 font
Grow: Maybe have different titles for different pages. For example, “Stories in progress” for the page with the stories in progress instead of “Home”. Question: what does “{{ content | safe }}” do?