jekyll-theme-cayman-blog 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/404.md +10 -10
- data/LICENSE +116 -116
- data/README.md +203 -203
- data/_includes/site-header.html +38 -38
- data/_includes/social-metatags.html +36 -46
- data/_layouts/default.html +136 -136
- data/_layouts/home.html +30 -30
- data/_layouts/page.html +10 -10
- data/_layouts/post.html +25 -25
- data/_sass/blog.scss +48 -48
- data/_sass/blog/_base.scss +30 -30
- data/_sass/blog/_layout.scss +142 -142
- data/_sass/jekyll-theme-cayman-blog.scss +434 -434
- data/_sass/normalize.scss +424 -424
- data/_sass/rouge-github.scss +209 -209
- data/_sass/variables.scss +23 -23
- data/about.md +13 -13
- data/assets/css/style.scss +4 -4
- data/contact.md +9 -14
- data/index.md +17 -17
- metadata +21 -7
data/_includes/site-header.html
CHANGED
@@ -1,38 +1,38 @@
|
|
1
|
-
<header class="site-header" role="banner">
|
2
|
-
|
3
|
-
<div class="wrapper">
|
4
|
-
{% assign default_paths = site.pages | map: "path" %}
|
5
|
-
{% assign page_paths = site.header_pages | default: default_paths %}
|
6
|
-
|
7
|
-
{% if page.layout != 'home' %}
|
8
|
-
<a class="site-title" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
|
9
|
-
{% endif %}
|
10
|
-
|
11
|
-
{% if page_paths %}
|
12
|
-
<nav class="site-nav">
|
13
|
-
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
|
14
|
-
<label for="nav-trigger">
|
15
|
-
<span class="menu-icon">
|
16
|
-
<svg viewBox="0 0 18 15" width="18px" height="15px">
|
17
|
-
<path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
|
18
|
-
<path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
|
19
|
-
<path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
|
20
|
-
</svg>
|
21
|
-
</span>
|
22
|
-
</label>
|
23
|
-
|
24
|
-
<div class="trigger">
|
25
|
-
{% for path in page_paths %}
|
26
|
-
{% assign my_page = site.pages | where: "path", path | first %}
|
27
|
-
{% if my_page.title %}
|
28
|
-
{% if my_page.title contains "404" %}
|
29
|
-
{% else %}
|
30
|
-
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
31
|
-
{% endif %}
|
32
|
-
{% endif %}
|
33
|
-
{% endfor %}
|
34
|
-
</div>
|
35
|
-
</nav>
|
36
|
-
{% endif %}
|
37
|
-
</div>
|
38
|
-
</header>
|
1
|
+
<header class="site-header" role="banner">
|
2
|
+
|
3
|
+
<div class="wrapper">
|
4
|
+
{% assign default_paths = site.pages | map: "path" %}
|
5
|
+
{% assign page_paths = site.header_pages | default: default_paths %}
|
6
|
+
|
7
|
+
{% if page.layout != 'home' %}
|
8
|
+
<a class="site-title" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
|
9
|
+
{% endif %}
|
10
|
+
|
11
|
+
{% if page_paths %}
|
12
|
+
<nav class="site-nav">
|
13
|
+
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
|
14
|
+
<label for="nav-trigger">
|
15
|
+
<span class="menu-icon">
|
16
|
+
<svg viewBox="0 0 18 15" width="18px" height="15px">
|
17
|
+
<path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
|
18
|
+
<path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
|
19
|
+
<path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
|
20
|
+
</svg>
|
21
|
+
</span>
|
22
|
+
</label>
|
23
|
+
|
24
|
+
<div class="trigger">
|
25
|
+
{% for path in page_paths %}
|
26
|
+
{% assign my_page = site.pages | where: "path", path | first %}
|
27
|
+
{% if my_page.title %}
|
28
|
+
{% if my_page.title contains "404" %}
|
29
|
+
{% else %}
|
30
|
+
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
31
|
+
{% endif %}
|
32
|
+
{% endif %}
|
33
|
+
{% endfor %}
|
34
|
+
</div>
|
35
|
+
</nav>
|
36
|
+
{% endif %}
|
37
|
+
</div>
|
38
|
+
</header>
|
@@ -8,17 +8,15 @@
|
|
8
8
|
{% endif %}
|
9
9
|
|
10
10
|
|
11
|
-
{% if page.author
|
12
|
-
{% assign page_author = page.author | default: nil | escape %}
|
13
|
-
{% assign facebook_publisher = page.facebook.publisher | default: nil | escape %}
|
11
|
+
{% if page.author.name %}
|
12
|
+
{% assign page_author = page.author.name | default: nil | escape %}
|
14
13
|
{% assign twitter_creator = page.twitter.username | default: site.twitter.site | default: nil | escape %}
|
15
14
|
{% else %}
|
16
|
-
{% assign page_author = site.author | default: nil | escape %}
|
17
|
-
{% assign facebook_publisher = site.facebook.publisher | default: nil | escape %}
|
15
|
+
{% assign page_author = site.author.name | default: nil | escape %}
|
18
16
|
{% assign twitter_creator = site.twitter.username | default: nil | escape %}
|
19
17
|
{% endif %}
|
20
18
|
|
21
|
-
{% assign page_description = page.excerpt | default:
|
19
|
+
{% assign page_description = page.excerpt | default: page.tagline | default: site.description | strip_html | normalize_whitespace | truncate: 300 | escape %}
|
22
20
|
|
23
21
|
{%if page.image %}
|
24
22
|
{% assign page_image = site.url | append: site.baseurl | append: page.image %}
|
@@ -26,53 +24,52 @@
|
|
26
24
|
{% assign page_image = site.url | append: site.baseurl | append: site.image %}
|
27
25
|
{%endif %}
|
28
26
|
|
29
|
-
{% assign canonical_url = page.url | replace:'index.html','' |
|
27
|
+
{% assign canonical_url = page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url %}
|
30
28
|
|
31
29
|
<!-- Place this data between the <head> tags of your website -->
|
32
30
|
{%if page_author %}
|
33
|
-
<meta name="author" content="{{ page_author }}"
|
31
|
+
<meta name="author" content="{{ page_author }}" />
|
34
32
|
{%endif %}
|
35
33
|
<meta name="description" content="{{ page_description }}" />
|
36
|
-
{%if page.tags.
|
34
|
+
{%if page.tags.size > 0 %}
|
37
35
|
<meta name="keywords" itemprop="tags" content="{{ page.tags | join: ', ' | escape }}"/>
|
38
36
|
{%endif %}
|
39
37
|
{%if page.keywords %}
|
40
|
-
<meta name="keywords" itemprop="keywords" content="{{ page.keywords | escape }}"
|
38
|
+
<meta name="keywords" itemprop="keywords" content="{{ page.keywords | escape }}" />
|
41
39
|
{%endif %}
|
42
|
-
{%if page.categories.
|
43
|
-
<meta name="keywords" itemprop="categories" content="{{ page.categories | join: ', ' | escape }}"
|
40
|
+
{%if page.categories.size > 0 %}
|
41
|
+
<meta name="keywords" itemprop="categories" content="{{ page.categories | join: ', ' | escape }}" />
|
44
42
|
{%endif %}
|
45
43
|
{%if page.category %}
|
46
|
-
<meta name="keywords" itemprop="category" content="{{ category | escape }}"
|
44
|
+
<meta name="keywords" itemprop="category" content="{{ category | escape }}" />
|
47
45
|
{%endif %}
|
48
46
|
|
49
|
-
|
50
|
-
<meta itemprop="
|
51
|
-
<meta itemprop="description" content="{{ page_description }}">
|
47
|
+
<meta itemprop="name" content="{{ page_title }}" />
|
48
|
+
<meta itemprop="description" content="{{ page_description }}" />
|
52
49
|
{%if page_image %}
|
53
|
-
<meta itemprop="image" content="{{ page_image }}"
|
50
|
+
<meta itemprop="image" content="{{ page_image }}" />
|
54
51
|
{%endif %}
|
55
52
|
|
56
53
|
<!-- Twitter Card data -->
|
57
|
-
<meta name="twitter:card" content="summary_large_image"
|
54
|
+
<meta name="twitter:card" content="summary_large_image" />
|
58
55
|
|
59
56
|
{%if site.twitter.site %}
|
60
|
-
<meta name="twitter:site" content="@{{ site.twitter.site }}"
|
57
|
+
<meta name="twitter:site" content="@{{ site.twitter.site }}" />
|
61
58
|
{%endif %}
|
62
59
|
|
63
|
-
<meta name="twitter:title" content="{{ page_title }}"
|
64
|
-
<meta name="twitter:description" content="{{ page_description }}"
|
60
|
+
<meta name="twitter:title" content="{{ page_title }}" />
|
61
|
+
<meta name="twitter:description" content="{{ page_description }}" />
|
65
62
|
|
66
63
|
{%if twitter_creator %}
|
67
|
-
<meta name="twitter:creator" content="@{{ twitter_creator }}"
|
64
|
+
<meta name="twitter:creator" content="@{{ twitter_creator }}" />
|
68
65
|
{%endif %}
|
69
66
|
|
70
67
|
<!-- Twitter summary card with large image must be at least 280x150px -->
|
71
68
|
{%if page_image %}
|
72
|
-
<meta name="twitter:image:src" content="{{ page_image }}"
|
73
|
-
<meta
|
69
|
+
<meta name="twitter:image:src" content="{{ page_image }}" />
|
70
|
+
<meta name="twitter:image" content="{{ page_image }}" />
|
74
71
|
{%endif %}
|
75
|
-
<meta
|
72
|
+
<meta name="twitter:url" content="{{ canonical_url }}" />
|
76
73
|
|
77
74
|
<!-- Open Graph data -->
|
78
75
|
<meta property="og:title" content="{{ page_title }}" />
|
@@ -83,48 +80,41 @@
|
|
83
80
|
{%endif %}
|
84
81
|
<meta property="og:description" content="{{ page_description }}" />
|
85
82
|
<meta property="og:site_name" content="{{ site.title }}" />
|
83
|
+
|
84
|
+
{% if page-lang == "en" %}
|
85
|
+
{% assign page-lang-country = "en_US" %}
|
86
|
+
{% elsif page-lang == "it" %}
|
87
|
+
{% assign page-lang-country = "it_IT" %}
|
88
|
+
{% endif %}
|
89
|
+
<meta property="og:locale" content="{{ page-lang-country }}" />
|
90
|
+
|
86
91
|
{%if page.date %}
|
87
92
|
<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}" />
|
88
93
|
{%endif %}
|
89
94
|
{%if page.modified_date %}
|
90
|
-
|
91
|
-
{
|
92
|
-
|
93
|
-
{%if site.facebook.admins %}
|
94
|
-
<meta property="fb:admins" content="{{ site.facebook.admins }}" />
|
95
|
-
{%endif %}
|
96
|
-
|
97
|
-
{%if site.facebook.app_id %}
|
98
|
-
<meta property="fb:app_id" content="{{ site.facebook.app_id }}">
|
99
|
-
{%endif %}
|
100
|
-
|
101
|
-
{%if site.facebook.profile_id %}
|
102
|
-
<meta property="fb:profile_id" content="{{ site.facebook.profile_id }}">
|
103
|
-
{%endif %}
|
104
|
-
|
105
|
-
{%if facebook_publisher %}
|
106
|
-
<meta property="article:author" content="https://www.facebook.com/{{ facebook_publisher }}">
|
95
|
+
<meta property="og:updated_time" content="{{ page.modified_date | date_to_xmlschema }}" />
|
96
|
+
<meta property="article:modified_time" content="{{ page.modified_date | date_to_xmlschema }}" />
|
107
97
|
{%endif %}
|
108
98
|
|
109
99
|
{%if page.tags %}
|
110
100
|
{% for tag in page.tags %}
|
111
|
-
<meta property="article:tag" content="{{ tag | escape }}"
|
101
|
+
<meta property="article:tag" content="{{ tag | escape }}" />
|
112
102
|
{% endfor %}
|
113
103
|
{%endif %}
|
114
104
|
|
115
105
|
{%if page.keywords %}
|
116
106
|
{% assign keywordsList = page.keywords | split:', ' %}
|
117
107
|
{% for keyword in keywordsList %}
|
118
|
-
<meta property="article:tag" content="{{ keyword | escape }}"
|
108
|
+
<meta property="article:tag" content="{{ keyword | escape }}" />
|
119
109
|
{% endfor %}
|
120
110
|
{%endif %}
|
121
111
|
|
122
112
|
{%if page.categories %}
|
123
113
|
{% for category in page.categories %}
|
124
|
-
<meta property="article:tag" content="{{ category | escape }}"
|
114
|
+
<meta property="article:tag" content="{{ category | escape }}" />
|
125
115
|
{% endfor %}
|
126
116
|
{%endif %}
|
127
117
|
|
128
118
|
{%if page.category %}
|
129
|
-
<meta property="article:tag" content="{{ category | escape }}"
|
119
|
+
<meta property="article:tag" content="{{ category | escape }}" />
|
130
120
|
{%endif %}
|
data/_layouts/default.html
CHANGED
@@ -1,136 +1,136 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
3
|
-
|
4
|
-
<head>
|
5
|
-
|
6
|
-
<!-- Non social metatags -->
|
7
|
-
<meta charset="utf-8">
|
8
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
9
|
-
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
10
|
-
<meta name="theme-color" content="#157878">
|
11
|
-
|
12
|
-
{% if page.title %}
|
13
|
-
{% assign page-title = page.title | escape %}
|
14
|
-
{% else %}
|
15
|
-
{% assign page-title = site.title | escape %}
|
16
|
-
{% endif %}
|
17
|
-
|
18
|
-
<title>{{ page-title }}</title>
|
19
|
-
|
20
|
-
{% if site.gems contains "jekyll-seo-tag" %}
|
21
|
-
<!-- jekyll-seo-tag -->
|
22
|
-
{% else %}
|
23
|
-
{% include social-metatags.html %}
|
24
|
-
{% endif %}
|
25
|
-
|
26
|
-
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
|
27
|
-
|
28
|
-
{% if site.gems contains "jekyll-feed" %}
|
29
|
-
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
|
30
|
-
{% endif %}
|
31
|
-
|
32
|
-
<link rel="shortcut icon" href="{{ site.url }}/favicon.ico">
|
33
|
-
<meta name="robots" content="noarchive">
|
34
|
-
|
35
|
-
<!-- <link rel="alternate" media="only screen and (max-width: 640px)" href="">
|
36
|
-
<link rel="alternate" media="handheld" href=""> -->
|
37
|
-
|
38
|
-
|
39
|
-
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
|
40
|
-
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
|
41
|
-
</head>
|
42
|
-
<body>
|
43
|
-
|
44
|
-
{% include site-header.html %}
|
45
|
-
|
46
|
-
{% if page.layout == 'home' %}
|
47
|
-
{% assign page-tagline = site.description | default: site.github.project_tagline | escape %}
|
48
|
-
{% endif %}
|
49
|
-
{% if page.layout == 'page' %}
|
50
|
-
{% assign page-tagline = page.tagline | escape %}
|
51
|
-
{% endif %}
|
52
|
-
{% if page.layout == 'post' %}
|
53
|
-
{% assign page-tagline = page.tagline | escape %}
|
54
|
-
{% endif %}
|
55
|
-
|
56
|
-
<section class="page-header">
|
57
|
-
<h1 class="project-name">{{ page-title }}</h1>
|
58
|
-
<h2 class="project-tagline">{{ page-tagline }}</h2>
|
59
|
-
{% if page.layout == 'home' and site.github.is_project_page %}
|
60
|
-
<a href="{{ site.github.repository_url }}" class="btn">View on GitHub</a>
|
61
|
-
{% if site.show_downloads %}
|
62
|
-
<a href="{{ site.github.zip_url }}" class="btn">Download .zip</a>
|
63
|
-
<a href="{{ site.github.tar_url }}" class="btn">Download .tar.gz</a>
|
64
|
-
{% endif %}
|
65
|
-
{% endif %}
|
66
|
-
<!-- Post tagline -->
|
67
|
-
{% if page.layout == 'post' %}
|
68
|
-
<h2 class="project-date">
|
69
|
-
<time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
70
|
-
{% assign date_format = site.cayman-blog.date_format | default: "%b %-d, %Y" %}
|
71
|
-
{{ page.date | date: date_format }}
|
72
|
-
</time>
|
73
|
-
{% assign page_author = page.author | default: site.author | default: nil | escape %}
|
74
|
-
{% if page_author %}
|
75
|
-
• <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page_author }}</span></span>
|
76
|
-
{% endif %}
|
77
|
-
</h2>
|
78
|
-
{% endif %}
|
79
|
-
<!-- End: Post tagline -->
|
80
|
-
</section>
|
81
|
-
|
82
|
-
<section class="main-content">
|
83
|
-
|
84
|
-
{{ content }}
|
85
|
-
|
86
|
-
<footer class="site-footer">
|
87
|
-
<!-- SVG icons from https://iconmonstr.com -->
|
88
|
-
|
89
|
-
<!-- Github icon -->
|
90
|
-
<span class="my-span-icon">
|
91
|
-
<a href="{{ site.github.owner_url }}" aria-label="{{ site.github.owner_name }}'s GitHub" title="{{ site.github.owner_name }}'s GitHub">
|
92
|
-
<svg class="my-svg-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/></svg>
|
93
|
-
</a>
|
94
|
-
</span>
|
95
|
-
|
96
|
-
<!-- Twitter icon -->
|
97
|
-
<span class="my-span-icon">
|
98
|
-
<a href="https://twitter.com/{{ site.twitter.username }}" aria-label="{{ site.github.owner_name }}'s Twitter" title="{{ site.github.owner_name }}'s Twitter">
|
99
|
-
<svg class="my-svg-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm6.066 9.645c.183 4.04-2.83 8.544-8.164 8.544-1.622 0-3.131-.476-4.402-1.291 1.524.18 3.045-.244 4.252-1.189-1.256-.023-2.317-.854-2.684-1.995.451.086.895.061 1.298-.049-1.381-.278-2.335-1.522-2.304-2.853.388.215.83.344 1.301.359-1.279-.855-1.641-2.544-.889-3.835 1.416 1.738 3.533 2.881 5.92 3.001-.419-1.796.944-3.527 2.799-3.527.825 0 1.572.349 2.096.907.654-.128 1.27-.368 1.824-.697-.215.671-.67 1.233-1.263 1.589.581-.07 1.135-.224 1.649-.453-.384.578-.87 1.084-1.433 1.489z"/></svg>
|
100
|
-
</a>
|
101
|
-
</span>
|
102
|
-
|
103
|
-
<!-- RSS icon -->
|
104
|
-
{% if site.gems contains "jekyll-feed" %}
|
105
|
-
<span class="my-span-icon">
|
106
|
-
<a href="{{ "/feed.xml" | relative_url }}" aria-label="RSS feed" title="{{ site.github.owner_name }}'s RSS feed">
|
107
|
-
<svg class="my-svg-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm-3.374 17c-.897 0-1.626-.727-1.626-1.624s.729-1.624 1.626-1.624 1.626.727 1.626 1.624-.729 1.624-1.626 1.624zm3.885 0c-.03-3.022-2.485-5.474-5.511-5.504v-2.406c4.361.03 7.889 3.555 7.92 7.91h-2.409zm4.081 0c-.016-5.297-4.303-9.571-9.592-9.594v-2.406c6.623.023 11.985 5.384 12 12h-2.408z"/></svg>
|
108
|
-
</a>
|
109
|
-
</span>
|
110
|
-
{% endif %}
|
111
|
-
<!-- Contact icon -->
|
112
|
-
{% assign about_page = site.pages | where: "path", "about.md" | first %}
|
113
|
-
{% if about_page.title %}
|
114
|
-
<span class="my-span-icon">
|
115
|
-
<a href="{{ about_page.url | relative_url }}" aria-label="Contact" title="Contact {{ site.github.owner_name }}">
|
116
|
-
<svg class="my-svg-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 .02c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm6.99 6.98l-6.99 5.666-6.991-5.666h13.981zm.01 10h-14v-8.505l7 5.673 7-5.672v8.504z"/></svg>
|
117
|
-
</a>
|
118
|
-
</span>
|
119
|
-
{% endif %}
|
120
|
-
|
121
|
-
</footer>
|
122
|
-
</section>
|
123
|
-
|
124
|
-
{% if site.google_analytics %}
|
125
|
-
<script type="text/javascript">
|
126
|
-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
127
|
-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
128
|
-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
129
|
-
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
130
|
-
|
131
|
-
ga('create', '{{ site.google_analytics }}', 'auto');
|
132
|
-
ga('send', 'pageview');
|
133
|
-
</script>
|
134
|
-
{% endif %}
|
135
|
-
</body>
|
136
|
-
</html>
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
3
|
+
|
4
|
+
<head>
|
5
|
+
|
6
|
+
<!-- Non social metatags -->
|
7
|
+
<meta charset="utf-8">
|
8
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
9
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
10
|
+
<meta name="theme-color" content="#157878">
|
11
|
+
|
12
|
+
{% if page.title %}
|
13
|
+
{% assign page-title = page.title | escape %}
|
14
|
+
{% else %}
|
15
|
+
{% assign page-title = site.title | escape %}
|
16
|
+
{% endif %}
|
17
|
+
|
18
|
+
<title>{{ page-title }}</title>
|
19
|
+
|
20
|
+
{% if site.gems contains "jekyll-seo-tag" %}
|
21
|
+
<!-- jekyll-seo-tag -->
|
22
|
+
{% else %}
|
23
|
+
{% include social-metatags.html %}
|
24
|
+
{% endif %}
|
25
|
+
|
26
|
+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
|
27
|
+
|
28
|
+
{% if site.gems contains "jekyll-feed" %}
|
29
|
+
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
|
30
|
+
{% endif %}
|
31
|
+
|
32
|
+
<link rel="shortcut icon" href="{{ site.url }}/favicon.ico">
|
33
|
+
<meta name="robots" content="noarchive">
|
34
|
+
|
35
|
+
<!-- <link rel="alternate" media="only screen and (max-width: 640px)" href="">
|
36
|
+
<link rel="alternate" media="handheld" href=""> -->
|
37
|
+
|
38
|
+
|
39
|
+
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
|
40
|
+
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
|
41
|
+
</head>
|
42
|
+
<body>
|
43
|
+
|
44
|
+
{% include site-header.html %}
|
45
|
+
|
46
|
+
{% if page.layout == 'home' %}
|
47
|
+
{% assign page-tagline = site.description | default: site.github.project_tagline | escape %}
|
48
|
+
{% endif %}
|
49
|
+
{% if page.layout == 'page' %}
|
50
|
+
{% assign page-tagline = page.tagline | escape %}
|
51
|
+
{% endif %}
|
52
|
+
{% if page.layout == 'post' %}
|
53
|
+
{% assign page-tagline = page.tagline | escape %}
|
54
|
+
{% endif %}
|
55
|
+
|
56
|
+
<section class="page-header">
|
57
|
+
<h1 class="project-name">{{ page-title }}</h1>
|
58
|
+
<h2 class="project-tagline">{{ page-tagline }}</h2>
|
59
|
+
{% if page.layout == 'home' and site.github.is_project_page %}
|
60
|
+
<a href="{{ site.github.repository_url }}" class="btn">View on GitHub</a>
|
61
|
+
{% if site.show_downloads %}
|
62
|
+
<a href="{{ site.github.zip_url }}" class="btn">Download .zip</a>
|
63
|
+
<a href="{{ site.github.tar_url }}" class="btn">Download .tar.gz</a>
|
64
|
+
{% endif %}
|
65
|
+
{% endif %}
|
66
|
+
<!-- Post tagline -->
|
67
|
+
{% if page.layout == 'post' %}
|
68
|
+
<h2 class="project-date">
|
69
|
+
<time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
70
|
+
{% assign date_format = site.cayman-blog.date_format | default: "%b %-d, %Y" %}
|
71
|
+
{{ page.date | date: date_format }}
|
72
|
+
</time>
|
73
|
+
{% assign page_author = page.author | default: site.author | default: nil | escape %}
|
74
|
+
{% if page_author %}
|
75
|
+
• <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page_author }}</span></span>
|
76
|
+
{% endif %}
|
77
|
+
</h2>
|
78
|
+
{% endif %}
|
79
|
+
<!-- End: Post tagline -->
|
80
|
+
</section>
|
81
|
+
|
82
|
+
<section class="main-content">
|
83
|
+
|
84
|
+
{{ content }}
|
85
|
+
|
86
|
+
<footer class="site-footer">
|
87
|
+
<!-- SVG icons from https://iconmonstr.com -->
|
88
|
+
|
89
|
+
<!-- Github icon -->
|
90
|
+
<span class="my-span-icon">
|
91
|
+
<a href="{{ site.github.owner_url }}" aria-label="{{ site.github.owner_name }}'s GitHub" title="{{ site.github.owner_name }}'s GitHub">
|
92
|
+
<svg class="my-svg-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/></svg>
|
93
|
+
</a>
|
94
|
+
</span>
|
95
|
+
|
96
|
+
<!-- Twitter icon -->
|
97
|
+
<span class="my-span-icon">
|
98
|
+
<a href="https://twitter.com/{{ site.twitter.username }}" aria-label="{{ site.github.owner_name }}'s Twitter" title="{{ site.github.owner_name }}'s Twitter">
|
99
|
+
<svg class="my-svg-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm6.066 9.645c.183 4.04-2.83 8.544-8.164 8.544-1.622 0-3.131-.476-4.402-1.291 1.524.18 3.045-.244 4.252-1.189-1.256-.023-2.317-.854-2.684-1.995.451.086.895.061 1.298-.049-1.381-.278-2.335-1.522-2.304-2.853.388.215.83.344 1.301.359-1.279-.855-1.641-2.544-.889-3.835 1.416 1.738 3.533 2.881 5.92 3.001-.419-1.796.944-3.527 2.799-3.527.825 0 1.572.349 2.096.907.654-.128 1.27-.368 1.824-.697-.215.671-.67 1.233-1.263 1.589.581-.07 1.135-.224 1.649-.453-.384.578-.87 1.084-1.433 1.489z"/></svg>
|
100
|
+
</a>
|
101
|
+
</span>
|
102
|
+
|
103
|
+
<!-- RSS icon -->
|
104
|
+
{% if site.gems contains "jekyll-feed" %}
|
105
|
+
<span class="my-span-icon">
|
106
|
+
<a href="{{ "/feed.xml" | relative_url }}" aria-label="RSS feed" title="{{ site.github.owner_name }}'s RSS feed">
|
107
|
+
<svg class="my-svg-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm-3.374 17c-.897 0-1.626-.727-1.626-1.624s.729-1.624 1.626-1.624 1.626.727 1.626 1.624-.729 1.624-1.626 1.624zm3.885 0c-.03-3.022-2.485-5.474-5.511-5.504v-2.406c4.361.03 7.889 3.555 7.92 7.91h-2.409zm4.081 0c-.016-5.297-4.303-9.571-9.592-9.594v-2.406c6.623.023 11.985 5.384 12 12h-2.408z"/></svg>
|
108
|
+
</a>
|
109
|
+
</span>
|
110
|
+
{% endif %}
|
111
|
+
<!-- Contact icon -->
|
112
|
+
{% assign about_page = site.pages | where: "path", "about.md" | first %}
|
113
|
+
{% if about_page.title %}
|
114
|
+
<span class="my-span-icon">
|
115
|
+
<a href="{{ about_page.url | relative_url }}" aria-label="Contact" title="Contact {{ site.github.owner_name }}">
|
116
|
+
<svg class="my-svg-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 .02c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm6.99 6.98l-6.99 5.666-6.991-5.666h13.981zm.01 10h-14v-8.505l7 5.673 7-5.672v8.504z"/></svg>
|
117
|
+
</a>
|
118
|
+
</span>
|
119
|
+
{% endif %}
|
120
|
+
|
121
|
+
</footer>
|
122
|
+
</section>
|
123
|
+
|
124
|
+
{% if site.google_analytics %}
|
125
|
+
<script type="text/javascript">
|
126
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
127
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
128
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
129
|
+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
130
|
+
|
131
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
132
|
+
ga('send', 'pageview');
|
133
|
+
</script>
|
134
|
+
{% endif %}
|
135
|
+
</body>
|
136
|
+
</html>
|