Sha256: 3617c4217cf33132079fa4afdd03f88280c4ecd71cecaefd975dfba15b7483c8

Contents?: true

Size: 1.36 KB

Versions: 3

Compression:

Stored size: 1.36 KB

Contents

<%= csrf_meta_tag %>
<meta charset="utf-8" />
<%# Only display meta tag, which enables creation of the ActionCable
consumer, when realtime notifications are enabled and the user is
signed in %>
<% if Hyrax.config.realtime_notifications? && signed_in? %>
    <%= tag :meta, name: 'current-user', data: { user_key: current_user.user_key } %>
<% end %>
<!-- added for use on small devices like phones -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="resourcesync" href="<%= hyrax.capability_list_url %>" />
<meta name="generator" content="Samvera Hyrax <%= ::Hyrax::VERSION %>" />

<!-- Twitter card metadata -->
<%= yield :twitter_meta %>
<!-- Google Scholar metadata -->
<%= yield :gscholar_meta %>

<title><%= content_for?(:page_title) ? yield(:page_title) : default_page_title %></title>

<!-- application css -->
<%= stylesheet_link_tag 'application' %>

<!-- application js -->
<%= javascript_include_tag 'application' %>

<%= render 'shared/appearance_styles' %>

<% if Hyrax.config.analytics? %>
  <% if Hyrax.config.analytics_provider == 'google' %>
    <%= render partial: 'shared/ga', formats: [:html]  %>
  <% elsif Hyrax.config.analytics_provider == 'matomo' %>
    <%= render partial: 'shared/matomo', formats: [:html] %>
  <% end %>
<% end %>

<!-- for extras, e.g., a favicon -->
<%= render partial: '/head_tag_extras', formats: [:html] %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hyrax-5.0.1 app/views/layouts/_head_tag_content.html.erb
hyrax-5.0.0 app/views/layouts/_head_tag_content.html.erb
hyrax-5.0.0.rc3 app/views/layouts/_head_tag_content.html.erb