WebMetaLecture - a lecture about Website Meta LanguageExample 1 : Common Look and FeelThe Individual Pages

5.2. The Individual Pages

index.html.wml

#include 'template.wml'

<subject "Foo Site" />

<p>
Welcome visitors to my humble site. You can find downloads in the
<a href="$(ROOT)/download.html"> downloads section</a> and links in the
<a href="$(ROOT)/links.html">links section</a>.
</p>

links.html.wml

#include 'template.wml'

<subject "Links" />

<p>
<a href="http://linuxclub.il.eu.org/">The Haifa Linux Club</a>
</p>

<p>
<a href="http://www.google.com/">Google</a>
</p>

<p>
<a href="http://thewml.org/">The Website Meta Language</a>
</p>

download.html.wml

#include 'template.wml'

<subject "Downloads" />

<p>
<a href="my-non-existent-archive.tar.gz">A polynomial solution for the
travelling salesman problem.</a>
</p>

<p>
<a href="my-document.pdf">Proof of the Goldbach Conjecture</a>
</p>

Explanation


Written by Shlomi Fish