forked from Phlow/feeling-responsive
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_head.html
More file actions
74 lines (57 loc) · 3.32 KB
/
Copy path_head.html
File metadata and controls
74 lines (57 loc) · 3.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{% comment %}
#
# Liquid variables are created at the top to keep the source DRY and clean.
#
# Variables › {{ url }} › site.url + site.baseurl
#
{% endcomment %}
{% assign url = site.baseurl | prepend: site.url %}
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="{{ url }}/assets/css/styles_feeling_responsive.css">
{% if site.asciidoctor-enabled == true %}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.0/css/font-awesome.min.css">
{% endif %}
<script src="{{ url }}/assets/js/modernizr.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1.5.18/webfont.js"></script>
<script>
WebFont.load({
google: {
families: [ 'Lato:400,700,400italic:latin', 'Volkhov::latin' ]
}
});
</script>
<noscript>
<link href='http://fonts.googleapis.com/css?family=Lato:400,700,400italic%7CVolkhov' rel='stylesheet' type='text/css'>
</noscript>
<!-- Search Engine Optimization -->
{% if page.noindex == true or layout.noindex == true %}<meta name="robots" content="noindex">{% endif %}
{% seo %}
{% comment %} TODO: Refactor when https://github.com/jekyll/jekyll-seo-tag/pull/148 lands in 2.2.0 {% endcomment %}
{% if site.bing_webmastertools_id %}<meta name="msvalidate.01" content="{{ site.bing_webmastertools_id }}" >{% endif %}
{% if site.yandex_site_verification %}<meta name="yandex-verification" content="{{ site.yandex_site_verification }}">{% endif %}
{% if site.alexa_verify_id %}<meta name="alexaVerifyID" content="{{ site.alexa_verify_id }}">{% endif %}
{% comment %} TODO: Refactor image usage for jekyll-seo-tag {% endcomment %}
{% if page.image.title %}<meta property="og:image" content="{{ site.urlimg }}{{ page.image.title }}">{% endif %}
{% if page.image.title %}<meta name="twitter:image" content="{{ site.urlimg }}{{ page.image.title }}">{% endif %}
{% assign seo_author = page.author | default: page.authors[0] | default: site.author %}
{% if site.data.authors[seo_author] %}
{% assign seo_author_name = site.data.authors[seo_author].name %}
{% assign seo_author_google_plus_url = site.data.authors[seo_author].google_plus_url %}
{% assign seo_author_facebook_user = site.data.authors[seo_author].facebook %}
{% endif %}
{% comment %} TODO: Refactor when https://github.com/jekyll/jekyll-seo-tag/issues/96 is resolved {% endcomment %}
{% if seo_author_name %}<meta name="author" content="{{ seo_author_name }}" />{% endif %}
{% if seo_author_google_plus_url %}<link rel="author" href="{{ seo_author_google_plus_url }}">{% endif %}
{% comment %} TODO: Refactor when https://github.com/jekyll/jekyll-seo-tag/issues/155 is resolved {% endcomment %}
{% if seo_author_facebook_user %}<meta property="article:author" content="https://www.facebook.com/{{ seo_author_facebook_user }}">{% endif %}
<link type="text/plain" rel="author" href="{{ url}}/humans.txt">
{% if page.mediaplayer == true %}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="{{ url }}/assets/mediaelement_js/mediaelement-and-player.min.js"></script>
<link rel="stylesheet" href="{{ url }}/assets/mediaelement_js/mediaelementplayer.min.css">
{% endif %}
{% include _favicon.html %}
{% unless page.style == NULL %}
<style type="text/css">{{ page.style }}</style>
{% endunless %}