Added readme and code

This commit is contained in:
2013-07-27 21:02:21 +01:00
parent 6b2d0fa18b
commit 91868a39d2
5 changed files with 256 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
{% $context['title'] = 'Hello World -- Demo' %}
{%t SetMaster('master') %}
{%t StartSection('content') %}
<!-- some head here -->
{%t EndSection() %}
{%t StartSection('content') %}
Hello {{$world}}
{%t EndSection() %}

10
DemoTemplates/master.php Normal file
View File

@@ -0,0 +1,10 @@
<!doctype html>
<html>
<head>
<title>{{$title}}</title>
{{t GetSection('head') }}
</head>
<body>
{{t GetSection('content') }}
</body>
</html>