Skip to content

Commit 065e6ed

Browse files
committed
'Provider' is more correct than 'engine'
1 parent 9bd0dea commit 065e6ed

File tree

16 files changed

+29
-29
lines changed

16 files changed

+29
-29
lines changed

_config.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ JB :
5959
tags_path : /tags.html
6060

6161
# Settings for comments helper
62-
# Set 'engine' to the comment engine you want to use.
63-
# Set 'engine' to false to turn commenting off globally.
62+
# Set 'provider' to the comment provider you want to use.
63+
# Set 'provider' to false to turn commenting off globally.
6464
#
6565
comments :
66-
engine : disqus
66+
provider : disqus
6767
disqus :
6868
short_name : jekyllbootstrap
6969
livefyre :
@@ -74,31 +74,31 @@ JB :
7474
apikey : 123
7575

7676
# Settings for analytics helper
77-
# Set 'engine' to the analytics engine you want to use.
78-
# Set 'engine' to false to turn analytics off globally.
77+
# Set 'provider' to the analytics provider you want to use.
78+
# Set 'provider' to false to turn analytics off globally.
7979
#
8080
analytics :
81-
engine : google
81+
provider : google
8282
google :
8383
tracking_id : 'UA-123-12'
8484
getclicky :
8585
site_id :
8686

8787
# Settings for sharing helper.
8888
# Sharing is for things like tweet, plusone, like, reddit buttons etc.
89-
# Set 'engine' to the sharing engine you want to use.
90-
# Set 'engine' to false to turn sharing off globally.
89+
# Set 'provider' to the sharing provider you want to use.
90+
# Set 'provider' to false to turn sharing off globally.
9191
#
9292
sharing :
93-
engine : false
93+
provider : false
9494

9595
# Settings for all other include helpers can be defined by creating
9696
# a hash with key named for the given helper. ex:
9797
#
9898
# pages_list :
99-
# engine : "custom"
99+
# provider : "custom"
100100
#
101-
# Setting any helper's engine to 'custom' will bypass the helper code
101+
# Setting any helper's provider to 'custom' will bypass the helper code
102102
# and include your custom code. Your custom file must be defined at:
103103
# ./_includes/custom/[HELPER]
104104
# where [HELPER] is the name of the helper you are overriding.

_includes/JB/analytics

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
{% if site.safe and site.JB.analytics.engine and page.JB.analytics != false %}
1+
{% if site.safe and site.JB.analytics.provider and page.JB.analytics != false %}
22

3-
{% case site.JB.analytics.engine %}
3+
{% case site.JB.analytics.provider %}
44
{% when "google" %}
5-
{% include JB/analytics-engines/google %}
5+
{% include JB/analytics-providers/google %}
66
{% when "getclicky" %}
7-
{% include JB/analytics-engines/getclicky %}
7+
{% include JB/analytics-providers/getclicky %}
88
{% when "custom" %}
99
{% include custom/analytics %}
1010
{% endcase %}

_includes/JB/categories_list

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Usage:
1717
This helper can be seen in use at: ../_layouts/default.html
1818
-->{% endcomment %}
1919

20-
{% if site.JB.categories_list.engine == "custom" %}
20+
{% if site.JB.categories_list.provider == "custom" %}
2121
{% include custom/categories_list %}
2222
{% else %}
2323
{% if categories_list.first[0] == null %}

_includes/JB/comments

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
{% if site.JB.comments.engine and page.JB.comments != false %}
1+
{% if site.JB.comments.provider and page.JB.comments != false %}
22

3-
{% case site.JB.comments.engine %}
3+
{% case site.JB.comments.provider %}
44
{% when "disqus" %}
5-
{% include JB/comments-engines/disqus %}
5+
{% include JB/comments-providers/disqus %}
66
{% when "livefyre" %}
7-
{% include JB/comments-engines/livefyre %}
7+
{% include JB/comments-providers/livefyre %}
88
{% when "intensedebate" %}
9-
{% include JB/comments-engines/intensedebate %}
9+
{% include JB/comments-providers/intensedebate %}
1010
{% when "facebook" %}
11-
{% include JB/comments-engines/facebook %}
11+
{% include JB/comments-providers/facebook %}
1212
{% when "custom" %}
1313
{% include custom/comments %}
1414
{% endcase %}

_includes/JB/liquid_raw

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Usage:
2424
As seen here, you must use "|." and ".|" as opening and closing brackets.
2525
-->{% endcomment%}
2626

27-
{% if site.JB.liquid_raw.engine == "custom" %}
27+
{% if site.JB.liquid_raw.provider == "custom" %}
2828
{% include custom/liquid_raw %}
2929
{% else %}
3030
<pre><code>{{text | replace:"|.", "&#123;" | replace:".|", "&#125;" | replace:">", "&gt;" | replace:"<", "&lt;" }}</code></pre>

_includes/JB/pages_list

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Usage:
2020
This helper can be seen in use at: ../_layouts/default.html
2121
-->{% endcomment %}
2222

23-
{% if site.JB.pages_list.engine == "custom" %}
23+
{% if site.JB.pages_list.provider == "custom" %}
2424
{% include custom/pages_list %}
2525
{% else %}
2626
{% for node in pages_list %}

_includes/JB/posts_collate

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Usage:
1717

1818
-->{% endcomment %}
1919

20-
{% if site.JB.posts_collate.engine == "custom" %}
20+
{% if site.JB.posts_collate.provider == "custom" %}
2121
{% include custom/posts_collate %}
2222
{% else %}
2323
{% for post in posts_collate %}

_includes/JB/setup

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!--
33
- Dynamically set liquid variables for working with URLs/paths
44
-->
5-
{% if site.JB.setup.engine == "custom" %}
5+
{% if site.JB.setup.provider == "custom" %}
66
{% include custom/setup %}
77
{% else %}
88
{% if site.safe and site.JB.BASE_PATH %}

_includes/JB/sharing

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
{% if site.safe and site.JB.sharing.engine and page.JB.sharing != false %}
1+
{% if site.safe and site.JB.sharing.provider and page.JB.sharing != false %}
22

3-
{% case site.JB.sharing.engine %}
3+
{% case site.JB.sharing.provider %}
44
{% when "custom" %}
55
{% include custom/sharing %}
66
{% endcase %}

_includes/JB/tags_list

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Usage:
1717
This helper can be seen in use at: ../_layouts/default.html
1818
-->{% endcomment %}
1919

20-
{% if site.JB.tags_list.engine == "custom" %}
20+
{% if site.JB.tags_list.provider == "custom" %}
2121
{% include custom/tags_list %}
2222
{% else %}
2323
{% if tags_list.first[0] == null %}

0 commit comments

Comments
 (0)