示例
/common/copyright.ftl:
Copyright 2001-2002 ${me}<br>
All rights reserved.
模版:
<#assign me = "Juila Smith">
<h1>Some test</h1>
<p>Yeah.
<hr>
<#include "/common/copyright.ftl">
运行结果:
参考
https://freemarker.apache.org/docs/ref_directive_include.html