1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-27 12:20:05 +01:00
blog/_src/_includes/head.html

98 lines
3.4 KiB
HTML
Raw Normal View History

2013-11-23 21:53:52 +01:00
<!DOCTYPE html>
<!--
___ ___
/__/\ /__/|
| |::\ | |:|
| |:|:\ | |:|
__|__|:|\:\ __| |:|
/__/::::| \:\ /__/\_|:|____
\ \:\~~\__\/ \ \:\/:::::/
\ \:\ \ \::/~~~~
\ \:\ \ \:\
\ \:\ \ \:\
\__\/ \__\/
YOU EARNED THE GEEK ACHIEVEMENT
FOR LOOKING AT MY SOURCE
But because of all the minimizing and caching
going on you better check out the code on
github
_____________________________________________
https://github.com/kremalicious/kremalicious3
_____________________________________________
-->
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta charset="utf-8">
<title>
2013-11-21 22:33:40 +01:00
{% if paginator.previous_page %}
Page {{ paginator.page }} &brvbar; {{ page.title }}
2013-11-21 22:33:40 +01:00
{% elsif page.path contains '_posts' %}
{{ page.title }} &brvbar; {{ site.name }}
2013-11-21 22:33:40 +01:00
{% else %}
{{ page.title }} &brvbar; {{ site.description }}
{% endif %}
2013-11-21 22:33:40 +01:00
</title>
{% if page.description %}
<meta name="description" content="{{ page.description }}">
{% else %}
<meta name="description" content="{{ site.description }}" />
{% endif %}
2013-12-01 14:57:38 +01:00
<meta name="author" content="{{ site.author }}">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
2013-11-22 00:35:07 +01:00
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="cleartype" content="on">
2013-12-01 14:57:38 +01:00
{% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %}
<link rel="canonical" href="{{ canonical | append: '/' }}">
2013-12-01 14:57:38 +01:00
<link rel="stylesheet" href="/assets/css/kremalicious3.min.css">
{% if page.style %}
<link rel="stylesheet" href="/assets/css/{{ page.style }}">
{% endif %}
<script src="/assets/js/picturefill.min.js" async></script>
2013-11-23 21:53:52 +01:00
<script data-cfasync="false" src="//use.typekit.com/msu4qap.js"></script>
<script data-cfasync="false">try{Typekit.load();}catch(e){}</script>
2013-11-23 21:53:52 +01:00
{% if paginator %}
<script>
var total = {{ paginator.total_pages }};
</script>
{% endif %}
2013-12-01 14:57:38 +01:00
<!-- Twitter Cards -->
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@kremaliciouscom">
<meta name="twitter:creator" content="@kremalicious">
{% if page.title %}
<meta name="twitter:title" content="{{ page.title }}">
{% else %}
<meta name="twitter:title" content="{{ site.title }}">
{% endif %}
{% if page.url %}
<meta name="twitter:url" content="{{ site.url }}{{ page.url }}">
{% endif %}
{% if page.description %}
<meta name="twitter:description" content="{{ page.description }}">
{% else %}
<meta name="twitter:description" content="{{ site.description }}">
{% endif %}
{% if page.image %}
<meta name="twitter:image:src" content="{{ site.url }}/media/{{ page.image }}">
{% else %}
<!-- <meta name="twitter:image:src" content="{{ site.url }}/media/logo.png"> -->
{% endif %}
</head>