cyclist 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -21
- data/_includes/head.html +3 -1
- data/_layouts/default.html +2 -2
- data/_layouts/home.html +6 -5
- data/_layouts/link.html +2 -2
- data/_layouts/page.html +1 -1
- data/_layouts/post.html +2 -2
- data/_sass/layout.scss +5 -0
- data/_sass/typography.scss +4 -3
- metadata +23 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39b1db183c6ee0ad5575d8b52d52eb13cb617b35
|
4
|
+
data.tar.gz: c218475e76e6a11369b69816b1bdadba5749947b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aac8e4e63647e380dc677e15ac259919423125447849cb790396fd44d8b6bb9d26fe4078f624f22053d6734f72f2d1527e4685fcdb6b73fa0d1354183a9cfab5
|
7
|
+
data.tar.gz: f9e7d76730181a1b46bc495a2b7565a9a61be2f972ec38156cb0b075c597348cace469db64bdcf397523880bf45dd10ab0be81d39e893c1ea9e44ff1e11ea834
|
data/README.md
CHANGED
@@ -1,11 +1,17 @@
|
|
1
|
-
#
|
1
|
+
# Cyclist
|
2
2
|
|
3
|
-
|
3
|
+
Cyclist is a Jekyll theme. It uses [Raster](https://github.com/robenkleene/raster) to construct a layout using typographic grid.
|
4
4
|
|
5
|
-
|
5
|
+
The typefaces are [Playfair Display][playfair] for headers, [Crimson][crimson] for body copy, [Lato][lato] for block quotes, and [Fira Mono][fira] for code. All of them are free software under the [SIL Open Font License](https://en.wikipedia.org/wiki/SIL_Open_Font_License). Thank you for everyone's hard work on free typography.
|
6
6
|
|
7
|
-
|
7
|
+
[playfair]: https://github.com/clauseggers/Playfair-Display "Playfair Display"
|
8
|
+
[lato]: https://github.com/betsol/lato-font "Lato"
|
9
|
+
[crimson]: https://github.com/skosch/Crimson "Crimson"
|
10
|
+
[fira]: https://github.com/mozilla/Fira "Fira"
|
8
11
|
|
12
|
+
![Cyclist Grid](cyclist-grid.png)
|
13
|
+
|
14
|
+
![Cyclist](cyclist.png)
|
9
15
|
|
10
16
|
## Installation
|
11
17
|
|
@@ -29,23 +35,6 @@ Or install it yourself as:
|
|
29
35
|
|
30
36
|
$ gem install cyclist
|
31
37
|
|
32
|
-
## Usage
|
33
|
-
|
34
|
-
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
|
35
|
-
|
36
|
-
## Contributing
|
37
|
-
|
38
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
39
|
-
|
40
|
-
## Development
|
41
|
-
|
42
|
-
To set up your environment to develop this theme, run `bundle install`.
|
43
|
-
|
44
|
-
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
45
|
-
|
46
|
-
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
47
|
-
To add a custom directory to your theme-gem, please edit the regexp in `cyclist.gemspec` accordingly.
|
48
|
-
|
49
38
|
## License
|
50
39
|
|
51
40
|
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/_includes/head.html
CHANGED
data/_layouts/default.html
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
3
3
|
{% include head.html %}
|
4
|
-
<body
|
5
|
-
<div id="grid"
|
4
|
+
<body>
|
5
|
+
<div id="grid">
|
6
6
|
{% include header.html %}
|
7
7
|
<main>
|
8
8
|
{{ content }}
|
data/_layouts/home.html
CHANGED
@@ -18,7 +18,7 @@ layout: default
|
|
18
18
|
<hr>
|
19
19
|
{% endif %}
|
20
20
|
{% if current_date != post.date %}
|
21
|
-
<h2 class="post-date"><time>{{ post.date | date: date_format }}</time></h2>
|
21
|
+
<h2 class="post-date"><time datetime="{{ post.date | date: "%Y-%m-%d" }}">{{ post.date | date: date_format }}</time></h2>
|
22
22
|
{% endif %}
|
23
23
|
{%- assign current_date = post.date %}
|
24
24
|
|
@@ -26,12 +26,13 @@ layout: default
|
|
26
26
|
<header>
|
27
27
|
<h1><a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a></h1>
|
28
28
|
</header>
|
29
|
-
|
29
|
+
|
30
|
+
{% if site.show_excerpts -%}
|
30
31
|
{{ post.excerpt }}
|
31
|
-
|
32
|
-
|
32
|
+
{%- endif -%}
|
33
|
+
{%- if site.show_contents -%}
|
33
34
|
{{ post.content }}
|
34
|
-
|
35
|
+
{%- endif %}
|
35
36
|
</article>
|
36
37
|
{%- endfor %}
|
37
38
|
|
data/_layouts/link.html
CHANGED
@@ -5,7 +5,7 @@ layout: default
|
|
5
5
|
<section id="post">
|
6
6
|
<article class="link">
|
7
7
|
<header>
|
8
|
-
<time>
|
8
|
+
<time datetime="{{ post.date | date: "%Y-%m-%d" }}">
|
9
9
|
{%- assign date_format = site.cyclist.date_format | default: "%A, %b %-d, %Y" -%}
|
10
10
|
{{- page.date | date: date_format -}}
|
11
11
|
</time>
|
@@ -15,7 +15,7 @@ layout: default
|
|
15
15
|
{%- endif %}
|
16
16
|
</header>
|
17
17
|
|
18
|
-
|
18
|
+
{{ content }}
|
19
19
|
|
20
20
|
</article>
|
21
21
|
</section>
|
data/_layouts/page.html
CHANGED
data/_layouts/post.html
CHANGED
@@ -5,7 +5,7 @@ layout: default
|
|
5
5
|
<section id="post">
|
6
6
|
<article class="post">
|
7
7
|
<header>
|
8
|
-
<time>
|
8
|
+
<time datetime="{{ post.date | date: "%Y-%m-%d" }}">
|
9
9
|
{%- assign date_format = site.cyclist.date_format | default: "%A, %b %-d, %Y" -%}
|
10
10
|
{{- page.date | date: date_format -}}
|
11
11
|
</time>
|
@@ -15,7 +15,7 @@ layout: default
|
|
15
15
|
{%- endif %}
|
16
16
|
</header>
|
17
17
|
|
18
|
-
|
18
|
+
{{ content }}
|
19
19
|
|
20
20
|
</article>
|
21
21
|
</section>
|
data/_sass/layout.scss
CHANGED
data/_sass/typography.scss
CHANGED
@@ -37,7 +37,7 @@ article.link h3,
|
|
37
37
|
article h4,
|
38
38
|
article h5,
|
39
39
|
article h6 {
|
40
|
-
font-size: $font-size +
|
40
|
+
font-size: $font-size + 2;
|
41
41
|
margin-bottom: 0;
|
42
42
|
}
|
43
43
|
|
@@ -69,12 +69,13 @@ code {
|
|
69
69
|
}
|
70
70
|
|
71
71
|
pre code {
|
72
|
-
font-size: $font-size -
|
72
|
+
font-size: $font-size - 3;
|
73
|
+
display: block;
|
73
74
|
}
|
74
75
|
|
75
76
|
code {
|
76
77
|
color: #555;
|
77
|
-
font-size: $font-size -
|
78
|
+
font-size: $font-size - 3;
|
78
79
|
}
|
79
80
|
|
80
81
|
blockquote {
|
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.3.0
|
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-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -25,33 +25,47 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.7'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: jekyll-feed
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
34
|
-
type: :
|
33
|
+
version: '0.9'
|
34
|
+
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '0.9'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: jekyll-seo-tag
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '2.1'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.1'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.16'
|
48
62
|
type: :development
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
66
|
- - "~>"
|
53
67
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
68
|
+
version: '1.16'
|
55
69
|
description:
|
56
70
|
email:
|
57
71
|
- contact@robenkleene.com
|