popov.link/_includes/head.html

46 lines
3.1 KiB
HTML
Raw Normal View History

2018-01-06 15:12:53 +03:00
<head>
2018-04-18 01:10:57 +03:00
<!-- Meta tags -->
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1, shrink-to-fit=no, width=device-width" />
2018-04-18 01:10:57 +03:00
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="canonical" href="{{ page.url | absolute_url | uri_escape }}" />
2018-04-18 01:10:57 +03:00
<link rel="profile" href="http://gmpg.org/xfn/11" />
<!-- Advanced meta tags -->
{% for tag in site.data.meta_tags %}
<meta name="{{ tag.name | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}"
content="{{ tag.content | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}" />
{% endfor %}
2018-04-18 01:10:57 +03:00
<!-- Open Graph -->
<meta property="og:title" content="{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}" />
<meta property="og:description" content="{{ page.description | default: site.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | truncate: 100 | xml_escape }}" />
<meta property="og:type" content="{{ page.layout | replace: 'post', 'article' | replace: 'page', 'website' | default: 'website' }}" />
<meta property="og:image" content="{{ page.image | absolute_url | uri_escape }}" />
<meta property="og:url" content="{{ page.url | absolute_url | uri_escape }}" />
2018-04-18 01:10:57 +03:00
<!-- Title / Description -->
<meta name="application-name" content="{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}" />
<meta name="description" content="{{ page.description | default: site.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | truncate: 100 | xml_escape }}" />
<title>{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | truncate: 64 | xml_escape }}</title>
2018-04-18 01:10:57 +03:00
<!-- CSS -->
<link rel="stylesheet" href="{{ '/assets/css/styles.css' | relative_url | uri_escape }}" />
2018-04-18 01:10:57 +03:00
<!-- Favicon -->
<link rel="apple-touch-icon" sizes="180x180" href="{{ '/assets/apple-touch-icon.png' | relative_url | uri_escape }}" />
<link rel="icon" type="image/png" sizes="16x16" href="{{ '/assets/favicon-16x16.png' | relative_url | uri_escape }}" />
<link rel="icon" type="image/png" sizes="32x32" href="{{ '/assets/favicon-32x32.png' | relative_url | uri_escape }}" />
<!-- RSS -->
<link rel="alternate" type="application/atom+xml" title="RSS" href="{{ site.rss | relative_url | uri_escape }}" />
<!--[if lte IE 9]>
<script defer type="text/javascript" src="{{ '/assets/javascript/html5shiv-3.7.3.min.js' | relative_url | uri_escape }}"></script>
<script defer type="text/javascript" src="{{ '/assets/javascript/respond-1.4.2.min.js' | relative_url | uri_escape }}"></script>
<![endif]-->
<!-- JavaScript -->
<script defer type="text/javascript" src="{{ '/assets/javascript/jquery-1.12.4.min.js' | relative_url | uri_escape }}"></script>
<script defer type="text/javascript" src="{{ '/assets/javascript/bootstrap-3.3.7.min.js' | relative_url | uri_escape }}"></script>
</head>