flask extends two base html

Solutions on MaxInterview for flask extends two base html by the best coders in the world

showing results for - "flask extends two base html"
Ivanna
25 Mar 2019
1{% extends "layout.html" %}
2{% block title %}Index{% endblock %}
3{% block head %}
4  {{ super() }}
5  <style type="text/css">
6    .important { color: #336699; }
7  </style>
8{% endblock %}
9{% block content %}
10  <h1>Index</h1>
11  <p class="important">
12    Welcome on my awesome homepage.
13{% endblock %}
14
Neila
20 Jan 2018
1{% include "base_layout.html" %}
2  <div>
3  ... // write your code here
4  </div>
5{% block body %}{% endblock %}
6