Skip to content

Commit 8af4fb8

Browse files
author
Rishabh Chakrabarti
committed
Fix Travis build failing
To fix the following offense ```sh Offenses: Gemfile:11:5: C: Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols. (https://github.com/rubocop-hq/ruby-style-guide#consistent-string-literals) gem "jekyll-github-metadata" ^^^^^^^^^^^^^^^^^^^^^^^^ 14 files inspected, 1 offense detected ``` Added comments
1 parent bb8ad22 commit 8af4fb8

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

Gemfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ versions = JSON.parse(open('https://pages.github.com/versions.json').read)
88

99
gem 'github-pages', versions['github-pages']
1010

11-
gem "jekyll-github-metadata"
11+
# For 'Improve this page' links
12+
gem 'jekyll-github-metadata'
1213

1314
group :development do
1415
gem 'colored'

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ plugins:
4040
- jekyll-redirect-from
4141
- jekyll-seo-tag
4242
- jekyll-coffeescript
43-
- jekyll-github-metadata
43+
- jekyll-github-metadata # For 'Improve this page' links
4444

4545

4646
sass:

_includes/sidebar.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<div class="sidebar">
2-
2+
3+
<!-- Adds the `Github Link` for the corresponding page page -->
34
{% github_edit_link "Help improve this page" %}
45

56
<a href="#" data-clipboard-target="#license-text" data-proofer-ignore="true" class="js-clipboard-button button">Copy license text to clipboard</a>

0 commit comments

Comments
 (0)