{% load static from staticfiles %} {# 网页标题块 #} {% block title %}{% endblock title %} {# 网页顶部引入文件块 #} {% block topfiles %}{% endblock topfiles %} {# 网页顶部欢迎信息块 #} {% block header_con %}
欢迎来到天天生鲜!
{% if user.is_authenticated %} {% else %} {% endif %}
{% endblock header_con %} {# 网页顶部搜索框块 #} {% block search_bar %} {% endblock search_bar %} {# 网页主体内容块 #} {% block body %}{% endblock body %} {# 网页底部html元素块 #} {% block bottom %}{% endblock bottom %} {# 网页底部引入文件块 #} {% block bottomfiles %}{% endblock bottomfiles %}