Skip to content

Commit 3bc7434

Browse files
committed
2 parents 8b69401 + 1c571db commit 3bc7434

File tree

9 files changed

+16
-14
lines changed

9 files changed

+16
-14
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
9+
### Changed
10+
- Change `gems` key in `_config.yml` to `plugins`. [#23](https://github.com/mmistakes/jekyll-theme-basically-basic/pull/23)
911

1012
### Added
1113
### Changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ logo: # path of site logo, e.g. "/assets/images/logo.png"
3030
# Build settings
3131
markdown: kramdown
3232
theme: jekyll-theme-basically-basic
33-
gems:
33+
plugins:
3434
- jekyll-feed
3535
- jekyll-seo-tag
3636
- jekyll-sitemap

_includes/contact-list.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
{% endif %}
1818

1919
<li>
20-
{% if site.gems contains 'jekyll-feed' %}
20+
{% if site.plugins contains 'jekyll-feed' %}
2121
<a href="{{ site.feed.path | default: 'feed.xml' | relative_url }}" title="Atom Feed">
2222
<span class="icon icon--rss">{% include icon-rss.svg %}</span>
2323
<span class="label">{{ site.data.theme.t.subscribe | default: 'Subscribe' }}</span>
2424
</a>
2525
{% endif %}
2626
</li>
27-
</ul>
27+
</ul>

_layouts/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<h2>{{ site.data.theme.t.posts | default: 'Posts' }}{% if paginator.page > 1 %}{{ site.data.theme.t.page | default: 'Page' | prepend: ' - ' | append: ' ' }}{{ paginator.page }} {{ site.data.theme.t.of | default: 'of' }} {{ paginator.total_pages }}{% endif %}</h2>
1414
</header>
1515
<div class="entries">
16-
{% if site.gems contains 'jekyll-paginate' and page.paginate %}
16+
{% if site.plugins contains 'jekyll-paginate' and page.paginate %}
1717
{% comment %}
1818
Add paginator.posts loop if jekyll-paginate plugin is enabled
1919
and page.paginate == true

docs/Gemfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ gem "wdm", "~> 0.1.0" if Gem.win_platform?
66

77
# If you have any plugins, put them here!
88
# group :jekyll_plugins do
9-
# gem "jekyll-paginate"
10-
# gem "jekyll-sitemap"
11-
# gem "jekyll-gist"
12-
# gem "jekyll-feed"
13-
# gem "jemoji"
9+
# gem "jekyll-paginate"
10+
# gem "jekyll-sitemap"
11+
# gem "jekyll-gist"
12+
# gem "jekyll-feed"
13+
# gem "jemoji"
1414
# end

docs/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ permalink: /:categories/:title/
5151
timezone: America/New_York # http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
5252

5353
# Plugins
54-
gems:
54+
plugins:
5555
- jekyll-feed
5656
- jekyll-seo-tag
5757
- jekyll-sitemap

docs/_includes/contact-list.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
{% endif %}
1818

1919
<li>
20-
{% if site.gems contains 'jekyll-feed' %}
20+
{% if site.plugins contains 'jekyll-feed' %}
2121
<a href="{{ site.feed.path | default: 'feed.xml' | relative_url }}" title="Atom Feed">
2222
<span class="icon icon--rss">{% include icon-rss.svg %}</span>
2323
<span class="label">{{ site.data.theme.t.subscribe | default: 'Subscribe' }}</span>
2424
</a>
2525
{% endif %}
2626
</li>
27-
</ul>
27+
</ul>

docs/_layouts/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<h2>{{ site.data.theme.t.posts | default: 'Posts' }}{% if paginator.page > 1 %}{{ site.data.theme.t.page | default: 'Page' | prepend: ' - ' | append: ' ' }}{{ paginator.page }} {{ site.data.theme.t.of | default: 'of' }} {{ paginator.total_pages }}{% endif %}</h2>
1414
</header>
1515
<div class="entries">
16-
{% if site.gems contains 'jekyll-paginate' and page.paginate %}
16+
{% if site.plugins contains 'jekyll-paginate' and page.paginate %}
1717
{% comment %}
1818
Add paginator.posts loop if jekyll-paginate plugin is enabled
1919
and page.paginate == true

example/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ liquid:
3434
# Build settings
3535
markdown: kramdown
3636
theme: jekyll-theme-basically-basic
37-
gems:
37+
plugins:
3838
- jekyll-feed
3939
- jekyll-seo-tag
4040
- jekyll-sitemap

0 commit comments

Comments
 (0)