kaschber 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +37 -0
  3. data/_layouts/post.html +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf18f059b40be51da4194926e98dc040a3875f70a76c95dbf262d609e25fa19a
4
- data.tar.gz: 7df8ec512c8cc4bc15eeb0c987e9b70677218518e7e3c5dc1709aedf4ec2341a
3
+ metadata.gz: a88f803ee2cb5efd65c2e8a0d76683f37ab1d3baf7c7065f926dddcf075e9b54
4
+ data.tar.gz: da0ddb14e62a2fb03586cf2da827c6d87206ffdd2f6474ee23b6bade35a50ce5
5
5
  SHA512:
6
- metadata.gz: 4e7eea72545fff885d44aa0a55f99de965149bd59e6fdcfff06d6cdb26e25de41985b73f93909fae6b58a59539c044a6c93005e31522f2f02858f1101f46d38e
7
- data.tar.gz: e2edc698ec406a5c8d345fcd69ddfcaddec0dabf68382d0f59a6f09103e4795f4f218ea84ad29d42a95dc61ddca7801295368e5788c41253c18f698f669a32f0
6
+ metadata.gz: 27e4cdf7c9ace009056bd40f4034ff71fa1d534a18f6c25450b6a2afdad21243a0850d4924cd95897f00aab0c141437bed942ddc24646644e0d283492fcffc8d
7
+ data.tar.gz: 62e5aa2bce543d27b0caf204ac8cefac0301162b2ae9fea2fd5c4136dae5def413073e4b5aae73747e2c22447a65354694044452a3610700b0abceeba17073bc
data/README.md CHANGED
@@ -60,6 +60,7 @@ You can specifiy these additional customisation options per post or in the defau
60
60
  |-------------------------|-------------------|-----------------------------------|
61
61
  | show_recent_posts_footer | True | True, False |
62
62
  | post_image_style | Wide | Wide, Full, Small, Hidden |
63
+ | custom_excerpt | "" | <Your custom excerpt shown on the page and the post card> |
63
64
 
64
65
  Kaschber also features several points to inject your custom code into the template. You can create
65
66
  - `_includes/custom-head.html` to include custom css or any other tags which get rendered in the head section
@@ -81,6 +82,24 @@ cover: False
81
82
  ---
82
83
  ```
83
84
 
85
+ Then include the following Jekyll config in your `_config.yml`
86
+ ```
87
+ collections:
88
+ authors:
89
+ output: true
90
+
91
+ defaults:
92
+ - scope:
93
+ path: ""
94
+ type: "authors"
95
+ values:
96
+ layout: author
97
+ current: author
98
+ cover: false
99
+ class: 'author-template'
100
+ label: Author
101
+ ```
102
+
84
103
  ## Tags
85
104
  To create tags specifically, create a folder `_tags` and insert your tags there as markdown or html file. E.g.
86
105
  ```
@@ -89,6 +108,24 @@ description: Some of the greatest words ever spoken.
89
108
  cover: assets/images/speeches.jpg
90
109
  ```
91
110
 
111
+ Then include the following Jekyll config in your `_config.yml`
112
+ ```
113
+ collections:
114
+ tags:
115
+ output: true
116
+
117
+ defaults:
118
+ - scope:
119
+ path: ""
120
+ type: "tags"
121
+ values:
122
+ layout: tag
123
+ current: tag
124
+ cover: false
125
+ class: 'tag-template'
126
+ label: Tag
127
+ ```
128
+
92
129
  # Contribute
93
130
  If you would like to contribute, please keep the files as closely as possible to the original Ghost handlebar files. This will make maintenance easier. This is also the reason why the files haven't been really broken down into smaller parts.
94
131
 
data/_layouts/post.html CHANGED
@@ -107,7 +107,7 @@ disqus: false
107
107
  </section>
108
108
  </main>
109
109
 
110
- {% if page.show_recent_posts_footer %}
110
+ {% if page.show_recent_posts_footer != false %}
111
111
 
112
112
  {% assign posts = paginator.posts | default: site.posts | where_exp: "item", "item.id != page.id" %}
113
113
  {% if posts %}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kaschber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''