1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-25 19:34:48 +01:00

head refinements

This commit is contained in:
Matthias Kretschmann 2013-12-11 22:56:01 +01:00
parent 6d3a2f9ff0
commit f50a0ae69f

View File

@ -52,19 +52,29 @@
<meta name="MobileOptimized" content="320"> <meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="cleartype" content="on"> <meta http-equiv="cleartype" content="on">
{% 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: '/' }}">
<link rel="stylesheet" href="/assets/css/kremalicious3.min.css"> <link rel="stylesheet" href="/assets/css/kremalicious3.min.css">
{% if page.style %} {% if page.style %}
<link rel="stylesheet" href="/assets/css/{{ page.style }}"> <link rel="stylesheet" href="/assets/css/{{ page.style }}">
{% endif %} {% endif %}
<script src="/assets/js/picturefill.min.js" async></script> <!-- TypeKit -->
<script data-cfasync="false" src="//use.typekit.com/msu4qap.js"></script> <script data-cfasync="false" src="//use.typekit.com/msu4qap.js"></script>
<script data-cfasync="false">try{Typekit.load();}catch(e){}</script> <script data-cfasync="false">try{Typekit.load();}catch(e){}</script>
<!-- Picturefill -->
<script src="/assets/js/picturefill.min.js" async></script>
<!-- Canonical URL -->
{% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' }}{% endif %}{% endcapture %}
<link rel="canonical" href="{{ canonical }}">
<link rel="alternate" href="{{ site.url }}/feed/" type="application/rss+xml" title="Posts Feed"/>
<!-- Windows 8 Metro Tile Image -->
<meta name="msapplication-TileImage" content="{{ site.url }}/metro-tile.png"/>
<meta name="msapplication-TileColor" content="#015565"/>
{% if paginator %} {% if paginator %}
<script> <script>
@ -92,7 +102,7 @@
{% if page.image %} {% if page.image %}
<meta name="twitter:image:src" content="{{ site.url }}/media/{{ page.image }}"> <meta name="twitter:image:src" content="{{ site.url }}/media/{{ page.image }}">
{% else %} {% else %}
<!-- <meta name="twitter:image:src" content="{{ site.url }}/media/logo.png"> --> <meta name="twitter:image:src" content="{{ site.url }}/kremalicious1024.png">
{% endif %} {% endif %}
</head> </head>