old_blog/_includes/head.html

32 lines
1.9 KiB
HTML
Raw Normal View History

2019-07-05 14:16:46 -04:00
<head>
<meta charset="utf-8">
2020-06-19 00:16:57 -04:00
<meta http-equiv="X-UA-Compatible" content="IE=edge">
2019-07-05 14:16:46 -04:00
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
2020-06-19 00:16:57 -04:00
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
{% if site.picturefill %}
<script>
// Picture element HTML5 shiv
document.createElement( "picture" );
</script>
<script src="//cdnjs.cloudflare.com/ajax/libs/picturefill/3.0.1/picturefill.min.js" async></script>
2020-01-03 17:13:44 -05:00
{% endif %}
2020-06-19 00:16:57 -04:00
{% if site.typekit_kit_id %}
<script>
(function(d) {
var config = {
kitId: '{{ site.typekit_kit_id }}',
scriptTimeout: 3000,
async: true
},
h=d.documentElement,t=setTimeout(function(){h.className=h.className.replace(/\bwf-loading\b/g,"")+" wf-inactive";},config.scriptTimeout),tk=d.createElement("script"),f=false,s=d.getElementsByTagName("script")[0],a;h.className+=" wf-loading";tk.src='https://use.typekit.net/'+config.kitId+'.js';tk.async=true;tk.onload=tk.onreadystatechange=function(){a=this.readyState;if(f||a&&a!="complete"&&a!="loaded")return;f=true;clearTimeout(t);try{Typekit.load(config)}catch(e){}};s.parentNode.insertBefore(tk,s)
})(document);
</script>
{% endif %}
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Libre+Baskerville:700|Sanchez" type="text/css">
<link rel="stylesheet" href="{{ "/css/screen.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 }}">
2019-07-05 14:16:46 -04:00
</head>