theread.me/_includes/head.html

44 lines
1.9 KiB
HTML
Raw Normal View History

2015-03-29 06:14:53 +00:00
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
2017-02-04 16:58:34 +00:00
<link href="https://fonts.googleapis.com/css?family=Secular+One|Nunito|Ubuntu+Mono" rel="stylesheet">
2015-03-29 06:14:53 +00:00
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />
2017-09-29 19:32:26 +00:00
{% if page.math %}
<link rel='stylesheet' href='{{ "/css/katex.min.css" | prepend: site.baseurl }}'>
<script rel='stylesheet' src='{{ "/js/katex.min.js" | prepend: site.baseurl }}'></script>
<script rel='stylesheet' src='{{ "/js/auto-render.min.js" | prepend: site.baseurl }}'></script>
<script>
document.addEventListener("DOMContentLoaded", function() {
renderMathInElement(document.body, {
delimiters: [
{left: "$$", right: "$$", display: true},
{left: "\\[", right: "\\]", display: true},
{left: "\\(", right: "\\)", display: false},
{left: "$", right: "$", display: false},
],
});
});
</script>
{% endif %}
2017-09-07 17:14:45 +00:00
<!--<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>-->
2015-04-12 10:48:09 +00:00
2016-11-09 12:27:01 +00:00
<script>
var channel = new BroadcastChannel('egg');
2016-11-09 12:27:01 +00:00
channel.addEventListener('message', message => {
alert('Got a message from the other tab:\n' + message.data);
});
</script>
</head>