updating examples

This commit is contained in:
edendramis
2015-10-15 14:48:20 -07:00
parent 11e3251efd
commit 0f204767a9
2 changed files with 23 additions and 2 deletions

View File

@@ -21,6 +21,7 @@
</ul> </ul>
</#if> </#if>
<#-- This is a FreeMarker comment -->
<@currentTime /> <@currentTime />
</@layout.page> </@layout.page>

View File

@@ -1,12 +1,32 @@
<#ftl strip_text=true />
<#macro page title> <#macro page title>
<!doctype html> <!doctype html>
<html lang="en"> <html lang="${.lang}">
<head> <head>
<meta charset="utf-8">
<title>${title}</title> <title>${title}</title>
<@metaTags />
</head> </head>
<body> <body>
<#nested /> <#nested />
<@footer />
</body> </body>
</html> </html>
</#macro> </#macro>
<#---
Default meta tags
-->
<#macro metaTags>
<#compress>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="format-detection" content="telephone=no">
</#compress>
</#macro>
<#macro footer>
<p>This page is using FreeMarker v${.version}</p>
</#macro>