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>
</#if>
<#-- This is a FreeMarker comment -->
<@currentTime />
</@layout.page>

View File

@@ -1,12 +1,32 @@
<#ftl strip_text=true />
<#macro page title>
<!doctype html>
<html lang="en">
<html lang="${.lang}">
<head>
<meta charset="utf-8">
<title>${title}</title>
<@metaTags />
</head>
<body>
<#nested />
<@footer />
</body>
</html>
</#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>