<div id="l_cover">
  <% if (theme.plugins.pjax.enable) { %>
    <% if (theme.cover_ctrl.enableCover) { %>
      <!-- see: /layout/_partial/scripts/_ctrl.ejs -->
      <div id="<%- theme.cover_ctrl.frontMatterCover %>" class='cover-wrapper <%- page.layout %> <%- theme.cover.layout_scheme %>' style="display: <%- theme.cover_ctrl.coverWrapperDisplay %>;">
        <%- partial("./_cover/layout") %>
        <div id="scroll-down" style="display: <%- theme.cover_ctrl.scrollDownDisplay %>;"><i class="fa fa-chevron-down scroll-down-effects"></i></div>
      </div>
    <% } %>
  <% } else { %>
      <% if (page.cover == true) { %>
        <% if (is_home() && page.prev == 0 && theme.cover.height_scheme == 'full') { %>
          <div class="cover-wrapper <%- page.layout %> <%- theme.cover.layout_scheme %>" id='full'>
            <%- partial("./_cover/layout") %>
            <div id="scroll-down"><i class="fa fa-chevron-down scroll-down-effects"></i></div>
          </div>
        <% } else { %>
          <div class="cover-wrapper <%- page.layout %> <%- theme.cover.layout_scheme %>" id='half'>
            <%- partial("./_cover/layout") %>
          </div>
        <% } %>
      <% } %>
  <% } %>
</div>
