sparrow-jekyll-theme 0.1.0 → 0.1.1

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: 7349aca7e9f1506bb304f59683e0eae8a184dc77
4
- data.tar.gz: aec4bdbb31e5c3d94064087c2e0b67f4ea029750
3
+ metadata.gz: 4095ddcf4e38f5fec08d8b9d9edf44b7cd135a77
4
+ data.tar.gz: b215e8c038a30942a5b9ce4c0733b02eb1d476eb
5
5
  SHA512:
6
- metadata.gz: 9d3bd5b460d489a8001ae5b5e8bf8970c6a1db54f1846dc593d9fe9693cb037d5fdbe86f8e8d05cd85e7a13b166ca85e35630dfef7fceb2d7c852c458effa064
7
- data.tar.gz: 1f548527d6d1384c8f1683e3fda87f340a65f07877f62945c3c793842bbe4e56a07b49b5ab102c95a0cb3c848cc901b13d3b8b3332922277ed9b48a63f0a0e78
6
+ metadata.gz: 2e953f08eaea325094cda06b91461dc32830f8b66a2cf4c71bd1d7e598937648794bbc889ed1b24d5447937872eb3d9dead036f05e590e46301fc92e66b61661
7
+ data.tar.gz: fcfdf82955532d1a8a806e53cd45608a5ceab415a0f4096510f657c6d093e8e1b5d45245b3065cd2fd5c8ca295c7f564178b832e24b920087a56b5a42ca16717
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Sparrow
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/sparrow-jekyll-theme.svg)](https://badge.fury.io/rb/sparrow-jekyll-theme)
4
+
3
5
  A clean minimal Jekyll theme for writers.
4
6
 
5
7
  [Live Demo](http://theconfused.me/sparrow)
@@ -43,6 +45,20 @@ In Chinese there's a saying that goes 麻雀虽小,五脏俱全。It roughly t
43
45
 
44
46
  Just fork this repo and replace the posts with your own. Also rename the sample poetry collection to replace it with your own collection, or just delete it if you don't need to use collections. The example is poetry, but you can easily revamp this into essays, short stories, portfolio, or whatever your creative work is.
45
47
 
48
+ OR you can also install this theme as a theme gem. To do that, add to your Gemfile:
49
+
50
+ ```ruby
51
+ gem "sparrow-jekyll-theme"
52
+ ```
53
+
54
+ And add this line site's `_config.yml`:
55
+
56
+ ```yaml
57
+ theme: sparrow-jekyll-theme
58
+ ```
59
+
60
+ And then do `bundle install`.
61
+
46
62
  To run your site locally, do `bundle exec jekyll serve`.
47
63
 
48
64
  For customization, see below.
@@ -196,7 +196,7 @@
196
196
 
197
197
  .site__name {
198
198
  margin: 0;
199
- font-family: $header-font-family;
199
+ font-family: $fancy-font-family;
200
200
  font-size: $type-size-2;
201
201
  }
202
202
 
data/_sass/_page.scss CHANGED
@@ -39,6 +39,7 @@
39
39
  font-size: $type-size-1;
40
40
  margin-bottom: 0;
41
41
  color: $theme-color;
42
+ font-family: $fancy-font-family;
42
43
 
43
44
  & + .page__meta {
44
45
  margin-top: -0.5em;
@@ -7,10 +7,11 @@
7
7
  ========================================================================== */
8
8
 
9
9
  $heebo : Heebo, "Hiragino Sans GB", "WenQuanYi Micro Hei", "Microsoft YaHei Light", sans-serif;
10
- $gochi-hand : Gochi Hand, "Hiragino Sans GB", "WenQuanYi Micro Hei", "Microsoft YaHei", sans-serif;
10
+ $gochi-hand : Gochi Hand, "Hiragino Sans GB", "WenQuanYi Micro Hei", "Microsoft YaHei", sans-serif;
11
11
 
12
12
  $global-font-family : $heebo !default;
13
- $header-font-family : $gochi-hand !default;
13
+ $header-font-family : $heebo !default;
14
+ $fancy-font-family : $gochi-hand !default;
14
15
  $caption-font-family : $heebo !default;
15
16
  $monospace : Monaco, Consolas, "Lucida Console", monospace !default;
16
17
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sparrow-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lingyi Hu