Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个烧瓶项目,其中一个页面需要自包含。我有一个单独的文件,我需要将其内容插入到 html 页面的头部。
最简单的方法是什么?
只需使用include语句来包含内容:
include
<style type="text/css"> {% include "your.css" %} </style>