You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

jekyll-environment-variables

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jekyll-environment-variables

1.0.1
bundlerRubygems
Version published
Maintainers
1
Created
Source

Jekyll Environment Variables

Buile Status Gem Version

Installation

Install the gem:

gem install jekyll-environment-variables

And then add it to your _config.yml:

plugins:  # "gems" before Jekyll 3.5
  - jekyll-environment-variables

Alternatively, you can use Bundler with Gemfile:

group :jekyll_plugins do
  gem 'jekyll-environment-variables'
end

Then run bundle install and let Bundler handle it for you.

Usage

All environment variables will be copied to site.env for use in Liquid templates.

Hostname: {{ site.env.HOSTNAME }}
My home: {{ site.env.HOME }}

FAQs

Package last updated on 03 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts