feat: Make top nav bar optional

This commit is contained in:
Nuno Sempere 2022-07-06 00:02:23 +00:00
parent 352d2dba6d
commit df15258241

View File

@ -1,7 +1,10 @@
<header> <header>
%
% if(test -w `{pwd}^/sites^/`{echo $site }^/_werc/lib/top_bar.inc){
<nav> <nav>
% cat `{pwd}^/sites^/`{echo $site }^/_werc/lib/top_bar.inc % cat `{pwd}^/sites^/`{echo $site }^/_werc/lib/top_bar.inc
</nav> </nav>
% }
<h1><a href="/">%($"siteTitle%) <span id="headerSubTitle">%($"siteSubTitle%)</span></a></h1> <h1><a href="/">%($"siteTitle%) <span id="headerSubTitle">%($"siteSubTitle%)</span></a></h1>
</header> </header>