init
This commit is contained in:
9
bml/test/tutorial1/_config.bml
Executable file
9
bml/test/tutorial1/_config.bml
Executable file
@@ -0,0 +1,9 @@
|
||||
LookRoot $testlookroot
|
||||
DefaultScheme scheme
|
||||
DefaultLanguage en
|
||||
|
||||
AllowOldSyntax 0
|
||||
AllowCode 1
|
||||
AllowTemplateCode 1
|
||||
|
||||
|
||||
21
bml/test/tutorial1/index.bml
Executable file
21
bml/test/tutorial1/index.bml
Executable file
@@ -0,0 +1,21 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>FooBar Enterprises - Page</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="header">FooBar Enterprises - Page</h1>
|
||||
<hr />
|
||||
<?header Headers - What good are they? header?>
|
||||
<p class="para" style="text-align: justify">
|
||||
This is just an introductory text. The normal way to include text like this
|
||||
is to write it in Latin, but since I don't know Latin, you'll have to settle
|
||||
with this little paragraph.
|
||||
</p>
|
||||
<?header Templates are for Wimps! header?>
|
||||
<p class="para">
|
||||
I'd rather have to edit all of my pages by hand when I decide to change the
|
||||
unified look of my site!
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
20
bml/test/tutorial1/index.correct
Executable file
20
bml/test/tutorial1/index.correct
Executable file
@@ -0,0 +1,20 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>FooBar Enterprises - Page</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="header">FooBar Enterprises - Page</h1>
|
||||
<hr />
|
||||
<div class="header"><strong>Headers - What good are they?</strong></div>
|
||||
<p class="para" style="text-align: justify">
|
||||
This is just an introductory text. The normal way to include text like this
|
||||
is to write it in Latin, but since I don't know Latin, you'll have to settle
|
||||
with this little paragraph.
|
||||
</p>
|
||||
<div class="header"><strong>Templates are for Wimps!</strong></div>
|
||||
<p class="para">
|
||||
I'd rather have to edit all of my pages by hand when I decide to change the
|
||||
unified look of my site!
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
2
bml/test/tutorial1/scheme.look
Executable file
2
bml/test/tutorial1/scheme.look
Executable file
@@ -0,0 +1,2 @@
|
||||
header=>{D}<div class="header"><strong>%%DATA%%</strong></div>
|
||||
|
||||
Reference in New Issue
Block a user