<mef:set title="{category.Name}" />

<div style="margin: 1em;">

<mef:loop name="xyz" item="t" id="k" collection="trail" delim=" » " lastdelim=" » " onlydelim=" » ">
<a href="/resource/{k}">{t}</a>
</mef:loop>

<ul mef:if="categories">
	<li id="c" mef:loop="categories" style="display: block; float: left; width: 250px; height: 50px;">
		<span style="font-weight: bold;"><a href="/resource/{c.path}">{c.Name}</a> ({c.Children})</span>
		<ul mef:if="c.subs" style="margin: 0 0 1em 1em; padding: 0;">
			<li id="s" mef:loop="c.subs" style="display: inline; margin-right: 1em; font-size: 10px;"><a href="/resource/{s.path}">{s.Name}</a> ({s.Children})</li>
		</ul>
	</li>
</ul>

<ul mef:if="list" style="clear: left;">
	<li id="r" mef:loop="list"><a href="/resource/{r.path}"><b>{r.Name}</b></a> - {r.Caption}</li>
</ul>

<div style="clear: left; margin-top: 1em; font-size: 10px;">
The resource directory is meant for any resources that could be helpful to an Allegro
developer. You can <mef:mailto address="matthew@allegro.cc" subject="resources">add your own links</mef:mailto> 
or even suggest	new categories. (Be sure to include the full URL, title, and description).
</div>


</div>