theread.me/_includes/head.html

57 lines
2.5 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 %}">
2022-09-15 11:54:57 +00:00
<link href="https://fonts.googleapis.com/css?family=Secular+One|Nunito|Mononoki&display=swap" 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 }}" />
2022-09-15 10:44:02 +00:00
{% if page.custom_head %}
{{ page.custom_head }}
{% endif %}
2017-09-29 19:32:26 +00:00
{% if page.math %}
<link rel='stylesheet' href='{{ "/css/katex.min.css" | prepend: site.baseurl }}'>
2017-10-21 06:12:32 +00:00
<script src='{{ "/js/katex.min.js" | prepend: site.baseurl }}'></script>
<script src='{{ "/js/auto-render.min.js" | prepend: site.baseurl }}'></script>
2017-09-29 19:32:26 +00:00
<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>
2023-12-06 18:15:32 +00:00
<script data-goatcounter="https://thereadme.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
2024-10-08 16:10:30 +00:00
<script>
var remark_config = {
host: 'https://remark.theread.me',
site_id: 'remark',
}
</script>
<script>!function(e,n){for(var o=0;o<e.length;o++){var r=n.createElement("script"),c=".js",d=n.head||n.body;"noModule"in r?(r.type="module",c=".mjs"):r.async=!0,r.defer=!0,r.src=remark_config.host+"/web/"+e[o]+c,d.appendChild(r)}}(remark_config.components||["embed"],document);</script>
2016-11-09 12:27:01 +00:00
</head>