2013-01-20 08:08:21 +00:00
|
|
|
{% if site.flattr_user %}
|
|
|
|
<script type="text/javascript">
|
|
|
|
/* <![CDATA[ */
|
|
|
|
(function() {
|
|
|
|
var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
|
|
|
|
s.type = 'text/javascript';
|
|
|
|
s.async = true;
|
|
|
|
s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
|
|
|
|
t.parentNode.insertBefore(s, t);
|
|
|
|
})();
|
|
|
|
/* ]]> */
|
|
|
|
</script>
|
2013-01-21 00:18:38 +00:00
|
|
|
|
|
|
|
{% include flattr_param.html %}
|
|
|
|
<link rel="payment" href="https://flattr.com/submit/auto?{{ flattr_param }}" type="text/html" />
|
2013-01-20 08:08:21 +00:00
|
|
|
{% endif %}
|
2013-02-04 22:50:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
{% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' }}{% endif %}{% endcapture %}
|
|
|
|
{% capture ogtype %}{% if page.title %}article{% else %}blog{% endif %}{% endcapture %}
|
|
|
|
|
|
|
|
<!-- twitter card -->
|
|
|
|
<meta name="twitter:card" content="summary">
|
|
|
|
<meta name="twitter:site" content="@Mic_92">
|
|
|
|
<meta name="twitter:creator" content="@Mic_92">
|
|
|
|
<meta name="twitter:title" content="{% if page.title %}{{ page.title }} - {% endif %}{{ site.title }}">
|
|
|
|
<meta name="twitter:url" content="{{ canonical }}">
|
|
|
|
<meta name="twitter:description" content="{{ description | strip_html | condense_spaces | truncate:150 }}">
|
|
|
|
|
|
|
|
<!-- open graph -->
|
|
|
|
<meta property="og:title" content="{% if page.title %}{{ page.title }} - {% endif %}{{ site.title }}"/>
|
|
|
|
<meta property="og:type" content="{{ ogtype }}"/>
|
|
|
|
<meta property="og:url" content="{{ canonical }}"/>
|
|
|
|
<meta property="og:site_name" content="Blog of Jörg Thalheim (~/git/blog)"/>
|
|
|
|
<meta property="og:description" content="{{ description | strip_html | condense_spaces | truncate:150 }}"/>
|