werc-1.5.0-tweaks

Tweaks for the werc website builder created by the mad architect Uriel
Log | Files | Refs | README

default_master.tpl (663B)


      1 <header>
      2 % 
      3 % if(test -w `{pwd}^/sites^/`{echo $site }^/_werc/lib/top_bar.inc){
      4     <nav>
      5 % cat `{pwd}^/sites^/`{echo $site }^/_werc/lib/top_bar.inc
      6     </nav>
      7 % }
      8     <h1><a href="/">%($"siteTitle%) </a><span id="headerSubTitle">%($"siteSubTitle%)</span></h1>
      9 </header>
     10 
     11 % if(! ~ $#handlers_bar_left 0) {
     12     <nav id="side-bar" class="hidden-mobile">
     13 %   for(h in $handlers_bar_left) {
     14         <div>
     15 %       run_handler $$h
     16         </div>
     17 %   }
     18     </nav>
     19 % }
     20 
     21 <article>
     22 % run_handlers $handlers_body_head
     23 % run_handler $handler_body_main
     24 % run_handlers $handlers_body_foot
     25 </article>
     26 
     27 <footer class="hidden-mobile">
     28 % cat `{ get_lib_file footer.inc }
     29 </footer>