yab 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +37 -11
  3. data/_includes/nav.html +1 -1
  4. data/lib/version.rb +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1b6205015ea9dabe9f210e91235dd949241af8ec
4
- data.tar.gz: a0a8653d4299006097f02e04026601b6b8c88f61
3
+ metadata.gz: 27233d6811f080083e69602d0586f1c50377308a
4
+ data.tar.gz: 2fe838b18b2c18930017e36ad4a6a5b5a0f46fa0
5
5
  SHA512:
6
- metadata.gz: a24960a2c00c77d7216c670307272ddeb5a751a941ebd18b9fb43d0100caedea98e88b9b6f0540135d6f2a12578516d574d85453acc7ccb2a3a593c6b598f179
7
- data.tar.gz: 59774eb66700fd8006bbaba34391105fd302c9da3e3e25f0b2625aa0d934bed7f61e0a1419c755a4550e8c42a1ac7ff058cb8d0e4a1ed620ae37002d4256cd06
6
+ metadata.gz: f8eea1350321cf36b1e7b489329bd4cc88167b1ea84f3f040e9b0135dcb8ca79eb0b032a464c3d7af60a304f69d299892bfdd0f2917a3435e2c000a0686c88aa
7
+ data.tar.gz: 6ce1b81e497893f8647a3080ea058a72ea5d2b8098b5578957e81bbade708885935717d29824f7eb41471b9370347cf374cdef7a06d283efe0dc467a5d8cc5d3
data/README.md CHANGED
@@ -5,6 +5,25 @@
5
5
  Yab is Yet Another (Jekyll) Bootstrap theme. Its style is similar to Jekyll Bootstrap.
6
6
  In fact, Jekyll Bootstrap isn't compatible with latest Jekyll, so I make this theme.
7
7
 
8
+ ## Features
9
+
10
+ ### Now (0.3.1)
11
+
12
+ * Categories page
13
+ * Archives page
14
+ * Tags page
15
+ * Subtitle (tagline)
16
+ * Friend links
17
+ * Google Analytics
18
+ * Disqus
19
+
20
+ ### Comming soon
21
+
22
+ * **Quickly deploy to GitHub Pages repository (auto-copy)**
23
+ * More comments services
24
+ * Posts pagination
25
+ * Internationalization (i18n) support
26
+
8
27
  ## Installation
9
28
 
10
29
  Add this line to your Jekyll site's Gemfile:
@@ -13,7 +32,7 @@ Add this line to your Jekyll site's Gemfile:
13
32
  gem "yab"
14
33
  ```
15
34
 
16
- And add this line to your Jekyll site's `_config.yml`:
35
+ And add these lines to your Jekyll site's `_config.yml`:
17
36
 
18
37
  ```yaml
19
38
  theme: yab
@@ -42,6 +61,19 @@ At last, create (or update if already exists) the CSS entrypoint at site source
42
61
 
43
62
  ## Usage
44
63
 
64
+ Some tips, make things easier:
65
+ * `site.url` doesn't end with `/`
66
+ * Single `/` for `site.baseurl` is NOT recommended, use `` (bland) instead.
67
+
68
+ ### Enabling feed (via jekyll-feed)
69
+
70
+ To enable it, add the following lines to your Jekyll site: (even if you want use default path)
71
+
72
+ ```yaml
73
+ feed:
74
+ path: feed.xml
75
+ ```
76
+
45
77
  ### Enabling comments (via Disqus)
46
78
 
47
79
  Optionally, if you have a Disqus account, you can tell Jekyll to use it to show a comments section below each post.
@@ -49,8 +81,8 @@ Optionally, if you have a Disqus account, you can tell Jekyll to use it to show
49
81
  To enable it, add the following lines to your Jekyll site:
50
82
 
51
83
  ```yaml
52
- disqus:
53
- shortname: my_disqus_shortname
84
+ disqus:
85
+ shortname: my_disqus_shortname
54
86
  ```
55
87
 
56
88
  You can find out more about Disqus' shortnames [here](https://help.disqus.com/customer/portal/articles/466208).
@@ -66,16 +98,10 @@ If you don't want to display comments for a particular post you can disable them
66
98
  To enable Google Anaytics, add the following lines to your Jekyll site:
67
99
 
68
100
  ```yaml
69
- google_analytics: UA-NNNNNNNN-N
101
+ google_analytics: UA-NNNNNNNN-N
70
102
  ```
71
103
 
72
- Google Analytics will only appear in production, i.e., `JEKYLL_ENV=production`
73
-
74
- ## Coming features
75
-
76
- * **Quickly deploy to GitHub Pages repository (auto-copy)**
77
- * Posts pagination
78
- * Internationalization (i18n) support
104
+ Google Analytics will only appear in production, i.e., `JEKYLL_ENV=production`
79
105
 
80
106
  ## Contributing
81
107
 
@@ -1,7 +1,7 @@
1
1
  <nav class="navbar navbar-default">
2
2
  <div class="container-fluid">
3
3
  <div class="navbar-header">
4
- <a class="navbar-brand" style="font-size:175%;" href="{{ site.baseurl | prepend: site.url }}">{{ site.title }}</a>
4
+ <a class="navbar-brand" style="font-size:175%;" href="{{ site.baseurl | prepend: '/' }}">{{ site.title }}</a>
5
5
  </div>
6
6
  <ul class="nav navbar-nav navbar-right">
7
7
  {% for node in site.pages %}
@@ -1,3 +1,3 @@
1
1
  module Yab
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Li
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-08 00:00:00.000000000 Z
11
+ date: 2016-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll