1.3.5 • Published 2 years ago
@knight-lab/googledrive2jekyll v1.3.5
GoogleDrive2Jekyll
Knight Lab publishing system using Google Drive to Jekyll.
Posts example:
const path = require('path');
const GoogleDriveToJekyll = require('@knight-lab/googledrive2jekyll').GoogleDriveToJekyll;
const BASE_PATH = path.resolve('./website');
const POST_PATH = "/_results/";
const IMAGE_PATH = "/assets/results/";
const FOLDER_ID = "google_drive_unique_id_goes_here";
const OPTIONS = {
em_bold: true,
layout_type: null
};
const drive_to_jekyll = new GoogleDriveToJekyll(BASE_PATH, POST_PATH, IMAGE_PATH, FOLDER_ID, OPTIONS);
drive_to_jekyll.fetch();
People example:
const path = require('path');
const SpreadsheetToJekyllPeople = require('@knight-lab/googledrive2jekyll').SpreadsheetToJekyllPeople;
const BASE_PATH = path.resolve('./website');
const PEOPLE_PATH = "/_people/";
const IMAGE_PATH = "/assets/people/";
const SPREADSHEET_ID = "google_spreadsheet_unique_id_goes_here";
const spreadsheet_to_people = new SpreadsheetToJekyllPeople(BASE_PATH, PEOPLE_PATH, IMAGE_PATH);
spreadsheet_to_people.fetch(SPREADSHEET_ID, {
check_studio_flag:true,
image_url_prefix: "http://knightlab.northwestern.edu"
});
1.3.5
2 years ago
1.3.4
5 years ago
1.3.3
5 years ago
1.3.2
6 years ago
1.3.1
6 years ago
1.3.0
6 years ago
1.2.9
6 years ago
1.2.7
6 years ago
1.2.6
6 years ago
1.2.5
6 years ago
1.2.4
6 years ago
1.2.2
6 years ago
1.2.1
6 years ago
1.2.0
6 years ago
1.1.9
6 years ago
1.1.8
6 years ago
1.1.7
6 years ago
1.1.6
6 years ago
1.1.5
6 years ago
1.1.4
6 years ago
1.1.3
6 years ago
1.1.2
6 years ago
1.1.1
6 years ago