mirror of
https://github.com/adulau/foo.be.git
synced 2024-11-23 10:17:05 +00:00
64 lines
2.9 KiB
HTML
Executable file
64 lines
2.9 KiB
HTML
Executable file
<head>
|
|
<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 %}">
|
|
|
|
<!-- 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">
|
|
|
|
<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'> -->
|
|
<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 }}">
|
|
|
|
</head>
|