Major update - simpler file structure, better layouts, moar content
This commit is contained in:
40
src/layouts/partials/navmain.ejs
Normal file
40
src/layouts/partials/navmain.ejs
Normal file
@@ -0,0 +1,40 @@
|
||||
|
||||
<!-- NAVMAIN BEGIN -->
|
||||
|
||||
<div class="menubar clearfix">
|
||||
<nav class="navMenu">
|
||||
<ul class="navMenu-list">
|
||||
<!--
|
||||
<li class="navMenu-list-item"><a class="navMenu-list-link<%= (page.path && page.path.indexOf('/updates') === 0 ? ' isCurrentSection' : '') %>" href="/updates">Updates</a></li>
|
||||
-->
|
||||
<li class="navMenu-list-item"><a
|
||||
class="navMenu-list-link<%= (page.section && page.section === 'games' ? ' isCurrentSection' : '') %>"
|
||||
href="/games/index.html">Games</a></li>
|
||||
<li class="navMenu-list-item"><a
|
||||
class="navMenu-list-link<%= (page.section && page.section === 'web' ? ' isCurrentSection' : '') %>"
|
||||
href="/web.html">Web</a></li>
|
||||
<li class="navMenu-list-item"><a
|
||||
class="navMenu-list-link<%= (page.path && page.path.indexOf('journal') === 0 ? ' isCurrentSection' : '') %>"
|
||||
href="/journal/index.html">Journal</a></li>
|
||||
<li class="navMenu-list-item"><a
|
||||
class="navMenu-list-link<%= (page.path && page.path.indexOf('about') === 0 ? ' isCurrentSection' : '') %>"
|
||||
href="/about.html">About</a></li>
|
||||
<li class="navMenu-list-item"><a
|
||||
class="navMenu-list-link<%= (page.path && page.path.indexOf('now') === 0 ? ' isCurrentSection' : '') %>"
|
||||
href="/now.html">Now</a></li>
|
||||
</ul>
|
||||
<div class="searchBox">
|
||||
<form method="get" class="searchBox-form" id="searchForm" action="https://duckduckgo.com/">
|
||||
<input id="searchQuery" class="searchBox-query" type="text" value="" name="q" maxlength="255">
|
||||
<input type="hidden" name="kl" value="us-en" /><!-- language -->
|
||||
<input type="hidden" name="kh" value="1" /><!-- force https -->
|
||||
<input type="hidden" name="kae" value="r" /><!-- theme = retri -->
|
||||
<input type="hidden" name="k1" value="1" /><!-- tracker-less ads -->
|
||||
<input type="hidden" name="sites" value="<%= site.base_uri %>"/>
|
||||
<input type="submit" class="searchBox-go" value="🔍">
|
||||
</form>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<!-- NAVMAIN END -->
|
Reference in New Issue
Block a user