jekyll-category-pages 1.1.0 → 1.1.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.
- checksums.yaml +4 -4
- data/LICENSE +2 -2
- data/README.md +18 -4
- data/lib/jekyll-category-pages.rb +3 -3
- data/lib/jekyll-category-pages/version.rb +4 -4
- data/lib/jekyll/category_pages.rb +3 -3
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ec0cba5d790d94746c2385dfb1459b1a98744db99c325b55026cd6d2d25ea55a
|
|
4
|
+
data.tar.gz: 21c41d59243940eb1b69990f6cd9cc9f1d8db9ff2054a7d67bf55671273495d4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a36f3cbd9d3745365a15f0ae72bd2fdfab74e11b8d496b895e4ee2c51383c03bb0cd7f856ac358eb813aded73c94d1a07980025ec1cd7b3cee2ce8602a8758f3
|
|
7
|
+
data.tar.gz: '060288fce419eaa422821d30976cd720d1ebab55c58b59bea4eb6ecd4009f60d50a4aa8e2b3bb58a0b52facc2b9e9cd30815f00fa34d7ac6a0e0b709f247a234'
|
data/LICENSE
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) since 2017 by
|
|
4
|
-
Written by
|
|
3
|
+
Copyright (c) since 2017 by Wolfram Schroers
|
|
4
|
+
Written by Wolfram Schroers <Wolfram.Schroers -at- field-theory.org>
|
|
5
5
|
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
7
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
|
@@ -70,9 +70,15 @@ Installation is straightforward (like other plugins):
|
|
|
70
70
|
plugins:
|
|
71
71
|
- jekyll-category-pages
|
|
72
72
|
```
|
|
73
|
-
3.
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
3. This step is optional, but recommended: Also add this line to
|
|
74
|
+
`_config.yml` which excludes categories from file URLs (they are
|
|
75
|
+
ugly and don't work properly in Jekyll, anyways):
|
|
76
|
+
```ruby
|
|
77
|
+
permalink: /:year/:month/:day/:title:output_ext
|
|
78
|
+
```
|
|
79
|
+
4. Configure any other options you need (see below).
|
|
80
|
+
5. Add template for category pages (see below).
|
|
81
|
+
6. Set appropriate `categories` tags on each blog post YAML front
|
|
76
82
|
matter.
|
|
77
83
|
|
|
78
84
|
### Configuration
|
|
@@ -187,8 +193,16 @@ bundle exec rake build
|
|
|
187
193
|
The result is put in the current directory after all tests have been
|
|
188
194
|
run.
|
|
189
195
|
|
|
196
|
+
## Gotchas
|
|
197
|
+
|
|
198
|
+
The following issues and limitations are known:
|
|
199
|
+
* Jekyll currently does not properly escape special HTML entities
|
|
200
|
+
(like `&` or `<`) in permalink paths. Because of that you cannot use
|
|
201
|
+
them in category names. If you still want to use them you need to
|
|
202
|
+
adjust the `permalink` path as shown above -- it must not contain
|
|
203
|
+
category names.
|
|
204
|
+
|
|
190
205
|
## License
|
|
191
206
|
|
|
192
207
|
The gem is available as open source under the terms of the [MIT
|
|
193
208
|
License](https://github.com/field-theory/jekyll-category-pages/blob/master/LICENSE).
|
|
194
|
-
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
|
-
# Copyright: Since 2017
|
|
2
|
+
# Copyright: Since 2017 Wolfram Schroers - MIT License
|
|
3
3
|
# Encoding: utf-8
|
|
4
4
|
|
|
5
5
|
#
|
|
6
6
|
# category_pages
|
|
7
7
|
# Add category index pages with and without pagination.
|
|
8
8
|
#
|
|
9
|
-
# (c) since 2017 by
|
|
10
|
-
# Written by Dr. Wolfram Schroers <Wolfram.Schroers -at-
|
|
9
|
+
# (c) since 2017 by Wolfram Schroers
|
|
10
|
+
# Written by Dr. Wolfram Schroers <Wolfram.Schroers -at- field-theory.org>
|
|
11
11
|
#
|
|
12
12
|
# See the accompanying file LICENSE for licensing conditions.
|
|
13
13
|
#
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
|
-
# Copyright: Since 2017
|
|
2
|
+
# Copyright: Since 2017 Wolfram Schroers - MIT License
|
|
3
3
|
# Encoding: utf-8
|
|
4
4
|
|
|
5
5
|
#
|
|
6
6
|
# jekyll-category-pages
|
|
7
7
|
# Add category index pages with and without pagination.
|
|
8
8
|
#
|
|
9
|
-
# (c) since 2017 by
|
|
10
|
-
# Written by Dr. Wolfram Schroers <Wolfram.Schroers -at-
|
|
9
|
+
# (c) since 2017 by Wolfram Schroers
|
|
10
|
+
# Written by Dr. Wolfram Schroers <Wolfram.Schroers -at- field-theory.org>
|
|
11
11
|
#
|
|
12
12
|
# See the accompanying file LICENSE for licensing conditions.
|
|
13
13
|
#
|
|
14
14
|
|
|
15
15
|
module Jekyll
|
|
16
16
|
module CategoryPages
|
|
17
|
-
VERSION = "1.1.
|
|
17
|
+
VERSION = "1.1.1".freeze
|
|
18
18
|
end
|
|
19
19
|
end
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
# category_pages
|
|
6
6
|
# Add category index pages with and without pagination.
|
|
7
7
|
#
|
|
8
|
-
# (c) since 2017 by
|
|
9
|
-
# Written by Dr. Wolfram Schroers <Wolfram.Schroers -at-
|
|
8
|
+
# (c) since 2017 by Wolfram Schroers
|
|
9
|
+
# Written by Dr. Wolfram Schroers <Wolfram.Schroers -at- field-theory.org>
|
|
10
10
|
#
|
|
11
|
-
# Copyright: Since 2017
|
|
11
|
+
# Copyright: Since 2017 Wolfram Schroers - MIT License
|
|
12
12
|
# See the accompanying file LICENSE for licensing conditions.
|
|
13
13
|
#
|
|
14
14
|
|
metadata
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-category-pages
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dr. Wolfram Schroers
|
|
8
|
-
- Tamanguu GmbH & Co KG
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 2020-03-28 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: jekyll
|
|
@@ -66,7 +65,7 @@ description: |
|
|
|
66
65
|
|
|
67
66
|
Please refer to the README.md file on the project homepage at
|
|
68
67
|
https://github.com/field-theory/jekyll-category-pages
|
|
69
|
-
email: Wolfram.Schroers@
|
|
68
|
+
email: Wolfram.Schroers@field-theory.org
|
|
70
69
|
executables: []
|
|
71
70
|
extensions: []
|
|
72
71
|
extra_rdoc_files: []
|