cyclist 0.6.0 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/_includes/head.html +1 -0
- data/_layouts/archive.html +33 -0
- data/_layouts/home.html +2 -1
- data/_sass/fira-mono.scss +2 -2
- data/_sass/layout.scss +16 -0
- data/_sass/typography.scss +11 -6
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 901c7dc12a7d965d8e7603dfe75810d8597179c0d831624edc07cce59526c43a
|
4
|
+
data.tar.gz: c9b6e97701ddbcca20631705f0447546e52a23c5a5323705ae9a2f81c7e0ca5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15f7d9abfa010bb5aaf5e2d57bc8a32f031528dc36c1e4d3bd0ded217ed2d7d2b96f9cd0f5d4b70e2f6167f6843c8c75ecbab78b95542e65922bc5c41cf7673b
|
7
|
+
data.tar.gz: a54bd0c4fc563451ae4aaceb67b93c6980b6e7e1f4e49acb89f66da9782701996998d99b1406f93319c975e5727fb2c7d505c92fa9dce4284127a4a364a4883c
|
data/_includes/head.html
CHANGED
@@ -0,0 +1,33 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{%- if page.title %}
|
6
|
+
<header id="page-title">
|
7
|
+
<h1>{{ page.title }}</h1>
|
8
|
+
</header>
|
9
|
+
{%- endif -%}
|
10
|
+
{{ content }}
|
11
|
+
|
12
|
+
{%- if site.posts.size > 0 %}
|
13
|
+
<section id="archive">
|
14
|
+
|
15
|
+
{%- assign date_format = site.cyclist.date_format | default: "%b, %Y" -%}
|
16
|
+
{%- for post in site.posts %}
|
17
|
+
{% assign post_date = post.date | date: date_format -%}
|
18
|
+
{% if current_date != post_date and current_date %}
|
19
|
+
</ul>
|
20
|
+
{% endif -%}
|
21
|
+
{%- if current_date != post_date %}
|
22
|
+
<h2 class="post-date"><time datetime="{{ post.date | date: "%Y-%m" }}">{{ post_date }}</time></h2>
|
23
|
+
{% assign current_date = post_date -%}
|
24
|
+
<ul>
|
25
|
+
{%- endif %}
|
26
|
+
<li class="{{ post.layout | default: "Post" }}">
|
27
|
+
<h1><a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a></h1>
|
28
|
+
</li>
|
29
|
+
{% endfor %}
|
30
|
+
</ul>
|
31
|
+
|
32
|
+
</section>
|
33
|
+
{% endif -%}
|
data/_layouts/home.html
CHANGED
@@ -13,7 +13,8 @@ layout: default
|
|
13
13
|
<section id="posts">
|
14
14
|
|
15
15
|
{%- assign date_format = site.cyclist.date_format | default: "%A, %b %-d, %Y" -%}
|
16
|
-
{%-
|
16
|
+
{%- assign posts_limit = site.posts_limit | default: "20" %}
|
17
|
+
{%- for post in site.posts limit: posts_limit %}
|
17
18
|
{% if current_date != post.date and current_date %}
|
18
19
|
<hr>
|
19
20
|
{% endif %}
|
data/_sass/fira-mono.scss
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
@font-face {
|
2
2
|
font-family: 'Fira Mono';
|
3
|
-
src: url("fonts/fira-mono/FiraMono-Regular.
|
3
|
+
src: url("fonts/fira-mono/FiraMono-Regular.woff2") format("woff2"), url("fonts/fira-mono/FiraMono-Regular.woff") format("woff");
|
4
4
|
font-weight: 400;
|
5
5
|
font-style: normal;
|
6
6
|
}
|
7
7
|
|
8
8
|
@font-face {
|
9
9
|
font-family: 'Fira Mono';
|
10
|
-
src: url("fonts/fira-mono/FiraMono-Bold.
|
10
|
+
src: url("fonts/fira-mono/FiraMono-Bold.woff2") format("woff2"), url("fonts/fira-mono/FiraMono-Bold.woff") format("woff");
|
11
11
|
font-weight: 600;
|
12
12
|
font-style: normal;
|
13
13
|
}
|
data/_sass/layout.scss
CHANGED
@@ -5,6 +5,12 @@ pre {
|
|
5
5
|
|
6
6
|
$main-width: columns-width(4);
|
7
7
|
|
8
|
+
html,
|
9
|
+
body {
|
10
|
+
max-width: 100%;
|
11
|
+
overflow-x: hidden;
|
12
|
+
}
|
13
|
+
|
8
14
|
div#grid {
|
9
15
|
margin: 0 auto;
|
10
16
|
padding: ($leading-height * 2) 0;
|
@@ -64,6 +70,16 @@ section#post header {
|
|
64
70
|
margin-bottom: $leading-height;
|
65
71
|
}
|
66
72
|
|
73
|
+
section#archive > ul {
|
74
|
+
margin-left: 0;
|
75
|
+
list-style: outside none none;
|
76
|
+
margin-bottom: $leading-height * 3;
|
77
|
+
}
|
78
|
+
|
79
|
+
section#archive > ul h1 {
|
80
|
+
margin-bottom: 0;
|
81
|
+
}
|
82
|
+
|
67
83
|
article header time,
|
68
84
|
h2.post-date {
|
69
85
|
line-height: $line-height;
|
data/_sass/typography.scss
CHANGED
@@ -19,24 +19,25 @@ h6 {
|
|
19
19
|
font-family: "Playfair Display", sans-serif;
|
20
20
|
}
|
21
21
|
|
22
|
-
|
22
|
+
h1 {
|
23
23
|
@include header($double-small-pica-ratio);
|
24
24
|
}
|
25
25
|
|
26
|
-
|
26
|
+
h2 {
|
27
27
|
@include header($great-primer-ratio);
|
28
28
|
}
|
29
29
|
|
30
|
-
|
30
|
+
h3 {
|
31
31
|
@include header($english-ratio);
|
32
32
|
}
|
33
33
|
|
34
|
-
|
35
|
-
|
36
|
-
|
34
|
+
.link h1,
|
35
|
+
.link h2,
|
36
|
+
.link h3,
|
37
37
|
article h4,
|
38
38
|
article h5,
|
39
39
|
article h6 {
|
40
|
+
line-height: $leading-height * 2;
|
40
41
|
font-size: $font-size + 2;
|
41
42
|
margin-bottom: 0;
|
42
43
|
}
|
@@ -49,6 +50,10 @@ h2.post-date {
|
|
49
50
|
font-family: "LatoWeb", Helvetica, Verdana, sans-serif;
|
50
51
|
}
|
51
52
|
|
53
|
+
header[role=banner] h1 {
|
54
|
+
@include header($double-great-primer-ratio);
|
55
|
+
}
|
56
|
+
|
52
57
|
header[role=banner] nav a {
|
53
58
|
font-weight: bold;
|
54
59
|
font-family: "LatoWeb", Helvetica, Verdana, sans-serif;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cyclist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roben Kleene
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -78,6 +78,7 @@ files:
|
|
78
78
|
- _includes/footer.html
|
79
79
|
- _includes/head.html
|
80
80
|
- _includes/header.html
|
81
|
+
- _layouts/archive.html
|
81
82
|
- _layouts/default.html
|
82
83
|
- _layouts/home.html
|
83
84
|
- _layouts/link.html
|
@@ -193,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
193
194
|
version: '0'
|
194
195
|
requirements: []
|
195
196
|
rubyforge_project:
|
196
|
-
rubygems_version: 2.6
|
197
|
+
rubygems_version: 2.7.6
|
197
198
|
signing_key:
|
198
199
|
specification_version: 4
|
199
200
|
summary: Bicycle for the mind.
|