mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
updating examples
This commit is contained in:
@@ -21,6 +21,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
|
<#-- This is a FreeMarker comment -->
|
||||||
<@currentTime />
|
<@currentTime />
|
||||||
</@layout.page>
|
</@layout.page>
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user