Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
92 lines (76 sloc) 2.83 KB
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ page.title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- favicon.ico -->
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<!-- syntax highlighting CSS -->
<link rel="stylesheet" href="/css/syntax.css">
<!-- Custom CSS -->
<link rel="stylesheet" href="/css/main.css">
<!-- latex support -->
{% if page.latex %}
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
processEscapes: true
}
});
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']
}
});
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Queue(function() {
var all = MathJax.Hub.getAllJax(), i;
for(i=0; i < all.length; i += 1) {
all[i].SourceElement().parentNode.className += ' has-jax';
}
});
</script>
<script type="text/javascript"
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
{% endif %}
<!-- auto redirect 404 page -->
{% if page.url == "/404.html" %}
<meta http-equiv="refresh" content="3; url=/archive/">
{% endif %}
</head>
{% include google-analytics.html %}
<body>
<div class="site">
<div class="header">
<h1 class="title"><a href="/">{{ site.name }}</a></h1>
{% for item in site.navItems %}
<a class="extra" href="{{ item.url }}">{{ item.name }}</a>
{% endfor %}
</div>
{{ content }}
<div class="footer">
<div class="contact">
<p>
{{ site.author }}<br />
{{ site.authorMsg }}<br />
{{ site.authorEmail }}
</p>
</div>
<div class="contact">
<p>
<a href="https://github.com/{{ site.authorNickname }}">github.com/{{ site.authorNickname }}</a><br />
<a href="https://twitter.com/{{ site.authorNickname }}">twitter.com/{{ site.authorNickname }}</a><br />
<a href="http://instagram.com/{{ site.authorNickname }}">instagram.com/{{ site.authorNickname }}</a><br />
</p>
</div>
</div>
</div>
</body>
</html>