Major update - simpler file structure, better layouts, moar content
This commit is contained in:
21
src/layouts/partials/menusub.ejs
Normal file
21
src/layouts/partials/menusub.ejs
Normal file
@@ -0,0 +1,21 @@
|
||||
<!-- MENUSUB BEGIN -->
|
||||
|
||||
<% if (page.section && page.subsection && page.section === 'games') { %>
|
||||
<% if (page.subsection === 'anachronism') { %>
|
||||
<%- include('anachronism/menusub') %>
|
||||
<% } else if (page.subsection === 'magic-cards' && page.name !== 'index') { %>
|
||||
<%- include('magic-cards/menusub') %>
|
||||
<% } else if (page.subsection === 'magic-decks' && page.name !== 'index') { %>
|
||||
<%- include('magic-decks/menusub') %>
|
||||
<% } else if (page.subsection === 'thur' && page.name !== 'index') { %>
|
||||
<%- include('thur/menusub') %>
|
||||
<% } %>
|
||||
<% } else if (page.section && page.subsection && page.section === 'web') { %>
|
||||
<% if (page.subsection === 'linklists' && page.name !== 'index') { %>
|
||||
<%- include('linklists/menusub') %>
|
||||
<% } %>
|
||||
<% } else if (page.content_type === 'journal') { %>
|
||||
<%- include('journal/menusub') %>
|
||||
<% } %>
|
||||
|
||||
<!-- MENUSUB END -->
|
Reference in New Issue
Block a user