<commit_before><!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0,user-scalable=no,maximum-scale=1,width=device-width">
    <title><%= title %></title>
    <link rel="stylesheet" href="<%= codemirrorPath %>/codemirror.css">
    <link rel="stylesheet" href="<%= adminPath %>/styles/keystone.min.css">
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
  </head>
  <body>
  <h2><a href="/dashboard">Click here to access the ConnextCMS dashboard.</a></h2>
  <hr />

<%# React Mount Element %>
    <div id="react-root"></div>
<%# Keystone Config %>
    <script>
      var Keystone = <%- JSON.stringify(keystone) %>;
      debugger;
    </script>
<%# Old jQuery, editor and Cloudinary scripts %>
    <script src="<%= adminPath %>/js/lib/jquery/jquery-1.10.2.min.js"></script>
<% if (fieldTypes.wysiwyg) { -%>
    <script src="<%= adminPath %>/js/lib/tinymce/tinymce.min.js"></script>
<% if (cloudinaryScript) { -%>
    <script src="<%= adminPath %>/js/lib/jqueryfileupload/vendor/jquery.ui.widget.js"></script>
    <script src="<%= adminPath %>/js/lib/jqueryfileupload/jquery.iframe-transport.js"></script>
    <script src="<%= adminPath %>/js/lib/jqueryfileupload/jquery.fileupload.js"></script>
    <script src="<%= adminPath %>/js/lib/cloudinary/jquery.cloudinary.js"></script>
    <%- cloudinaryScript %>
<% } } -%><commit_msg>manipulating /keystone to send user to ConnextCMS dashboard unless they are a superuser.<commit_after><!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0,user-scalable=no,maximum-scale=1,width=device-width">
    <title><%= title %></title>
    <link rel="stylesheet" href="<%= codemirrorPath %>/codemirror.css">
    <link rel="stylesheet" href="<%= adminPath %>/styles/keystone.min.css">
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
  </head>
  <body>
  <h2><a href="/dashboard">Click here to access the ConnextCMS dashboard.</a></h2>
  <hr />

<%# React Mount Element %>
    <div id="react-root"></div>
<%# Keystone Config %>
    <script>
      var Keystone = <%- JSON.stringify(keystone) %>;
      var superusers = <%- JSON.stringify(keystone.get('superusers')) %>;
      debugger;
    </script>
<%# Old jQuery, editor and Cloudinary scripts %>
    <script src="<%= adminPath %>/js/lib/jquery/jquery-1.10.2.min.js"></script>
<% if (fieldTypes.wysiwyg) { -%>
    <script src="<%= adminPath %>/js/lib/tinymce/tinymce.min.js"></script>
<% if (cloudinaryScript) { -%>
    <script src="<%= adminPath %>/js/lib/jqueryfileupload/vendor/jquery.ui.widget.js"></script>
    <script src="<%= adminPath %>/js/lib/jqueryfileupload/jquery.iframe-transport.js"></script>
    <script src="<%= adminPath %>/js/lib/jqueryfileupload/jquery.fileupload.js"></script>
    <script src="<%= adminPath %>/js/lib/cloudinary/jquery.cloudinary.js"></script>
    <%- cloudinaryScript %>
<% } } -%>
{'fraction_non_alphanumeric': 0.2122848464394195, 'fraction_numerical': 0.006749915626054675, 'mean_word_length': 4.110344827586207, 'pattern_counts': {'":': 0, '<': 104, '<?xml version=': 0, '>': 104, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '87412', 'n_tokens_mistral': 1102, 'n_tokens_neox': 1026, 'n_words': 187}