werc-1.5.0-tweaks/lib/default_master.tpl

30 lines
619 B
Smarty
Raw Normal View History

<header>
2022-07-06 00:02:23 +00:00
%
% if(test -w `{pwd}^/sites^/`{echo $site }^/_werc/lib/top_bar.inc){
<nav>
% cat `{pwd}^/sites^/`{echo $site }^/_werc/lib/top_bar.inc
</nav>
2022-07-06 00:02:23 +00:00
% }
<h1><a href="/">%($"siteTitle%) </a><span id="headerSubTitle">%($"siteSubTitle%)</span></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>