24 lines
991 B
Plaintext
24 lines
991 B
Plaintext
<!-- 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 === 'licenses' && page.short_code !== '1c') { %>
|
|
<%- include('licenses/menusub') %>
|
|
<% } else if (page.subsection === 'linklists' && page.name !== 'index') { %>
|
|
<%- include('linklists/menusub') %>
|
|
<% } %>
|
|
<% } else if (page.content_type === 'journal') { %>
|
|
<%- include('journal/menusub') %>
|
|
<% } %>
|
|
|
|
<!-- MENUSUB END -->
|