Jekyll-GDrive

Jekyll-GDrive

This Jekyll pluging provides a tag that takes Google Drive Folder ID and generates a html snippet to embed folder

Jekyll GDrive

This Jekyll plugin provides a Liquid tag which takes Google Drive Folder ID and generates a HTML snippet to embed a folder.

Installation

Project install

Add to Gemfile:

group :jekyll_plugins do
  gem 'jekyll-gdrivefolder', '~> 0.0.1'
end

Install it:

bundle install 

Global install

gem install jekyll-gdrivefolder

Put this in _config.yml.

plugins:
  - jekyll-gdrivefolder

Usage

{% jekyll-gdrive FOLDER_ID %}

e.g.

{% jekyll-gdrive 0B7ExQgcdBN8pUXZha2FlcGRLeXM %}

Result

Outputs the following HTML.

<iframe src="https://drive.google.com/embeddedfolderview?id=0B7ExQgcdBN8pUXZha2FlcGRLeXM#list"
  style="width:100%; height:600px; border:0;">
</iframe>