Sha256: 1d933baf115af172a06265943809ad011e549fcc665873fbd2e422dcd83899f4

Contents?: true

Size: 1.14 KB

Versions: 11

Compression:

Stored size: 1.14 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, maximum-scale=1">
<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' %>
<%= tinymce_assets if can? :update, ContentBlock %>
<%= 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

11 entries across 11 versions & 1 rubygems

Version Path
hyrax-2.0.3 app/views/layouts/_head_tag_content.html.erb
hyrax-2.0.2 app/views/layouts/_head_tag_content.html.erb
hyrax-2.1.0.beta1 app/views/layouts/_head_tag_content.html.erb
hyrax-2.0.1 app/views/layouts/_head_tag_content.html.erb
hyrax-2.0.0 app/views/layouts/_head_tag_content.html.erb
hyrax-2.0.0.rc3 app/views/layouts/_head_tag_content.html.erb
hyrax-2.0.0.rc2 app/views/layouts/_head_tag_content.html.erb
hyrax-2.0.0.rc1 app/views/layouts/_head_tag_content.html.erb
hyrax-2.0.0.beta5 app/views/layouts/_head_tag_content.html.erb
hyrax-2.0.0.beta4 app/views/layouts/_head_tag_content.html.erb
hyrax-2.0.0.beta3 app/views/layouts/_head_tag_content.html.erb