-
Notifications
You must be signed in to change notification settings - Fork 358
/
plugins.rb
68 lines (64 loc) · 1.89 KB
/
plugins.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# frozen_string_literal: true
module GitHubPages
# Manages the constants the govern what plugins are allows on GitHub Pages
class Plugins
# Plugins which are activated by default
DEFAULT_PLUGINS = %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
# Plugins allowed by GitHub Pages
PLUGIN_WHITELIST = %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
).freeze
# Plugins only allowed locally
DEVELOPMENT_PLUGINS = %w(
jekyll-admin
).freeze
# Themes
THEMES = {
"jekyll-swiss" => "0.4.0",
"minima" => "2.5.0",
"jekyll-theme-primer" => "0.5.3",
"jekyll-theme-architect" => "0.1.1",
"jekyll-theme-cayman" => "0.1.1",
"jekyll-theme-dinky" => "0.1.1",
"jekyll-theme-hacker" => "0.1.1",
"jekyll-theme-leap-day" => "0.1.1",
"jekyll-theme-merlot" => "0.1.1",
"jekyll-theme-midnight" => "0.1.1",
"jekyll-theme-minimal" => "0.1.1",
"jekyll-theme-modernist" => "0.1.1",
"jekyll-theme-slate" => "0.1.1",
"jekyll-theme-tactile" => "0.1.1",
"jekyll-theme-time-machine" => "0.1.1",
}.freeze
end
end