2 <html lang='[% ctx.eg_locale %]'>
3 <head prefix="og: http://ogp.me/ns#">
4 <meta charset="utf-8" />
5 <meta http-equiv="X-UA-Compatible" content="IE=edge" />
7 <meta http-equiv="refresh" content="[% ctx.refresh %]" />
8 [% ELSIF ctx.authtime AND !ctx.is_staff %]
9 <meta http-equiv="refresh" content="[% ctx.authtime %]; url=[% ctx.home_page %]" />
11 <meta name = "viewport" content = "initial-scale = 1.0">
12 <!--Added bootstrap dependancies-->
13 <link rel="stylesheet" href="[% ctx.media_prefix %]/opac/deps/node_modules/bootstrap/dist/css/bootstrap.min.css[% ctx.cache_key %]">
14 <link rel="stylesheet" href="[% ctx.media_prefix %]/opac/deps/node_modules/@fortawesome/fontawesome-free/css/all.css[% ctx.cache_key %]" />
15 <link rel="stylesheet" href="[% ctx.media_prefix %]/opac/deps/node_modules/bootstrap-datepicker/dist/css/bootstrap-datepicker.css[% ctx.cache_key %]" />
16 <link rel="stylesheet" href="[% ctx.media_prefix %]/css/skin/default/opac/semiauto.css[% ctx.cache_key %]" />
17 <link rel="stylesheet" href="[% ctx.opac_root %]/css/style.css[% ctx.cache_key %]&dir=[%
18 IF ctx.get_i18n_l(ctx.eg_locale).rtl == 't' %]rtl[%
19 ELSE %]ltr[% END %]" />
20 <link rel="stylesheet" href="[% ctx.opac_root %]/css/mediaQuery.css[% ctx.cache_key %]" />
21 [% IF ctx.get_i18n_l(ctx.eg_locale).rtl == 't' %]
22 <link rel="stylesheet" href="[% ctx.media_prefix %]/css/skin/default/opac/semiauto-rtl.css[% ctx.cache_key %]" />
25 [% IF ctx.get_org_setting(ctx.search_ou, 'opac.patron.custom_css') %]
26 [% custom_css = ctx.get_org_setting(ctx.search_ou, 'opac.patron.custom_css') %]
27 [% '<style>'; custom_css ; '</style>' %]
30 [%- libname = ctx.get_aou(ctx.search_ou).name;
31 libname = libname | html;
32 libsname = ctx.get_aou(ctx.search_ou).shortname; %]
33 <title>[%- IF ctx.user_stats.messages.unread;
34 l('([_1])', ctx.user_stats.messages.unread);
37 [% l('[_1] - [_2]', ctx.page_title, libname) %]</title>
38 <link rel="unapi-server" type="application/xml" title="unAPI" href="/opac/extras/unapi" />
39 <link type="application/opensearchdescription+xml" rel='search' title="[% l('[_1] OpenSearch', libname) %]" href="/opac/extras/opensearch/1.1/[% libsname | uri %]/-/osd.xml" />
40 [%-# Hook for page-specific metadata such as <meta name="robots" content="noindex"> %]
41 [%- ctx.metalinks.push('<meta property="og:title" content="' _ ctx.page_title _ '" />'); %]
42 [%- ctx.metalinks.push('<meta property="og:site_name" content="' _ libname _ '" />'); %]
43 [% FOREACH meta IN ctx.metalinks; meta _ "\n"; END; -%]
46 @import "[% ctx.media_prefix %]/js/dojo/dijit/themes/tundra/tundra.css[% ctx.cache_key %]";
50 [% IF !ctx.is_staff %]
51 [% INCLUDE 'opac/parts/goog_analytics.tt2' %]
53 [% PROCESS 'opac/parts/stripe.tt2' %]
54 <script src="[% ctx.media_prefix %]/opac/deps/node_modules/jquery/dist/jquery.min.js"></script>
58 <body[% IF want_dojo; ' class="tundra d-flex flex-column min-vh-100"'; ELSE; ' class="tundra d-flex flex-column min-vh-100"'; END %]>
59 <h1 class="sr-only">[% l('Catalog') %]</h1>
60 [%#Each content page needs (at minimum) an <h2> describing the content%]
64 [% IF ctx.page != "login" ;%]
65 [% INCLUDE 'opac/parts/login/login_modal.tt2' %]
67 <h2 class="sr-only">[% l('Additional Resources') %]</h2>
68 [% INCLUDE 'opac/parts/footer.tt2' %]
70 [% INCLUDE 'opac/parts/js.tt2' %]
72 $(document).ready(function(){
73 $('.tooltip').tooltip();
76 [%- IF ENV.OILS_CHILIFRESH_ACCOUNT %]
77 [%- INCLUDE 'opac/parts/chilifresh.tt2' %]