<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
<head>
<title>{#SUBJECT_LOC#}</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="$(ROOT)/style.css" type="text/css" />
</head>
<body>

[FRAMES::]
[NOFRAMES:
<table class="layout">
<tr>
<td class="navbar">

<define-tag navbarlink>
<if
    ;;; Determine if %0 matches this document
    <ifeq "$(FILENAME)" "%0"
        "1"
        <ifeq "$(FILENAME)" "%0index.html"
            "1"
            ""
        />

    />
    ;;; If so - bolds the text
    "<b>%1</b>"
    ;;; If not - makes a hyperlink
    "<a href="$(ROOT)/%0">%1</a>"
/><br />
</define-tag>

#include 'navbar.wml'

<br />
<a href="$(ROOT)/frames.html">Frames Enabled Site</a><br />

</td>
<td class="main">
:]
<h1>{#SUBJECT_LOC#}</h1>
{#BODY#}
[FRAMES::]
[NOFRAMES:
</td>
</tr>
</table>
:]
</body>
</html>

<define-tag subject>
{#SUBJECT_LOC#:%0:##}
</define-tag>

#   per default we are in body
{#BODY#: