mps-coderules/docs/_includes/head.html

35 lines
1.4 KiB
HTML

{% comment %}
<!-- Based on: MaterialDocs https://github.com/chromatical/jekyll-materialdocs -->
<!-- Copyright (c) 2017 James King -->
<!-- MIT License https://opensource.org/licenses/MIT -->
{% endcomment %}
{% if site.google_analytics and jekyll.environment == 'production' %}
{% include google-analytics.html %}
{% endif %}
<meta charset="utf-8"/>
<script defer src="https://code.getmdl.io/1.3.0/material.min.js"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
{% assign mdl_colors = "blue-indigo" %}
{% if site.mdl_colors %}
{% assign mdl_colors = site.mdl_colors %}
{% endif %}
{% if page.mdl_colors %}
{% assign mdl_colors = page.mdl_colors %}
{% endif %}
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.{{ mdl_colors }}.min.css" />
<link rel="stylesheet" href="{{ '/_assets/mdl.css' | absolute_url }}"/>
<link rel="stylesheet" href="{{ '/_assets/syntax.css' | absolute_url }}"/>
<title>{% if page.title %}{{ page.title }} | {% endif %}{{ site.title }}</title>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
skipTags: ['script', 'noscript', 'style', 'textarea', 'pre'],
inlineMath: [['$','$']],
displayMath: [['$$','$$'], ["\\[","\\]"]]
}
});
</script>
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>