Difference between revisions of "Template:Groningen/Head"

Line 2: Line 2:
 
<head>
 
<head>
  
     <!-- Basic Page Needs
+
  <html>
  –––––––––––––––––––––––––––––––––––––––––––––––––– -->
+
     <head>
    <meta charset="utf-8" />
+
      <!--Import Google Icon Font-->
    <title>Case13a</title>
+
      <link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
    <meta name="description" content="An iGEM project" />
+
      <!--Import materialize.css-->
    <meta name="author" content="Hielke Walinga" />
+
      <!-- Compiled and minified CSS -->
 +
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.8/css/materialize.min.css">
 +
  <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
 +
   
 +
  <!-- Compiled and minified JavaScript -->
 +
  <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.8/js/materialize.min.js"></script>
  
    <!-- Mobile Specific Metas
+
      <!--Let browser know website is optimized for mobile-->
  –––––––––––––––––––––––––––––––––––––––––––––––––– -->
+
      <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
+
  
    <!-- FONT
 
  –––––––––––––––––––––––––––––––––––––––––––––––––– -->
 
    <link href="http://fonts.googleapis.com/css?family=Raleway:400,300,600" rel="stylesheet" type="text/css" />
 
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
 
  
    <!-- CSS
 
  –––––––––––––––––––––––––––––––––––––––––––––––––– -->
 
 
    <link rel="stylesheet" href="https://2017.igem.org/Team:TUDelft/css/materialize?action=raw&ctype=text/css" />
 
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css" integrity="sha384-wITovz90syo1dJWVh32uuETPVEtGigN07tkttEqPv+uR2SE/mbQcG7ATL28aI9H0" crossorigin="anonymous">
 
    <link rel="stylesheet" href="https://2017.igem.org/Team:TUDelft/css/custom?action=raw&ctype=text/css" />
 
  
 
<link rel="stylesheet" type="text/css"  
 
<link rel="stylesheet" type="text/css"  
 
href="https://2018.igem.org/Template:Groningen/CSS&action=raw&ctype=text/css" />
 
href="https://2018.igem.org/Template:Groningen/CSS&action=raw&ctype=text/css" />
<script src="https://2018.igem.org/Team:TUDelft/js/materialize?action=raw&ctype=text/javascript"></script>
 
<script type="text/javascript" src="https://2018.igem.org/Template:Groningen/Javascript&action=raw&ctype=text/javascript"></script>
 
  
    <!-- JS
+
src="https://2018.igem.org/Template:Groningen/Javascript&action=raw&ctype=text/javascript"></script>
  –––––––––––––––––––––––––––––––––––––––––––––––––– -->
+
    <script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
+
  
    <script src="https://2018.igem.org/Team:TUDelft/js/script?action=raw&ctype=text/javascript"></script>
 
    <script src="https://use.fontawesome.com/b31c04f526.js"></script>
 
  
 
<link rel="stylesheet" type="text/css"  
 
<link rel="stylesheet" type="text/css"  
Line 42: Line 30:
 
<script type="text/javascript" src="https://2018.igem.org/Template:Groningen/Javascript&action=raw&ctype=text/javascript"></script>
 
<script type="text/javascript" src="https://2018.igem.org/Template:Groningen/Javascript&action=raw&ctype=text/javascript"></script>
  
     <!-- KATEX
+
     </head>
  –––––––––––––––––––––––––––––––––––––––––––––––––– -->
+
 
     <script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.js" integrity="sha384-/y1Nn9+QQAipbNQWU65krzJralCnuOasHncUFXGkdwntGeSvQicrYkiUBwsgUqc1" crossorigin="anonymous"></script>
+
     <body>
     <script src="https://2017.igem.org/Team:TUDelft/js/auto-render?action=raw&ctype=text/javascript" type="text/javascript"></script>
+
     </body>
    <script>
+
  </html>
        document.addEventListener("DOMContentLoaded", function() {
+
            renderMathInElement(document.body, {
+
                delimiters: [{
+
                        left: "$$",
+
                        right: "$$",
+
                        display: true
+
                    },
+
                    {
+
                        left: "\\[",
+
                        right: "\\]",
+
                        display: true
+
                    },
+
                    {
+
                        left: "$",
+
                        right: "$",
+
                        display: false
+
                    },
+
                    {
+
                        left: "\\(",
+
                        right: "\\)",
+
                        display: false
+
                    }
+
                ],
+
                throwOnError: false,
+
                macros: {
+
                    '\\tag': '\\pod\\text'
+
                }
+
            });
+
            var eqno = document.querySelectorAll(".katex span > span.mspace.quad");
+
            for (var i = 0; i < eqno.length; ++i) {
+
                if (eqno[i].parentNode.className)
+
                    continue;
+
                var quad = eqno[i];
+
                var span = quad.parentNode;
+
                var text = span.nextSibling;
+
                var pare = text.nextSibling;
+
                span.removeChild(quad);
+
                span.appendChild(text);
+
                span.appendChild(pare);
+
                span.className = 'eqno';
+
            }
+
        });
+
    </script>
+
  
    <!-- Favicon
 
  –––––––––––––––––––––––––––––––––––––––––––––––––– -->
 
    <link rel="icon" type="image/png" href="https://static.igem.org/mediawiki/2017/2/29/T--TUDelft--2017_SmallLogo.png" />
 
  
 
</head>
 
</head>
 
</html>
 
</html>

Revision as of 10:22, 2 October 2018

src="https://2018.igem.org/Template:Groningen/Javascript&action=raw&ctype=text/javascript">


</head> </html>