danklammer / jekyll-airtable_data

Jekyll plugin to pull down your Airtable tables as datafiles (JSON) through Jekyll Commands

Home Page:https://rubygems.org/gems/jekyll-airtable_data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jekyll Airtable Data

Jekyll plugin to pull down your Airtable tables as datafiles (JSON) through Jekyll Commands.

Installation

Add plugin to your Gemfile:

gem 'jekyll-airtable_data'

Add Airtable settings to your _config.yml file:

airtable_data:
  api_key: [Your Airtable API Key] # Airtable API key available in the API documentation for your base
  app_id: [Your Airtable App ID] # Airtable app ID found in the API documentation for your base
  tables:
    - [Your Airtable Table Name 1]
    - [Your Airtable Table Name 2]
    - [Your Airtable Table Name 3]

Run Airtable Data

Execute via Jekyll Command as needed (and works great with Netlify's Build command):

$ bundle exec jekyll airtable_data

About

Jekyll plugin to pull down your Airtable tables as datafiles (JSON) through Jekyll Commands

https://rubygems.org/gems/jekyll-airtable_data

License:MIT License


Languages

Language:Ruby 96.8%Language:Shell 3.2%