werc-1.5.0-tweaks/lib/default_master.tpl

27 lines
544 B
Smarty
Executable File

<header>
<nav>
% cat `{pwd}^/sites^/`{echo $site }^/_werc/lib/top_bar.inc
</nav>
<h1><a href="/">%($"siteTitle%) <span id="headerSubTitle">%($"siteSubTitle%)</span></a></h1>
</header>
% if(! ~ $#handlers_bar_left 0) {
<nav id="side-bar">
% for(h in $handlers_bar_left) {
<div>
% run_handler $$h
</div>
% }
</nav>
% }
<article>
% run_handlers $handlers_body_head
% run_handler $handler_body_main
% run_handlers $handlers_body_foot
</article>
<footer>
% cat `{ get_lib_file footer.inc }
</footer>