octopress-feeds 2.0.2 → 2.0.3

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
  SHA1:
3
- metadata.gz: e97443705b4e220d195b853c0a7c526536c3e0e0
4
- data.tar.gz: 995bd7c729bdf8eee9fd0948958c0e1682fdb152
3
+ metadata.gz: c7a1cd113e36bd9b06294cd3595d323445ccdca8
4
+ data.tar.gz: a1c9355cee7c5c8f8dbd39c0a4c123eba5a15f8a
5
5
  SHA512:
6
- metadata.gz: 9be1a6954c02350fea21cf8b0d8016a022e6f0f74c81d25a3a10a4df8c5807da746a5b45ac873daf9e0d8800336c395f8e54df6efb88f430354fa96ef7447109
7
- data.tar.gz: a5e5546138a0b52dbdcfc2db43905abb268f3a99ec52117e49c7a8cc1563b0867e351d5bda397455818261191a86a887939a887683534114be19db8fb590f85f
6
+ metadata.gz: efb23ac9c90a4d06c901945e4cf3289970e593540191235cf81e6d07c04d7af71ca1d3c9d72afd65edf4fe28c1917b70240fd5b59c014940664e947f5568d696
7
+ data.tar.gz: 30c1616757416be25744ca99b74f5cf6958337466d7b7e8f7f15a8d8ce25aa9df9977e3f519335b1fdb63cd24fe8e7c25e6a8c06f949cee1e716915b33868124
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ### 2.0.3 (2015-03-14)
4
+ - New: Configure permalink and "read more" link labels.
5
+ - Fix: Feed excerpt settings are now set properly.
6
+
3
7
  ### 2.0.2 (2015-03-04)
4
8
  - Fix: Liquid doesn't understand `||`, it prefers `or`.
5
9
 
data/README.md CHANGED
@@ -109,6 +109,9 @@ tag_feeds: false # Add a feed for post tags
109
109
  categories: [] # Only add feeds for these categories. (empty adds feeds for all categories)
110
110
  tags: [] # Only add feeds for these tags. (empty adds feeds for all tags)
111
111
 
112
+ read_more_label: "Continue reading →"
113
+ permalink_label: "Permalink"
114
+
112
115
  titles:
113
116
  main_feed: Posts - :site_name
114
117
  links_feed: Links - :site_name
data/assets/config.yml CHANGED
@@ -0,0 +1,2 @@
1
+ read_more_label: "Continue reading →"
2
+ permalink_label: "Permalink"
@@ -14,16 +14,16 @@
14
14
  </author>{% endif %}
15
15
  <content type="html" xml:base="{{ site.url | join_url: site.baseurl }}" {% if page.lang %}xml:lang="{{ page.lang }}"{% endif %}>
16
16
  <![CDATA[
17
- {% if plugins.feeds.excerpts == false or post.linkpost %}
17
+ {% if plugins.feeds.feed_excerpts == false or post.linkpost %}
18
18
  {{ post.content | full_urls }}
19
19
  {% if post.linkpost %}
20
- <p><a href="{{ post.url | canonical_url }}">&infin; Permalink</a></p>
20
+ <p><a href="{{ post.url | canonical_url }}">{{ plugins.feeds.permalink_label }}</a></p>
21
21
  {% endif %}
22
22
  {% else %}
23
23
  {{ post.excerpt | full_urls }}
24
24
 
25
25
  {% if post.excerpt != post.content %}
26
- <p><a href="{{ post.url | canonical_url }}">Continue reading &rarr;</a></p>
26
+ <p><a href="{{ post.url | canonical_url }}">{{ plugins.feeds.read_more_label }}</a></p>
27
27
  {% endif %}
28
28
  {% endif %}
29
29
  ]]>
@@ -1,5 +1,5 @@
1
1
  module Octopress
2
2
  module Feeds
3
- VERSION = "2.0.2"
3
+ VERSION = "2.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octopress-feeds
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-05 00:00:00.000000000 Z
11
+ date: 2015-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octopress-ink