Class: GitHubPages::Plugins

Inherits:
Object
  • Object
show all
Defined in:
lib/github-pages/plugins.rb

Overview

Manages the constants that govern which plugins are allowed on GitHub Pages

Constant Summary collapse

DEFAULT_PLUGINS =

Plugins which are activated by default

%w(
  jekyll-coffeescript
  jekyll-commonmark-ghpages
  jekyll-gist
  jekyll-github-metadata
  jekyll-paginate
  jekyll-relative-links
  jekyll-optional-front-matter
  jekyll-readme-index
  jekyll-default-layout
  jekyll-titles-from-headings
).freeze
PLUGIN_WHITELIST =

Plugins allowed by GitHub Pages

%w(
  jekyll-coffeescript
  jekyll-commonmark-ghpages
  jekyll-feed
  jekyll-gist
  jekyll-github-metadata
  jekyll-paginate
  jekyll-redirect-from
  jekyll-seo-tag
  jekyll-sitemap
  jekyll-avatar
  jemoji
  jekyll-mentions
  jekyll-relative-links
  jekyll-optional-front-matter
  jekyll-readme-index
  jekyll-default-layout
  jekyll-titles-from-headings
  jekyll-include-cache
  jekyll-octicons
  jekyll-remote-theme
  jekyll-autolinks
  jekyll-last-modified-at
).freeze
DEVELOPMENT_PLUGINS =

Plugins only allowed locally

%w(
  jekyll-admin
).freeze
THEMES =

Themes

{
  "minima" => "2.5.1",
  "jekyll-swiss" => "1.0.0",
  "jekyll-theme-primer" => "0.6.0",
  "jekyll-theme-architect" => "0.2.0",
  "jekyll-theme-cayman" => "0.2.0",
  "jekyll-theme-dinky" => "0.2.0",
  "jekyll-theme-hacker" => "0.2.0",
  "jekyll-theme-leap-day" => "0.2.0",
  "jekyll-theme-merlot" => "0.2.0",
  "jekyll-theme-midnight" => "0.2.0",
  "jekyll-theme-minimal" => "0.2.0",
  "jekyll-theme-modernist" => "0.2.0",
  "jekyll-theme-slate" => "0.2.0",
  "jekyll-theme-tactile" => "0.2.0",
  "jekyll-theme-time-machine" => "0.2.0",
}.freeze
THEMES_TO_CONVERT_TO_REMOTE_THEMES =

Themes to convert to remote themes

{
  "jekyll-swiss" => "broccolini/swiss",
  "jekyll-theme-primer" => "pages-themes/[email protected]",
  "jekyll-theme-architect" => "pages-themes/[email protected]",
  "jekyll-theme-cayman" => "pages-themes/[email protected]",
  "jekyll-theme-dinky" => "pages-themes/[email protected]",
  "jekyll-theme-hacker" => "pages-themes/[email protected]",
  "jekyll-theme-leap-day" => "pages-themes/[email protected]",
  "jekyll-theme-merlot" => "pages-themes/[email protected]",
  "jekyll-theme-midnight" => "pages-themes/[email protected]",
  "jekyll-theme-minimal" => "pages-themes/[email protected]",
  "jekyll-theme-modernist" => "pages-themes/[email protected]",
  "jekyll-theme-slate" => "pages-themes/[email protected]",
  "jekyll-theme-tactile" => "pages-themes/[email protected]",
  "jekyll-theme-time-machine" => "pages-themes/[email protected]",
}