foo.be/_includes/head.html

65 lines
2.9 KiB
HTML
Raw Permalink Normal View History

2015-12-04 00:12:42 +00:00
<head>
2015-12-03 01:59:10 +00:00
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
2016-05-05 13:11:53 +00:00
<!-- Meta Meta Tags / The Open Graph protocol -->
<meta property="og:site_name" content="{{ site.title }}">
{% if page.title %}
<meta property="og:title" content="{{ page.title }}">
{% else %}
<meta property="og:title" content="{{ site.title }}">
{% endif %}
{% if page.title %}
<meta content="article" property="og:type">
{% else %}
<meta content="website" property="og:type">
{% endif %}
{% if page.description %}
<meta property="og:description" content="{{ page.description }}">
{% else %}
<meta property="og:description" content="{{ site.description }}">
{% endif %}
{% if page.url %}
<meta property="og:url" content="{{ site.url }}{{ page.url }}">
{% endif %}
{% if page.date %}
<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}">
<meta property="article:author" content="{{ site.url }}/about/">
{% endif %}
{% if page.image %}
<meta property="og:image" content="{{ site.url }}/assets/img/posts/{{ page.image }}">
{% else %}
<meta property="og:image" content="{{ site.url }}/assets/notebook_52041203272_5070f094ae_w.jpg">
{% endif %}
{% if page.categories %}
{% for category in page.categories limit:1 %}
<meta property="article:section" content="{{ category }}">
{% endfor %}
{% endif %}
{% if page.tags %}
{% for tag in page.tags %}
<meta property="article:tag" content="{{ tag }}">
{% endfor %}
{% endif %}
<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta property="twitter:domain" content="foo.be">
<meta property="twitter:url" content="https://foo.be">
<meta name="twitter:title" content="Alexandre Dulaunoy">
<meta name="twitter:description" content="Personal webpage of Alexandre Dulaunoy - from information security to open source and art">
<meta name="twitter:image" content="https://www.foo.be/assets/notebook_52041203272_5070f094ae_w.jpg">
2016-05-05 13:11:53 +00:00
<link href='https://fonts.googleapis.com/css?family=Titillium+Web' rel='stylesheet' type='text/css'>
<!-- <link href='https://fonts.googleapis.com/css?family=Roboto:400,400italic,700|Roboto+Mono:400,500' rel='stylesheet' type='text/css'> -->
2015-12-03 01:59:10 +00:00
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="{{ "/css/main.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 }}">
2015-12-03 01:59:10 +00:00
</head>