	<title><%=MetacatUI.appModel.get("repositoryName")%></title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
    <meta name="description" content="Metacat UI">
    <meta name="author" content="Ecoinformatics Development Team">

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="<%= MetacatUI.root %>/components/html5shiv.js"></script>
    <![endif]-->

    <!-- For IE <= 9 -->
    <!--[if IE]>
    <script type="text/javascript">
      window.location = "https://dataone.org/unsupportedbrowser";
    </script>
    <![endif]-->
    <!-- For IE > 9 -->
    <script type="text/javascript">
      if (window.navigator.msPointerEnabled) { window.location = "https://dataone.org/unsupportedbrowser"; }
    </script>

    <!-- Stylesheets -->
    <link href="<%= MetacatUI.root %>/components/fancybox/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css">
    <link href="<%= MetacatUI.root %>/components/fancybox/helpers/jquery.fancybox-buttons.css?v=1.0.5" rel="stylesheet" type="text/css">
    <link href="<%= MetacatUI.root %>/components/fancybox/helpers/jquery.fancybox-thumbs.css?v=1.0.7" rel="stylesheet" type="text/css">
    <link href="<%= MetacatUI.root %>/css/bootstrap.min.css" type="text/css" rel="stylesheet">
    <link href="<%= MetacatUI.root %>/css/font-awesome-3.2.1.min.css" type="text/css" rel="stylesheet">
    <link href="<%= MetacatUI.root %>/css/jquery.sidr.light.css" type="text/css" rel="stylesheet">
    <link href="<%= MetacatUI.root %>/css/metacatui-common.css?v=<%=MetacatUI.metacatUIVersion%>" type="text/css" rel="stylesheet">
    <link href="<%= MetacatUI.root %>/js/themes/<%=MetacatUI.theme%>/css/metacatui.css?v=<%=MetacatUI.metacatUIVersion%>" type="text/css" rel="stylesheet">
    <link href="<%= MetacatUI.root %>/css/metacatui-common.responsive.css?v=<%=MetacatUI.metacatUIVersion%>" type="text/css" rel="stylesheet">
    <link href="<%= MetacatUI.root %>/js/themes/<%=MetacatUI.theme%>/css/metacatui.responsive.css?v=<%=MetacatUI.metacatUIVersion%>" type="text/css" rel="stylesheet">

    <% if(MetacatUI.appModel.get("bioportalAPIKey")){ %>
      <link href="<%= MetacatUI.root %>/components/bioportal/jquery.ncbo.tree.min.css" rel="stylesheet" type="text/css">
    <% } %>

    <!-- Imported from the dataone website -->
    <% const d1WebsiteDir = MetacatUI.root + "/js/themes/" + MetacatUI.theme + "/components/d1website" %>
    <script src="<%= d1WebsiteDir %>/d1website.min.js"></script>
    <link href="<%= d1WebsiteDir %>/css/d1website.min.css?v=<%=MetacatUI.metacatUIVersion%>" type="text/css" rel="stylesheet">
    <!-- Fav and touch icons -->
    <link rel="apple-touch-icon" sizes="180x180" href="<%= d1WebsiteDir %>/apple-touch-icon.png?v=<%=MetacatUI.metacatUIVersion%>">
    <link rel="icon" type="image/png" sizes="32x32" href="<%= d1WebsiteDir %>/favicon-32x32.png?v=<%=MetacatUI.metacatUIVersion%>">
    <link rel="icon" type="image/png" sizes="16x16" href="<%= d1WebsiteDir %>/favicon-16x16.png?v=<%=MetacatUI.metacatUIVersion%>">
    <link rel="manifest" href="<%= d1WebsiteDir %>/site.webmanifest?v=<%=MetacatUI.metacatUIVersion%>">
    <link rel="mask-icon" href="<%= d1WebsiteDir %>/safari-pinned-tab.svg?v=<%=MetacatUI.metacatUIVersion%>" color="#16acc0">
    <link rel="shortcut icon" href="<%= d1WebsiteDir %>/favicon.ico?v=<%=MetacatUI.metacatUIVersion%>">
    <meta name="apple-mobile-web-app-title" content="DataONE">
    <meta name="application-name" content="DataONE">
    <meta name="msapplication-TileColor" content="#7aeefd">
    <meta name="msapplication-config" content="<%= d1WebsiteDir %>/browserconfig.xml?v=<%=MetacatUI.metacatUIVersion%>">
    <meta name="theme-color" content="#7aeefd">

    <script>
	  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
	  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
	  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
	  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

	  ga('create', 'UA-15017327-17', 'auto');
	  ga('send', 'pageview');
	</script>
