From bb8ad22c894789e828529233e24c3eacfb54feaa Mon Sep 17 00:00:00 2001 From: Rishabh Chakrabarti Date: Mon, 25 Jun 2018 03:10:53 +0530 Subject: [PATCH] [feat : Issue #433 ] Added github-edit-link to sidebar This link will direct anyone who wants to edit this page directly to the Github path which contains the file. CHANGELOG : 1. Added the [GitHub Metadata] (http://jekyll.github.io/github-metadata/) plugin to Gemfile and Plugins 2. Added the link to the sidebar for license pages. Github issue #433 --- Gemfile | 2 ++ _config.yml | 2 ++ _includes/sidebar.html | 2 ++ 3 files changed, 6 insertions(+) diff --git a/Gemfile b/Gemfile index 6677662..0413c47 100644 --- a/Gemfile +++ b/Gemfile @@ -8,6 +8,8 @@ versions = JSON.parse(open('https://pages.github.com/versions.json').read) gem 'github-pages', versions['github-pages'] +gem "jekyll-github-metadata" + group :development do gem 'colored' gem 'fuzzy_match' diff --git a/_config.yml b/_config.yml index 004f14b..744a152 100644 --- a/_config.yml +++ b/_config.yml @@ -40,6 +40,8 @@ plugins: - jekyll-redirect-from - jekyll-seo-tag - jekyll-coffeescript + - jekyll-github-metadata + sass: style: :compressed diff --git a/_includes/sidebar.html b/_includes/sidebar.html index 42821e8..ffd6929 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -1,5 +1,7 @@