init
This commit is contained in:
9
bml/test/tutorial-example5/_config.bml
Executable file
9
bml/test/tutorial-example5/_config.bml
Executable file
@@ -0,0 +1,9 @@
|
||||
LookRoot $testlookroot
|
||||
DefaultScheme scheme
|
||||
DefaultLanguage en
|
||||
|
||||
AllowOldSyntax 0
|
||||
AllowCode 1
|
||||
AllowTemplateCode 1
|
||||
|
||||
|
||||
8
bml/test/tutorial-example5/readinglist.bml
Executable file
8
bml/test/tutorial-example5/readinglist.bml
Executable file
@@ -0,0 +1,8 @@
|
||||
<?linklist
|
||||
date=>2004/10/14
|
||||
items<=
|
||||
<?linkitem News of Brad|http://brad.livejournal.com/|Brad's daily adventure linkitem?>
|
||||
<?linkitem BoingBoing|http://boingboing.net/|A directory of wonderful things linkitem?>
|
||||
<?linkitem WPGtR|http://poignantguide.net/ruby/|Wow, this book comes with an onion! linkitem?>
|
||||
<=items
|
||||
linklist?>
|
||||
10
bml/test/tutorial-example5/readinglist.correct
Executable file
10
bml/test/tutorial-example5/readinglist.correct
Executable file
@@ -0,0 +1,10 @@
|
||||
|
||||
<h4>My Current Reading List</h4>
|
||||
<dl>
|
||||
<dt><a href="http://brad.livejournal.com/">News of Brad</a></dt> <dd>Brad's daily adventure</dd>
|
||||
<dt><a href="http://boingboing.net/">BoingBoing</a></dt> <dd>A directory of wonderful things</dd>
|
||||
<dt><a href="http://poignantguide.net/ruby/">WPGtR</a></dt> <dd>Wow, this book comes with an onion!</dd>
|
||||
|
||||
</dl>
|
||||
<p><small>Last updated: 2004/10/14</small></p>
|
||||
|
||||
11
bml/test/tutorial-example5/scheme.look
Executable file
11
bml/test/tutorial-example5/scheme.look
Executable file
@@ -0,0 +1,11 @@
|
||||
LINKITEM=>{P}<dt><a href="%%data2%%">%%data1%%</a></dt> <dd>%%data3%%</dd>
|
||||
|
||||
LINKLIST<=
|
||||
{F}
|
||||
<h4>My Current Reading List</h4>
|
||||
<dl>
|
||||
%%items%%
|
||||
</dl>
|
||||
<p><small>Last updated: %%date%%</small></p>
|
||||
<=LINKLIST
|
||||
|
||||
Reference in New Issue
Block a user