jekyll-plus 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE.txt +21 -21
- data/README.md +209 -77
- data/exe/jekyll+ +56 -0
- data/lib/jekyll-plus.rb +28 -2
- data/lib/jekyll-plus/version.rb +3 -3
- data/lib/jekyll/commands/extract_theme.rb +152 -0
- data/lib/jekyll/commands/new_site.rb +260 -0
- data/lib/jekyll/{templates/site_template/.gitignore → site_template/.gitignore.erb} +0 -0
- data/lib/jekyll/{templates/classic_template → site_template}/Gemfile.erb +9 -5
- data/lib/jekyll/{templates/site_template → site_template}/_config.yml.erb +15 -5
- data/lib/jekyll/{templates/site_template → site_template}/_posts/0000-00-00-welcome-to-jekyll.md.erb +2 -0
- data/lib/jekyll/{templates/site_template/about.md → site_template/about.md.erb} +4 -0
- data/lib/jekyll/{templates/site_template/index.md → site_template/index.html.erb} +1 -0
- data/lib/patches/idempotent_jekyll_config.rb +41 -0
- data/lib/patches/jekyll_watcher.rb +59 -0
- data/lib/patches/listen_windows_adapter.rb +8 -0
- data/lib/patches/mercenary_presenter.rb +38 -0
- metadata +46 -38
- data/lib/jekyll/commands/new.rb +0 -190
- data/lib/jekyll/templates/classic_template/_config.yml.erb +0 -37
- data/lib/jekyll/templates/classic_template/theme_folders/_includes/disqus_comments.html +0 -20
- data/lib/jekyll/templates/classic_template/theme_folders/_includes/footer.html +0 -46
- data/lib/jekyll/templates/classic_template/theme_folders/_includes/google-analytics.html +0 -11
- data/lib/jekyll/templates/classic_template/theme_folders/_includes/head.html +0 -16
- data/lib/jekyll/templates/classic_template/theme_folders/_includes/header.html +0 -27
- data/lib/jekyll/templates/classic_template/theme_folders/_includes/icon-github.html +0 -1
- data/lib/jekyll/templates/classic_template/theme_folders/_includes/icon-github.svg +0 -1
- data/lib/jekyll/templates/classic_template/theme_folders/_includes/icon-twitter.html +0 -1
- data/lib/jekyll/templates/classic_template/theme_folders/_includes/icon-twitter.svg +0 -1
- data/lib/jekyll/templates/classic_template/theme_folders/_layouts/default.html +0 -20
- data/lib/jekyll/templates/classic_template/theme_folders/_layouts/home.html +0 -25
- data/lib/jekyll/templates/classic_template/theme_folders/_layouts/page.html +0 -14
- data/lib/jekyll/templates/classic_template/theme_folders/_layouts/post.html +0 -18
- data/lib/jekyll/templates/classic_template/theme_folders/_sass/_base.scss +0 -198
- data/lib/jekyll/templates/classic_template/theme_folders/_sass/_layout.scss +0 -237
- data/lib/jekyll/templates/classic_template/theme_folders/_sass/_syntax-highlighting.scss +0 -71
- data/lib/jekyll/templates/classic_template/theme_folders/assets/main.scss +0 -47
- data/lib/jekyll/templates/site_template/Gemfile.erb +0 -24
@@ -1,71 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Syntax highlighting styles
|
3
|
-
*/
|
4
|
-
.highlight {
|
5
|
-
background: #fff;
|
6
|
-
@extend %vertical-rhythm;
|
7
|
-
|
8
|
-
.highlighter-rouge & {
|
9
|
-
background: #eef;
|
10
|
-
}
|
11
|
-
|
12
|
-
.c { color: #998; font-style: italic } // Comment
|
13
|
-
.err { color: #a61717; background-color: #e3d2d2 } // Error
|
14
|
-
.k { font-weight: bold } // Keyword
|
15
|
-
.o { font-weight: bold } // Operator
|
16
|
-
.cm { color: #998; font-style: italic } // Comment.Multiline
|
17
|
-
.cp { color: #999; font-weight: bold } // Comment.Preproc
|
18
|
-
.c1 { color: #998; font-style: italic } // Comment.Single
|
19
|
-
.cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
|
20
|
-
.gd { color: #000; background-color: #fdd } // Generic.Deleted
|
21
|
-
.gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
|
22
|
-
.ge { font-style: italic } // Generic.Emph
|
23
|
-
.gr { color: #a00 } // Generic.Error
|
24
|
-
.gh { color: #999 } // Generic.Heading
|
25
|
-
.gi { color: #000; background-color: #dfd } // Generic.Inserted
|
26
|
-
.gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
|
27
|
-
.go { color: #888 } // Generic.Output
|
28
|
-
.gp { color: #555 } // Generic.Prompt
|
29
|
-
.gs { font-weight: bold } // Generic.Strong
|
30
|
-
.gu { color: #aaa } // Generic.Subheading
|
31
|
-
.gt { color: #a00 } // Generic.Traceback
|
32
|
-
.kc { font-weight: bold } // Keyword.Constant
|
33
|
-
.kd { font-weight: bold } // Keyword.Declaration
|
34
|
-
.kp { font-weight: bold } // Keyword.Pseudo
|
35
|
-
.kr { font-weight: bold } // Keyword.Reserved
|
36
|
-
.kt { color: #458; font-weight: bold } // Keyword.Type
|
37
|
-
.m { color: #099 } // Literal.Number
|
38
|
-
.s { color: #d14 } // Literal.String
|
39
|
-
.na { color: #008080 } // Name.Attribute
|
40
|
-
.nb { color: #0086B3 } // Name.Builtin
|
41
|
-
.nc { color: #458; font-weight: bold } // Name.Class
|
42
|
-
.no { color: #008080 } // Name.Constant
|
43
|
-
.ni { color: #800080 } // Name.Entity
|
44
|
-
.ne { color: #900; font-weight: bold } // Name.Exception
|
45
|
-
.nf { color: #900; font-weight: bold } // Name.Function
|
46
|
-
.nn { color: #555 } // Name.Namespace
|
47
|
-
.nt { color: #000080 } // Name.Tag
|
48
|
-
.nv { color: #008080 } // Name.Variable
|
49
|
-
.ow { font-weight: bold } // Operator.Word
|
50
|
-
.w { color: #bbb } // Text.Whitespace
|
51
|
-
.mf { color: #099 } // Literal.Number.Float
|
52
|
-
.mh { color: #099 } // Literal.Number.Hex
|
53
|
-
.mi { color: #099 } // Literal.Number.Integer
|
54
|
-
.mo { color: #099 } // Literal.Number.Oct
|
55
|
-
.sb { color: #d14 } // Literal.String.Backtick
|
56
|
-
.sc { color: #d14 } // Literal.String.Char
|
57
|
-
.sd { color: #d14 } // Literal.String.Doc
|
58
|
-
.s2 { color: #d14 } // Literal.String.Double
|
59
|
-
.se { color: #d14 } // Literal.String.Escape
|
60
|
-
.sh { color: #d14 } // Literal.String.Heredoc
|
61
|
-
.si { color: #d14 } // Literal.String.Interpol
|
62
|
-
.sx { color: #d14 } // Literal.String.Other
|
63
|
-
.sr { color: #009926 } // Literal.String.Regex
|
64
|
-
.s1 { color: #d14 } // Literal.String.Single
|
65
|
-
.ss { color: #990073 } // Literal.String.Symbol
|
66
|
-
.bp { color: #999 } // Name.Builtin.Pseudo
|
67
|
-
.vc { color: #008080 } // Name.Variable.Class
|
68
|
-
.vg { color: #008080 } // Name.Variable.Global
|
69
|
-
.vi { color: #008080 } // Name.Variable.Instance
|
70
|
-
.il { color: #099 } // Literal.Number.Integer.Long
|
71
|
-
}
|
@@ -1,47 +0,0 @@
|
|
1
|
-
---
|
2
|
-
# Only the main Sass file needs front matter (the dashes are enough)
|
3
|
-
---
|
4
|
-
@charset "UTF-8";
|
5
|
-
|
6
|
-
// Our variables
|
7
|
-
$base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
8
|
-
$base-font-size: 16px;
|
9
|
-
$base-font-weight: 400;
|
10
|
-
$small-font-size: $base-font-size * 0.875;
|
11
|
-
$base-line-height: 1.5;
|
12
|
-
|
13
|
-
$spacing-unit: 30px;
|
14
|
-
|
15
|
-
$text-color: #111;
|
16
|
-
$background-color: #fdfdfd;
|
17
|
-
$brand-color: #2a7ae2;
|
18
|
-
|
19
|
-
$grey-color: #828282;
|
20
|
-
$grey-color-light: lighten($grey-color, 40%);
|
21
|
-
$grey-color-dark: darken($grey-color, 25%);
|
22
|
-
|
23
|
-
// Width of the content area
|
24
|
-
$content-width: 800px;
|
25
|
-
|
26
|
-
$on-palm: 600px;
|
27
|
-
$on-laptop: 800px;
|
28
|
-
|
29
|
-
// Use media queries like this:
|
30
|
-
// @include media-query($on-palm) {
|
31
|
-
// .wrapper {
|
32
|
-
// padding-right: $spacing-unit / 2;
|
33
|
-
// padding-left: $spacing-unit / 2;
|
34
|
-
// }
|
35
|
-
// }
|
36
|
-
@mixin media-query($device) {
|
37
|
-
@media screen and (max-width: $device) {
|
38
|
-
@content;
|
39
|
-
}
|
40
|
-
}
|
41
|
-
|
42
|
-
// Import partials from `sass_dir` (defaults to `_sass`)
|
43
|
-
@import
|
44
|
-
"base",
|
45
|
-
"layout",
|
46
|
-
"syntax-highlighting"
|
47
|
-
;
|
@@ -1,24 +0,0 @@
|
|
1
|
-
source "https://rubygems.org"
|
2
|
-
ruby "<%= RUBY_VERSION %>"
|
3
|
-
|
4
|
-
# Hello! This is where you manage which Jekyll version is used to run.
|
5
|
-
# When you want to use a different version, change it below, save the
|
6
|
-
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
|
7
|
-
#
|
8
|
-
# bundle exec jekyll serve
|
9
|
-
#
|
10
|
-
# This will help ensure the proper Jekyll version is running.
|
11
|
-
# Happy Jekylling!
|
12
|
-
gem "jekyll", "~> <%= Jekyll::VERSION %>"
|
13
|
-
|
14
|
-
# This is the default theme for new Jekyll sites. You may change this to anything you like.
|
15
|
-
gem "minima"
|
16
|
-
|
17
|
-
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
|
18
|
-
# uncomment the line below. To upgrade, run `bundle update github-pages`.
|
19
|
-
# gem "github-pages", group: :jekyll_plugins
|
20
|
-
|
21
|
-
# If you have any plugins, put them here!
|
22
|
-
group :jekyll_plugins do
|
23
|
-
gem "jekyll-feed", "~> 0.6"
|
24
|
-
end
|