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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 11d6969649b8c4bb0c1f73d601096775be6cb590
4
- data.tar.gz: e363b3a55f0837a766089b7a92993fb50cf1b342
3
+ metadata.gz: 39b1db183c6ee0ad5575d8b52d52eb13cb617b35
4
+ data.tar.gz: c218475e76e6a11369b69816b1bdadba5749947b
5
5
  SHA512:
6
- metadata.gz: e517a13c1f3565512a412acf7457d47cd41fe83fc74c42a71805cf2442e9f325cf61cf43da58de79d4d42210d73038204081c0c643cb8bd795063a1c4e026c29
7
- data.tar.gz: e7c5676ca68da8a9582364608541c73b172c4acf2ca530ca41efb0e5f68840f90493d19706486db20fba2a746d95b18f5bccef58fbcbd3aef5aba1254c84894a
6
+ metadata.gz: aac8e4e63647e380dc677e15ac259919423125447849cb790396fd44d8b6bb9d26fe4078f624f22053d6734f72f2d1527e4685fcdb6b73fa0d1354183a9cfab5
7
+ data.tar.gz: f9e7d76730181a1b46bc495a2b7565a9a61be2f972ec38156cb0b075c597348cace469db64bdcf397523880bf45dd10ab0be81d39e893c1ea9e44ff1e11ea834
data/README.md CHANGED
@@ -1,11 +1,17 @@
1
- # cyclist
1
+ # Cyclist
2
2
 
3
- Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
3
+ Cyclist is a Jekyll theme. It uses [Raster](https://github.com/robenkleene/raster) to construct a layout using typographic grid.
4
4
 
5
- To experiment with this code, add some sample content and run `bundle exec jekyll serve` this directory is setup just like a Jekyll site!
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
- TODO: Delete this and the text above, and describe your gem
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
@@ -1,6 +1,8 @@
1
1
 
2
2
  <head>
3
3
  <meta charset="utf-8">
4
+ {% feed_meta %}
5
+
6
+ {% seo %}
4
7
  <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
5
- <!-- <script src="/vendor/raster/dist/raster.js"></script> -->
6
8
  </head>
@@ -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 class="raster-show-baseline">
5
- <div id="grid" class="raster-show-guidelines">
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
- {%- if site.show_excerpts -%}
29
+
30
+ {% if site.show_excerpts -%}
30
31
  {{ post.excerpt }}
31
- {%- endif -%}
32
- {%- if site.show_contents -%}
32
+ {%- endif -%}
33
+ {%- if site.show_contents -%}
33
34
  {{ post.content }}
34
- {%- endif -%}
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
- {{ content }}
18
+ {{ content }}
19
19
 
20
20
  </article>
21
21
  </section>
data/_layouts/page.html CHANGED
@@ -8,7 +8,7 @@ layout: default
8
8
  <h1>{{ page.title | escape }}</h1>
9
9
  </header>
10
10
 
11
- {{ content }}
11
+ {{ content }}
12
12
 
13
13
  </article>
14
14
  </section>
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
- {{ content }}
18
+ {{ content }}
19
19
 
20
20
  </article>
21
21
  </section>
data/_sass/layout.scss CHANGED
@@ -78,3 +78,8 @@ pre {
78
78
  hr {
79
79
  display: none;
80
80
  }
81
+
82
+ article.page img {
83
+ max-width: 100%;
84
+ vertical-align: middle;
85
+ }
@@ -37,7 +37,7 @@ article.link h3,
37
37
  article h4,
38
38
  article h5,
39
39
  article h6 {
40
- font-size: $font-size + 1;
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 - 2;
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 - 1;
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.2.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-03-19 00:00:00.000000000 Z
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: bundler
28
+ name: jekyll-feed
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.16'
34
- type: :development
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: '1.16'
40
+ version: '0.9'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rake
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: '12.0'
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: '12.0'
68
+ version: '1.16'
55
69
  description:
56
70
  email:
57
71
  - contact@robenkleene.com