bridgetown-feed 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a054cdb820ee742185d8cdebee2be24f370d700bcae60a1f7ebcc6876d4fb17
4
- data.tar.gz: 6751bba99b04610e7bf54d82cd9945da7edce9c7a981a80947433cdda6216744
3
+ metadata.gz: 7f131469df79b55a8819c8786c67a43dee989af1f25a17eac87be38d4b716855
4
+ data.tar.gz: e4947533d8fcd65a9039ea3887a5feda1d4eaece77ca3ea9b48cd9027ec098f1
5
5
  SHA512:
6
- metadata.gz: 545c964c4927c414c9fe11e9f38e1e5f86930c5dc93a0cc2ea09f78dc008aa8eedb0df6d0c37014132988506984c74b7fc7193226a5a0265a548f6799752066d
7
- data.tar.gz: b41d66e8c0dcbd6e9adc14ad4a4db0785ab21980a61f8ac42c595c3faf81142361dd41dd7291e73524286b864c391759e62354791fdbfc1370dbc551bae68768
6
+ metadata.gz: 5cef92281ae526b0bc5e7390d267aafc7f7253afaf672a5168f743bfe58856e49d49075141f50a1841d69bdbec61d6bfc764b3baf50d7988da84c5761885d00a
7
+ data.tar.gz: 51484a2e4497f8279b6bfe7e2e1973befbb38e682de5451da947c5e253df90463f1e0e662b4c98df5626e66ebeaebe8532a8b4e34b0506ded2d0b7a377cc02ee
data/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
- # master
1
+ # Changelog
2
+
3
+ ## 2.0.1 / 2021-06-04
4
+
5
+ * Fix bug where resources' relative URLs weren't included properly
2
6
 
3
7
  ## 2.0.0 / 2021-04-17
4
8
 
@@ -51,13 +51,13 @@
51
51
  {% for post in posts limit: 10 %}
52
52
  <entry{% if post.lang %}{{" "}}xml:lang="{{ post.lang }}"{% endif %}>
53
53
  <title type="html">{{ post.title | smartify | strip_html | normalize_whitespace | xml_escape }}</title>
54
- <link href="{{ post.url | absolute_url }}" rel="alternate" type="text/html" title="{{ post.title | xml_escape }}" />
54
+ <link href="{{ post.relative_url | default: post.url | absolute_url }}" rel="alternate" type="text/html" title="{{ post.title | xml_escape }}" />
55
55
  <published>{{ post.date | date_to_xmlschema }}</published>
56
56
  <updated>{{ post.last_modified_at | default: post.date | date_to_xmlschema }}</updated>
57
57
  <id>{{ post.id | absolute_url | xml_escape }}</id>
58
58
  {% assign excerpt_only = post.feed.excerpt_only | default: site.feed.excerpt_only %}
59
59
  {% unless excerpt_only %}
60
- <content type="html" xml:base="{{ post.url | absolute_url | xml_escape }}">{{ post.content | strip | xml_escape }}</content>
60
+ <content type="html" xml:base="{{ post.relative_url | default: post.url | absolute_url | xml_escape }}">{{ post.content | strip | xml_escape }}</content>
61
61
  {% endunless %}
62
62
 
63
63
  {% assign post_author = post.author | default: post.authors[0] | default: site.metadata.author %}
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Bridgetown
4
4
  module Feed
5
- VERSION = "2.0.0"
5
+ VERSION = "2.0.1"
6
6
  end
7
7
  end
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: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bridgetown Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-17 00:00:00.000000000 Z
11
+ date: 2021-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bridgetown