如
{% extends "base.html" %}
{% import "_macros.html" as macros %}
{% import "_macros.html" as macros %}
extends 表示继承,基于base的框架结构,并可以补全其block的内容
import 表示在子模板中可以调用_macros.html中的函数、变量等
https://stackoverflow.com/questions/38979155/what-are-the-differences-between-import-and-extends-in-flask/38980052#