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
- The #include 'template.wml' directive instructs ipp to include the template.wml file (a la C's #include directive)
- The <subject "My Subject" /> meta-tag was declared in the template file.