bridgetown-feed 3.1.0 → 3.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/bridgetown-feed/feed.xml +2 -2
- data/lib/bridgetown-feed/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c2cbc81ee48ebc1f53e334674cb20530d56b247fc6a72b1a577b8ee05fae1bd
|
4
|
+
data.tar.gz: 62074e18bdbd7f012106610fd4aff9b1b2ac2498124e5523639b1c98d62492bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed5633b188945f86097644e563bcd5d3717cde120fab1774af50cc051ab4074ab761a43c41f95239878147155b6fa3bb5ac31ec948885dcddfc581ae1b01ef62
|
7
|
+
data.tar.gz: 26df2d8ce71c4cc050d221f00b76cc4dfb1eb922268ec88929d6eb5cf221ac4656859aedb36333fb15ccef148e3b20d5c8e07c4b1ac1e9da80cc5c3e13b4130d
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,14 @@
|
|
4
4
|
|
5
5
|
...
|
6
6
|
|
7
|
+
## 3.1.2 / 2024-03-02
|
8
|
+
|
9
|
+
* Fix: as readme promises, use `id` from a post's front matter if present
|
10
|
+
|
11
|
+
## 3.1.1 / 2024-02-02
|
12
|
+
|
13
|
+
* Remove duplicate variable assignment (@jbennett)
|
14
|
+
|
7
15
|
## 3.1.0 / 2024-02-01
|
8
16
|
|
9
17
|
* Add an option to set the post_limit (@jbennett)
|
@@ -45,14 +45,14 @@
|
|
45
45
|
{% assign posts = posts | where: "category",page.category %}
|
46
46
|
{% endif %}
|
47
47
|
{% assign post_limit = site.feed.collections[page.collection].post_limit | default: site.feed.post_limit | default: 10 %}
|
48
|
-
{% assign post_limit = site.feed.collections[page.collection].post_limit | default: site.feed.post_limit %}
|
49
48
|
{% for post in posts limit: post_limit %}
|
49
|
+
{% assign post_id = post.data.id | default: post.id %}
|
50
50
|
<entry{% if post.lang %}{{" "}}xml:lang="{{ post.lang }}"{% endif %}>
|
51
51
|
<title type="html">{{ post.title | smartify | strip_html | normalize_whitespace | xml_escape }}</title>
|
52
52
|
<link href="{{ post.absolute_url | default: post.url | absolute_url }}" rel="alternate" type="text/html" title="{{ post.title | xml_escape }}" />
|
53
53
|
<published>{{ post.date | date_to_xmlschema }}</published>
|
54
54
|
<updated>{{ post.last_modified_at | default: post.date | date_to_xmlschema }}</updated>
|
55
|
-
<id>{{
|
55
|
+
<id>{{ post_id | absolute_url | xml_escape }}</id>
|
56
56
|
{% assign excerpt_only = post.feed.excerpt_only | default: site.feed.excerpt_only %}
|
57
57
|
{% unless excerpt_only %}
|
58
58
|
<content type="html" xml:base="{{ post.absolute_url | default: post.url | absolute_url | xml_escape }}">{{ post.content | strip | xml_escape }}</content>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bridgetown-feed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bridgetown Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bridgetown
|