- Заменил шаблонизатор Mustache на Freemarker.
https://www.youtube.com/watch?v=8MlXahJXLFg&list=PLU2ftbIeotGpAYRP9Iv2KLIwK36-o_qYk&index=7
This commit is contained in:
14
src/main/resources/templates/parts/common.ftl
Normal file
14
src/main/resources/templates/parts/common.ftl
Normal file
@@ -0,0 +1,14 @@
|
||||
<#macro page>
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Sweater</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<#nested>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</#macro>
|
||||
Reference in New Issue
Block a user