mirror of
https://github.com/ipdb/website.git
synced 2024-11-15 01:34:49 +01:00
63 lines
2.3 KiB
HTML
63 lines
2.3 KiB
HTML
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
|
||
|
<!-- Dynamic meta title -->
|
||
|
<title>
|
||
|
{% if page.title %}
|
||
|
{{ page.title }} {{ site.title }}
|
||
|
{% else %}
|
||
|
{{ site.title }} {{ site.description }}
|
||
|
{% endif %}
|
||
|
</title>
|
||
|
|
||
|
<!-- Dynamic meta description -->
|
||
|
{% if page.description %}
|
||
|
<meta name="description" content="{{ page.description }}">
|
||
|
{% elsif page.front_page %}
|
||
|
<meta name="description" content="{{ site.description }}">
|
||
|
{% else %}
|
||
|
<meta name="description" content="{{ page.excerpt | strip_html | strip_newlines }}" />
|
||
|
{% endif %}
|
||
|
|
||
|
<!-- Mobile meta stuff -->
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||
|
<meta name="HandheldFriendly" content="True">
|
||
|
<meta name="MobileOptimized" content="320">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
<meta http-equiv="cleartype" content="on">
|
||
|
|
||
|
<!-- CSS -->
|
||
|
<link rel="stylesheet" href="/assets/css/ipdb.min.css">
|
||
|
|
||
|
{% if page.css %}
|
||
|
<link rel="stylesheet" href="/assets/css/{{ page.css }}.min.css">
|
||
|
{% endif %}
|
||
|
|
||
|
<!-- Canonical URL -->
|
||
|
<link rel="canonical" href="{{ site.url }}{{ page.url | replace:'index.html','' }}">
|
||
|
|
||
|
<!-- Apple -->
|
||
|
<meta name="apple-mobile-web-app-title" content="{{ site.title }}">
|
||
|
|
||
|
<!-- Touch Icons -->
|
||
|
<link rel="apple-touch-icon" href="/assets/img/touch-icon.png">
|
||
|
<link rel="icon" type="image/png" href="/assets/img/touch-icon.png" sizes="192x192">
|
||
|
<link rel="icon" type="image/png" href="/assets/img/favicon.png" sizes="32x32">
|
||
|
<link rel="icon" type="image/png" href="/assets/img/favicon.png" sizes="16x16">
|
||
|
<link rel="mask-icon" href="/assets/img/favicon-glyph.svg" color="#ec008c">
|
||
|
|
||
|
<!-- Win 8/8.1 -->
|
||
|
<meta name="msapplication-TileImage" content="{{ site.url }}/assets/img/touch-icon.png"/>
|
||
|
<meta name="msapplication-TileColor" content="#161d21"/>
|
||
|
|
||
|
<!-- Android Lollipop theme color -->
|
||
|
<meta name="theme-color" content="#ec008c">
|
||
|
|
||
|
<!-- Prevent search indexing for some pages or non-production builds -->
|
||
|
{% if jekyll.environment != 'production' or page.sitemap == false %}
|
||
|
<meta name="robots" content="noindex, nofollow">
|
||
|
{% endif %}
|
||
|
<meta name="robots" content="noindex, nofollow">
|
||
|
|
||
|
</head>
|