jekyll-titles-from-headings 0.5.5 → 0.5.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 955034e1df713a566167abd154f673ed2bc3759f051d6199d670bf7886973ea7
4
- data.tar.gz: 94c3208f4c4e9e8f5702fa4c902373960c4cada83be5649bf445952fe8f7b6bb
3
+ metadata.gz: bbdb1fea9e8a0015176ae5bf46550c95575853214db3128e673dc8fc5fa0d2b8
4
+ data.tar.gz: 179e349eea8601dc2040d338848930fc6dac3c5b68e77b64b8e1489dd9c253bb
5
5
  SHA512:
6
- metadata.gz: e27b1c5fa717b155f102071d650fe276390c716e72ff0be49357ac8dc778269f3cb419727e8ae946ea450a841d671d1c4f7736b8cae6f3bdad875de0be505fb7
7
- data.tar.gz: e0db48aa27ff038d4d2378ae5e8ec179f216a305ec24191029828123797701ea643337cd3cee1e7004afe7a1a73bcc868e6e0e03fa01f21408394130aa817d9a
6
+ metadata.gz: e0d444c1a5ef0d8157d67bb5ef95fc623a0d8321f7df4f35d536bed44ce6dc2e43b029637a76b2ec779f08b89038481fbaf29d2a09ac17032f1dff2bf0b2e1f6
7
+ data.tar.gz: d4876d7f704874ef83ae63657da3f20d16f5d9263b83f041ee59d2a79a52d138768ee916721bf122ff8a1220a41bee42e58b0cc240b4a6cbef8bdad6121877f6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## Unreleased
4
+
5
+ ### Fixed
6
+
7
+ - With `strip_title: true`, the title is now also stripped from excerpts of
8
+ documents in collections other than `_posts` (#81, #82, @staticintlucas)
9
+
10
+ ## 0.5.6
11
+
12
+ Maintenance release: no runtime behavior changes.
13
+
14
+ ### Documentation
15
+
16
+ - Add a gemspec description and RubyGems metadata (homepage, source code,
17
+ bug tracker, and changelog links), and lead the README with the same
18
+ one-line description (#99)
19
+
3
20
  ## 0.5.5
4
21
 
5
22
  ### Bug fixes
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Jekyll Titles from Headings
2
2
 
3
- *A Jekyll plugin to pull the page title from the first Markdown heading when none is specified.*
3
+ *Jekyll plugin that sets page.title from the first Markdown heading when front matter has none. Supported on GitHub Pages.*
4
4
 
5
5
  [![CI](https://github.com/benbalter/jekyll-titles-from-headings/actions/workflows/ci.yml/badge.svg)](https://github.com/benbalter/jekyll-titles-from-headings/actions/workflows/ci.yml)
6
6
 
@@ -103,7 +103,6 @@ module JekyllTitlesFromHeadings
103
103
 
104
104
  def strip_title_excerpt?(document)
105
105
  document.is_a?(Jekyll::Document) &&
106
- document.collection.label == "posts" &&
107
106
  document.generate_excerpt?
108
107
  end
109
108
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JekyllTitlesFromHeadings
4
- VERSION = "0.5.5"
4
+ VERSION = "0.5.6"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-titles-from-headings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Balter
@@ -169,6 +169,8 @@ dependencies:
169
169
  - - ">="
170
170
  - !ruby/object:Gem::Version
171
171
  version: '0'
172
+ description: Jekyll plugin that sets page.title from the first Markdown heading when
173
+ front matter has none. Supported on GitHub Pages.
172
174
  email:
173
175
  - ben.balter@github.com
174
176
  executables: []
@@ -185,7 +187,11 @@ files:
185
187
  homepage: https://github.com/benbalter/jekyll-titles-from-headings
186
188
  licenses:
187
189
  - MIT
188
- metadata: {}
190
+ metadata:
191
+ homepage_uri: https://github.com/benbalter/jekyll-titles-from-headings
192
+ source_code_uri: https://github.com/benbalter/jekyll-titles-from-headings
193
+ bug_tracker_uri: https://github.com/benbalter/jekyll-titles-from-headings/issues
194
+ changelog_uri: https://github.com/benbalter/jekyll-titles-from-headings/releases
189
195
  rdoc_options: []
190
196
  require_paths:
191
197
  - lib