- Заменил шаблонизатор Mustache на Freemarker.
https://www.youtube.com/watch?v=8MlXahJXLFg&list=PLU2ftbIeotGpAYRP9Iv2KLIwK36-o_qYk&index=7
This commit is contained in:
5
src/main/resources/templates/greeting.ftl
Normal file
5
src/main/resources/templates/greeting.ftl
Normal file
@@ -0,0 +1,5 @@
|
||||
<#import "parts/common.ftl" as com>
|
||||
<@com.page>
|
||||
<div>Hello there</div>
|
||||
<a href="/main">Main page</a>
|
||||
</@com.page>
|
||||
Reference in New Issue
Block a user