Sha256: 150eccebf4c4f4c163f5d161b6d31a1474364a6a149c4698040df6f614874e3f

Contents?: true

Size: 1.81 KB

Versions: 5

Compression:

Stored size: 1.81 KB

Contents

<!DOCTYPE html>
<%= content_tag :html, class: 'no-js', **html_tag_attributes do %>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <title><%= render_page_title %></title>
    <script>
      document.querySelector('html').classList.remove('no-js');
    </script>
    <%= opensearch_description_tag application_name, opensearch_catalog_url(format: 'xml') %>
    <%= favicon_link_tag %>
    <%= stylesheet_link_tag "application", media: "all", "data-turbo-track": "reload"  %>
    <% if defined? Importmap %>
      <%= javascript_importmap_tags %>
    <% elsif defined? Propshaft %>
      <%= javascript_include_tag "application", "data-turbo-track": "reload", defer: true %>
    <% else %>
      <%= javascript_include_tag "application", "data-turbo-track": "reload", defer: true %>
      <script type="module">
        import githubAutoCompleteElement from 'https://cdn.skypack.dev/@github/auto-complete-element';
      </script>
    <% end %>

    <%= csrf_meta_tags %>
    <%= content_for(:head) %>
  </head>
  <body class="<%= render_body_class %>">
    <%= render blacklight_config.skip_link_component.new do %>
      <%= content_for(:skip_links) %>
    <% end %>

    <%= render partial: 'shared/header_navbar' %>

    <main id="main-container" class="<%= container_classes %>" role="main" aria-label="<%= t('blacklight.main.aria.main_container') %>">
      <%= content_for(:container_header) %>

      <%= render partial: 'shared/flash_msg', layout: 'shared/flash_messages' %>

      <div class="row">
        <%= content_for?(:content) ? yield(:content) : yield %>
      </div>
    </main>

    <%= render partial: 'shared/footer' %>
    <%= render partial: 'shared/modal' %>
  </body>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
blacklight-8.7.0 app/views/layouts/blacklight/base.html.erb
blacklight-8.6.1 app/views/layouts/blacklight/base.html.erb
blacklight-8.6.0 app/views/layouts/blacklight/base.html.erb
blacklight-8.5.1 app/views/layouts/blacklight/base.html.erb
blacklight-8.5.0 app/views/layouts/blacklight/base.html.erb