Sha256: 986b03c5028f9e9372675bb9b43e7850b3491c7c81d6f065e53e173d91df6e95

Contents?: true

Size: 1.08 KB

Versions: 6

Compression:

Stored size: 1.08 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 %>" />

<!-- 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' %>

<!-- Google Analytics -->
<%= render partial: '/ga', formats: [:html] %>

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hyrax-3.2.0 app/views/layouts/_head_tag_content.html.erb
hyrax-3.1.0 app/views/layouts/_head_tag_content.html.erb
hyrax-3.0.2 app/views/layouts/_head_tag_content.html.erb
hyrax-3.0.1 app/views/layouts/_head_tag_content.html.erb
hyrax-3.0.0 app/views/layouts/_head_tag_content.html.erb
hyrax-3.0.0.pre.rc4 app/views/layouts/_head_tag_content.html.erb