11<!DOCTYPE html>
22< html lang ="en " class ="no-js ">
3- < head >
3+
4+ < head >
45 < meta charset ="utf-8 ">
56 < meta http-equiv ="Content-Type " content ="text/html; charset=utf-8 ">
67 < meta name ="viewport " content ="width=device-width, initial-scale=1, shrink-to-fit=no ">
78 <!-- Internet Explorer use the highest version available -->
89 < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
910 <% if controller . controller_name == 'catalog' && controller . action_name == 'show' %>
10- < meta name ="Description " content ="<%= render_page_title %> ">
11+ < meta name ="Description " content ="<%= render_page_title %> ">
1112 <% else %>
12- <!-- URSUS -->
13- < meta name ="Description " content ="The UCLA Library Digital Collections includes rare and unique digital materials developed by the UCLA Library to support education, research, service, and creative expression. This website is our new interface for discovery and engagement of these collections. See collections of historic photographs and manuscripts. More collections added weekly. ">
13+ <!-- URSUS -->
14+ < meta name ="Description " content ="The UCLA Library Digital Collections includes rare and unique digital materials developed by the UCLA Library to support education, research, service, and creative expression. This website is our new interface for discovery and engagement of these collections. See collections of historic photographs and manuscripts. More collections added weekly. ">
1415 <% end %>
1516 < meta name ="theme-color " content ="#2774ae ">
1617 < script >
17- window . dataLayer = window . dataLayer || [ ] ;
18+ window . dataLayer = window . dataLayer || [ ] ;
1819 </ script >
1920 <% if ENV [ "GOOGLE_TAG_MGR_ID" ] %>
20- < script type ="text/javascript " id ='analytics-script '> ( function ( w , d , s , l , i ) { w [ l ] = w [ l ] || [ ] ; w [ l ] . push ( { 'gtm.start' :
21- new Date ( ) . getTime ( ) , event :'gtm.js' } ) ; var f = d . getElementsByTagName ( s ) [ 0 ] ,
22- j = d . createElement ( s ) , dl = l != 'dataLayer' ?'&l=' + l :'' ; j . async = true ; j . src =
23- 'https://www.googletagmanager.com/gtm.js?id=' + i + dl ; f . parentNode . insertBefore ( j , f ) ;
24- } ) ( window , document , 'script' , 'dataLayer' , '<%= ENV [ "GOOGLE_TAG_MGR_ID" ] %> ' ) ; </ script >
25- <% end %>
26- <% if ENV [ "RAILS_HOST" ] && ( ENV [ "RAILS_HOST" ] . include? ( "stage" ) || ENV [ "RAILS_HOST" ] . include? ( "test" ) || ENV [ "RAILS_HOST" ] . include? ( "dev" ) || ENV [ "RAILS_HOST" ] . include? ( "localhost" ) ) %>
27- < script defer src ="https://test-librarystudy.library.ucla.edu/gsurvey.js "> </ script >
28- <% else %>
29- < script defer src ="https://librarystudy.library.ucla.edu/gsurvey.js "> </ script >
21+ < script type ="text/javascript " id ='analytics-script '>
22+ ( function ( w , d , s , l , i ) {
23+ w [ l ] = w [ l ] || [ ] ;
24+ w [ l ] . push ( {
25+ 'gtm.start' : new Date ( ) . getTime ( ) ,
26+ event : 'gtm.js'
27+ } ) ;
28+ var f = d . getElementsByTagName ( s ) [ 0 ] ,
29+ j = d . createElement ( s ) ,
30+ dl = l != 'dataLayer' ? '&l=' + l : '' ;
31+ j . async = true ;
32+ j . src =
33+ 'https://www.googletagmanager.com/gtm.js?id=' + i + dl ;
34+ f . parentNode . insertBefore ( j , f ) ;
35+ } ) ( window , document , 'script' , 'dataLayer' , '<%= ENV [ "GOOGLE_TAG_MGR_ID" ] %> ' ) ;
36+ </ script >
3037 <% end %>
3138 < title > <%= render_page_title %> </ title >
3239
3340 <%= opensearch_description_tag application_name , opensearch_catalog_url ( format : 'xml' ) %>
3441
35- <%= favicon_link_tag 'favicons/favicon.ico' %>
42+ <%= favicon_link_tag 'favicons/favicon.ico' %>
3643
3744 <%= stylesheet_link_tag "ursus" , media : "all" %>
3845 <%= javascript_include_tag "application" , defer : Rails . env . development? ? false : true %>
3946 <%= csrf_meta_tags %>
4047 <%= content_for ( :head ) %>
41- </ head >
48+ </ head >
4249
43- < body class ="<%= render_body_class %> ">
50+ < body class ="<%= render_body_class %> ">
4451 <% if ENV [ "GOOGLE_TAG_MGR_ID" ] %>
45- < noscript id ='analytics-noscript '> < iframe src ="https://www.googletagmanager.com/ns.html?id= <%= ENV [ "GOOGLE_TAG_MGR_ID" ] %> "
46- height ="0 " width ="0 " style ="display:none;visibility:hidden "> </ iframe > </ noscript >
52+ < noscript id ='analytics-noscript '> < iframe src ="https://www.googletagmanager.com/ns.html?id= <%= ENV [ "GOOGLE_TAG_MGR_ID" ] %> " height ="0 " width ="0 " style ="display:none;visibility:hidden "> </ iframe > </ noscript >
4753 <% end %>
4854
4955 < div class ="site-container " <%= schema_org_markup %> >
50- <%= render partial : 'shared/header_navbar' %>
51- <%= render 'catalog/banners/homepage_banner' %>
56+ <%= render partial : 'shared/header_navbar' %>
57+ <%= render 'catalog/banners/homepage_banner' %>
5258
53- < main id ="main-container " class ="<%= container_classes %> " role ="main " aria-label ="<%= t ( 'blacklight.main.aria.main_container' ) %> ">
54- <%= content_for ( :container_header ) %>
59+ < main id ="main-container " class ="<%= container_classes %> " role ="main " aria-label ="<%= t ( 'blacklight.main.aria.main_container' ) %> ">
60+ <%= content_for ( :container_header ) %>
5561
56- <%= content_for? ( :content ) ? yield ( :content ) : yield %>
57- </ main >
62+ <%= content_for? ( :content ) ? yield ( :content ) : yield %>
63+ </ main >
5864
59- <%= render partial : 'shared/footer' %>
60- <%= render partial : 'shared/modal' %>
65+ <%= render partial : 'shared/footer' %>
66+ <%= render partial : 'shared/modal' %>
6167 </ div >
62- </ body >
63- </ html >
68+ </ body >
69+
70+ </ html >
0 commit comments