writers-zone 0.1.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 +7 -0
- data/LICENSE.txt +65 -0
- data/README.md +57 -0
- data/_includes/disqus_comments.html +25 -0
- data/_includes/footer.html +50 -0
- data/_includes/google-analytics.html +11 -0
- data/_includes/head.html +25 -0
- data/_includes/header.html +29 -0
- data/_includes/icon-github.html +1 -0
- data/_includes/icon-github.svg +1 -0
- data/_includes/icon-twitter.html +1 -0
- data/_includes/icon-twitter.svg +1 -0
- data/_includes/pagination/pages.html +20 -0
- data/_includes/pagination/posts.html +19 -0
- data/_includes/search/search-box.html +6 -0
- data/_includes/search/search-config.html +14 -0
- data/_includes/search/search-js.min.html +3 -0
- data/_layouts/default.html +35 -0
- data/_layouts/page.html +14 -0
- data/_layouts/post.html +20 -0
- data/_sass/writers-zone/_base.scss +198 -0
- data/_sass/writers-zone/_layout.scss +237 -0
- data/_sass/writers-zone/_plugins.scss +77 -0
- data/_sass/writers-zone/_syntax-highlighting.scss +71 -0
- data/_sass/writers-zone.scss +44 -0
- data/demo/Gemfile +32 -0
- data/demo/_config.yml +86 -0
- data/demo/_posts/2016-09-21-welcome-to-jekyll.markdown +25 -0
- data/demo/_posts/2016-09-30-jekyll-gist-demo.md +34 -0
- data/demo/about.md +19 -0
- data/demo/css/main.scss +39 -0
- data/demo/feed.xml +30 -0
- data/demo/index.html +23 -0
- data/demo/search.json +28 -0
- metadata +106 -0
@@ -0,0 +1,237 @@
|
|
1
|
+
/**
|
2
|
+
* Site header
|
3
|
+
*/
|
4
|
+
.site-header {
|
5
|
+
border-top: 5px solid $grey-color-dark;
|
6
|
+
border-bottom: 1px solid $grey-color-light;
|
7
|
+
min-height: 56px;
|
8
|
+
|
9
|
+
// Positioning context for the mobile navigation icon
|
10
|
+
position: relative;
|
11
|
+
}
|
12
|
+
|
13
|
+
.site-title {
|
14
|
+
font-size: 26px;
|
15
|
+
font-weight: 300;
|
16
|
+
line-height: 56px;
|
17
|
+
letter-spacing: -1px;
|
18
|
+
margin-bottom: 0;
|
19
|
+
float: left;
|
20
|
+
|
21
|
+
&,
|
22
|
+
&:visited {
|
23
|
+
color: $grey-color-dark;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
.site-nav {
|
28
|
+
float: right;
|
29
|
+
line-height: 56px;
|
30
|
+
|
31
|
+
.menu-icon {
|
32
|
+
display: none;
|
33
|
+
}
|
34
|
+
|
35
|
+
.page-link {
|
36
|
+
color: $text-color;
|
37
|
+
line-height: $base-line-height;
|
38
|
+
|
39
|
+
// Gaps between nav items, but not on the last one
|
40
|
+
&:not(:last-child) {
|
41
|
+
margin-right: 20px;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
@include media-query($on-palm) {
|
46
|
+
position: absolute;
|
47
|
+
top: 9px;
|
48
|
+
right: $spacing-unit / 2;
|
49
|
+
background-color: $background-color;
|
50
|
+
border: 1px solid $grey-color-light;
|
51
|
+
border-radius: 5px;
|
52
|
+
text-align: right;
|
53
|
+
|
54
|
+
.menu-icon {
|
55
|
+
display: block;
|
56
|
+
float: right;
|
57
|
+
width: 36px;
|
58
|
+
height: 26px;
|
59
|
+
line-height: 0;
|
60
|
+
padding-top: 10px;
|
61
|
+
text-align: center;
|
62
|
+
|
63
|
+
> svg path {
|
64
|
+
fill: $grey-color-dark;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
.trigger {
|
69
|
+
clear: both;
|
70
|
+
display: none;
|
71
|
+
}
|
72
|
+
|
73
|
+
&:hover .trigger {
|
74
|
+
display: block;
|
75
|
+
padding-bottom: 5px;
|
76
|
+
}
|
77
|
+
|
78
|
+
.page-link {
|
79
|
+
display: block;
|
80
|
+
padding: 5px 10px;
|
81
|
+
|
82
|
+
&:not(:last-child) {
|
83
|
+
margin-right: 0;
|
84
|
+
}
|
85
|
+
margin-left: 20px;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
/**
|
93
|
+
* Site footer
|
94
|
+
*/
|
95
|
+
.site-footer {
|
96
|
+
border-top: 1px solid $grey-color-light;
|
97
|
+
padding: $spacing-unit 0;
|
98
|
+
}
|
99
|
+
|
100
|
+
.footer-heading {
|
101
|
+
font-size: 18px;
|
102
|
+
margin-bottom: $spacing-unit / 2;
|
103
|
+
}
|
104
|
+
|
105
|
+
.contact-list,
|
106
|
+
.social-media-list {
|
107
|
+
list-style: none;
|
108
|
+
margin-left: 0;
|
109
|
+
}
|
110
|
+
|
111
|
+
.footer-col-wrapper {
|
112
|
+
font-size: 15px;
|
113
|
+
color: $grey-color;
|
114
|
+
margin-left: -$spacing-unit / 2;
|
115
|
+
@extend %clearfix;
|
116
|
+
}
|
117
|
+
|
118
|
+
.footer-col {
|
119
|
+
float: left;
|
120
|
+
margin-bottom: $spacing-unit / 2;
|
121
|
+
padding-left: $spacing-unit / 2;
|
122
|
+
}
|
123
|
+
|
124
|
+
.footer-col-1 {
|
125
|
+
width: -webkit-calc(35% - (#{$spacing-unit} / 2));
|
126
|
+
width: calc(35% - (#{$spacing-unit} / 2));
|
127
|
+
}
|
128
|
+
|
129
|
+
.footer-col-2 {
|
130
|
+
width: -webkit-calc(20% - (#{$spacing-unit} / 2));
|
131
|
+
width: calc(20% - (#{$spacing-unit} / 2));
|
132
|
+
}
|
133
|
+
|
134
|
+
.footer-col-3 {
|
135
|
+
width: -webkit-calc(45% - (#{$spacing-unit} / 2));
|
136
|
+
width: calc(45% - (#{$spacing-unit} / 2));
|
137
|
+
}
|
138
|
+
|
139
|
+
@include media-query($on-laptop) {
|
140
|
+
.footer-col-1,
|
141
|
+
.footer-col-2 {
|
142
|
+
width: -webkit-calc(50% - (#{$spacing-unit} / 2));
|
143
|
+
width: calc(50% - (#{$spacing-unit} / 2));
|
144
|
+
}
|
145
|
+
|
146
|
+
.footer-col-3 {
|
147
|
+
width: -webkit-calc(100% - (#{$spacing-unit} / 2));
|
148
|
+
width: calc(100% - (#{$spacing-unit} / 2));
|
149
|
+
}
|
150
|
+
}
|
151
|
+
|
152
|
+
@include media-query($on-palm) {
|
153
|
+
.footer-col {
|
154
|
+
float: none;
|
155
|
+
width: -webkit-calc(100% - (#{$spacing-unit} / 2));
|
156
|
+
width: calc(100% - (#{$spacing-unit} / 2));
|
157
|
+
}
|
158
|
+
}
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
/**
|
163
|
+
* Page content
|
164
|
+
*/
|
165
|
+
.page-content {
|
166
|
+
padding: $spacing-unit 0;
|
167
|
+
}
|
168
|
+
|
169
|
+
.page-heading {
|
170
|
+
font-size: 20px;
|
171
|
+
}
|
172
|
+
|
173
|
+
.post-list {
|
174
|
+
margin-left: 0;
|
175
|
+
list-style: none;
|
176
|
+
|
177
|
+
> li {
|
178
|
+
margin-bottom: $spacing-unit;
|
179
|
+
}
|
180
|
+
}
|
181
|
+
|
182
|
+
.post-meta {
|
183
|
+
font-size: $small-font-size;
|
184
|
+
color: $grey-color;
|
185
|
+
}
|
186
|
+
|
187
|
+
.post-link {
|
188
|
+
display: block;
|
189
|
+
font-size: 24px;
|
190
|
+
}
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
/**
|
195
|
+
* Posts
|
196
|
+
*/
|
197
|
+
.post-header {
|
198
|
+
margin-bottom: $spacing-unit;
|
199
|
+
}
|
200
|
+
|
201
|
+
.post-title {
|
202
|
+
font-size: 42px;
|
203
|
+
letter-spacing: -1px;
|
204
|
+
line-height: 1;
|
205
|
+
|
206
|
+
@include media-query($on-laptop) {
|
207
|
+
font-size: 36px;
|
208
|
+
}
|
209
|
+
}
|
210
|
+
|
211
|
+
.post-content {
|
212
|
+
margin-bottom: $spacing-unit;
|
213
|
+
|
214
|
+
h2 {
|
215
|
+
font-size: 32px;
|
216
|
+
|
217
|
+
@include media-query($on-laptop) {
|
218
|
+
font-size: 28px;
|
219
|
+
}
|
220
|
+
}
|
221
|
+
|
222
|
+
h3 {
|
223
|
+
font-size: 26px;
|
224
|
+
|
225
|
+
@include media-query($on-laptop) {
|
226
|
+
font-size: 22px;
|
227
|
+
}
|
228
|
+
}
|
229
|
+
|
230
|
+
h4 {
|
231
|
+
font-size: 20px;
|
232
|
+
|
233
|
+
@include media-query($on-laptop) {
|
234
|
+
font-size: 18px;
|
235
|
+
}
|
236
|
+
}
|
237
|
+
}
|
@@ -0,0 +1,77 @@
|
|
1
|
+
/**
|
2
|
+
* Pagination
|
3
|
+
*/
|
4
|
+
|
5
|
+
.pagination-pages,
|
6
|
+
.pagination-posts {
|
7
|
+
|
8
|
+
padding-top: $spacing-unit;
|
9
|
+
border-top: 1px solid $grey-color-light;
|
10
|
+
|
11
|
+
// compatibility with all browsers (desktop/mobile) less
|
12
|
+
// - IE < 10
|
13
|
+
// - Opera (desktop/mobile) < 12.1
|
14
|
+
// more datails: http://caniuse.com/#feat=flexbox
|
15
|
+
|
16
|
+
display: -webkit-box;
|
17
|
+
display: -moz-box;
|
18
|
+
display: -ms-flexbox;
|
19
|
+
display: -webkit-flex;
|
20
|
+
display: flex;
|
21
|
+
|
22
|
+
-webkit-box-pack: justify;
|
23
|
+
-moz-box-pack: justify;
|
24
|
+
-webkit-justify-content: space-between;
|
25
|
+
-ms-flex-pack: justify;
|
26
|
+
justify-content: space-between;
|
27
|
+
|
28
|
+
}
|
29
|
+
|
30
|
+
.pagination-pages { margin-top: $spacing-unit / 2 ; }
|
31
|
+
|
32
|
+
.previous-posts,
|
33
|
+
.next-posts {
|
34
|
+
|
35
|
+
-webkit-box-flex: 0;
|
36
|
+
-moz-box-flex: 0;
|
37
|
+
-webkit-flex: 0 1 48%;
|
38
|
+
-ms-flex: 0 1 48%;
|
39
|
+
flex: 0 1 48%;
|
40
|
+
|
41
|
+
}
|
42
|
+
|
43
|
+
.next-posts { text-align: right; }
|
44
|
+
|
45
|
+
/**
|
46
|
+
* Search
|
47
|
+
*/
|
48
|
+
|
49
|
+
.search {
|
50
|
+
|
51
|
+
margin-bottom: $spacing-unit;
|
52
|
+
padding-bottom: $spacing-unit;
|
53
|
+
border-bottom: 1px solid $grey-color-light;
|
54
|
+
color: $grey-color;
|
55
|
+
|
56
|
+
input {
|
57
|
+
|
58
|
+
border: 1px solid $grey-color-light;
|
59
|
+
padding: 0.1rem 0.3rem;
|
60
|
+
font-size: $base-font-size;
|
61
|
+
color: $grey-color;
|
62
|
+
|
63
|
+
}
|
64
|
+
|
65
|
+
ul {
|
66
|
+
|
67
|
+
list-style: none;
|
68
|
+
margin: 0;
|
69
|
+
padding: 0;
|
70
|
+
|
71
|
+
li:first-child { padding-top: $spacing-unit; }
|
72
|
+
|
73
|
+
a { margin-left: $spacing-unit / 8; }
|
74
|
+
|
75
|
+
}
|
76
|
+
|
77
|
+
}
|
@@ -0,0 +1,71 @@
|
|
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
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
// Define defaults for each variable.
|
2
|
+
|
3
|
+
$base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
|
4
|
+
$base-font-size: 16px !default;
|
5
|
+
$base-font-weight: 400 !default;
|
6
|
+
$small-font-size: $base-font-size * 0.875 !default;
|
7
|
+
$base-line-height: 1.5 !default;
|
8
|
+
|
9
|
+
$spacing-unit: 30px !default;
|
10
|
+
|
11
|
+
$text-color: #111 !default;
|
12
|
+
$background-color: #fdfdfd !default;
|
13
|
+
$brand-color: #2a7ae2 !default;
|
14
|
+
|
15
|
+
$grey-color: #828282 !default;
|
16
|
+
$grey-color-light: lighten($grey-color, 40%) !default;
|
17
|
+
$grey-color-dark: darken($grey-color, 25%) !default;
|
18
|
+
|
19
|
+
// Width of the content area
|
20
|
+
$content-width: 800px !default;
|
21
|
+
|
22
|
+
$on-palm: 600px !default;
|
23
|
+
$on-laptop: 800px !default;
|
24
|
+
|
25
|
+
// Use media queries like this:
|
26
|
+
// @include media-query($on-palm) {
|
27
|
+
// .wrapper {
|
28
|
+
// padding-right: $spacing-unit / 2;
|
29
|
+
// padding-left: $spacing-unit / 2;
|
30
|
+
// }
|
31
|
+
// }
|
32
|
+
@mixin media-query($device) {
|
33
|
+
@media screen and (max-width: $device) {
|
34
|
+
@content;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
// Import partials.
|
39
|
+
@import
|
40
|
+
"writers-zone/base",
|
41
|
+
"writers-zone/layout",
|
42
|
+
"writers-zone/plugins",
|
43
|
+
"writers-zone/syntax-highlighting"
|
44
|
+
;
|
data/demo/Gemfile
ADDED
@@ -0,0 +1,32 @@
|
|
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", "~> 3.2"
|
13
|
+
|
14
|
+
# This is the default theme for new Jekyll sites. You may change this to anything you like.
|
15
|
+
gem "writers-zone", "~> 0.1"
|
16
|
+
|
17
|
+
## Plugins
|
18
|
+
|
19
|
+
gem "jekyll-feed", "~> 0.7"
|
20
|
+
gem "jekyll-gist", "~> 1.4"
|
21
|
+
gem "jekyll-paginate", "~> 1.1"
|
22
|
+
gem "jekyll-seo-tag", "~> 2.0"
|
23
|
+
gem "jekyll-sitemap", "~> 0.11"
|
24
|
+
|
25
|
+
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
|
26
|
+
# uncomment the line below. To upgrade, run `bundle update github-pages`.
|
27
|
+
# gem "github-pages", group: :jekyll_plugins
|
28
|
+
|
29
|
+
# If you have any plugins, put them here!
|
30
|
+
# group :jekyll_plugins do
|
31
|
+
# gem "jekyll-github-metadata", "~> 1.0"
|
32
|
+
# end
|
data/demo/_config.yml
ADDED
@@ -0,0 +1,86 @@
|
|
1
|
+
# Welcome to Jekyll!
|
2
|
+
#
|
3
|
+
# This config file is meant for settings that affect your whole blog, values
|
4
|
+
# which you are expected to set up once and rarely edit after that. If you find
|
5
|
+
# yourself editing these this file very often, consider using Jekyll's data files
|
6
|
+
# feature for the data you need to update frequently.
|
7
|
+
#
|
8
|
+
# For technical reasons, this file is *NOT* reloaded automatically when you use
|
9
|
+
# 'jekyll serve'. If you change this file, please restart the server process.
|
10
|
+
|
11
|
+
# Site settings
|
12
|
+
# These are used to personalize your new site. If you look in the HTML files,
|
13
|
+
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
|
14
|
+
# You can create any custom variable you would like, and they will be accessible
|
15
|
+
# in the templates via {{ site.myvariable }}.
|
16
|
+
|
17
|
+
# Site
|
18
|
+
title: Test
|
19
|
+
description: > # this means to ignore newlines until "baseurl:"
|
20
|
+
Gem Theme for Jekyll (3.2.1) based
|
21
|
+
on the official theme minima (1.2) by Parker Moore.
|
22
|
+
baseurl: "" # the subpath of your site, e.g. /blog
|
23
|
+
url: "http://127.0.0.1:4000" # the base hostname & protocol for your site
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
lang: es-ES
|
29
|
+
|
30
|
+
disqus:
|
31
|
+
shortname: my_disqus_shortname
|
32
|
+
|
33
|
+
#github:
|
34
|
+
# url: "http://github-url.com"
|
35
|
+
|
36
|
+
google_analytics: UA-NNNNNNNN-N
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
# Author
|
44
|
+
author: StartZeroGnu
|
45
|
+
email: test@email.com
|
46
|
+
twitter_username: testTwitter
|
47
|
+
github_username: testGitHub
|
48
|
+
|
49
|
+
exclude:
|
50
|
+
- Gemfile
|
51
|
+
- Gemfile.lock
|
52
|
+
|
53
|
+
# Build settings
|
54
|
+
markdown: kramdown
|
55
|
+
theme: writers-zone
|
56
|
+
|
57
|
+
# Plugins
|
58
|
+
gems:
|
59
|
+
- jekyll-feed
|
60
|
+
- jekyll-gist
|
61
|
+
- jekyll-paginate
|
62
|
+
- jekyll-seo-tag
|
63
|
+
- jekyll-sitemap
|
64
|
+
|
65
|
+
# Feed
|
66
|
+
feed:
|
67
|
+
path: atom.xml
|
68
|
+
|
69
|
+
# Gist
|
70
|
+
gist:
|
71
|
+
noscript: false
|
72
|
+
|
73
|
+
# Paginate
|
74
|
+
paginate: 3
|
75
|
+
paginate_path: /page:num/
|
76
|
+
|
77
|
+
# SEO (basic config)
|
78
|
+
#
|
79
|
+
# Advanced configs https://github.com/jekyll/jekyll-seo-tag#advanced-usage
|
80
|
+
twitter:
|
81
|
+
username: SeoTwitt # twitter site
|
82
|
+
|
83
|
+
facebook:
|
84
|
+
app_id: test-id
|
85
|
+
publisher: test-publisher
|
86
|
+
admins: test-admins
|
@@ -0,0 +1,25 @@
|
|
1
|
+
---
|
2
|
+
layout: post
|
3
|
+
title: "Welcome to Jekyll!"
|
4
|
+
date: 2016-09-21 18:24:21 +0200
|
5
|
+
categories: jekyll update
|
6
|
+
---
|
7
|
+
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
|
8
|
+
|
9
|
+
To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.
|
10
|
+
|
11
|
+
Jekyll also offers powerful support for code snippets:
|
12
|
+
|
13
|
+
{% highlight ruby %}
|
14
|
+
def print_hi(name)
|
15
|
+
puts "Hi, #{name}"
|
16
|
+
end
|
17
|
+
print_hi('Tom')
|
18
|
+
#=> prints 'Hi, Tom' to STDOUT.
|
19
|
+
{% endhighlight %}
|
20
|
+
|
21
|
+
Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk].
|
22
|
+
|
23
|
+
[jekyll-docs]: http://jekyllrb.com/docs/home
|
24
|
+
[jekyll-gh]: https://github.com/jekyll/jekyll
|
25
|
+
[jekyll-talk]: https://talk.jekyllrb.com/
|
@@ -0,0 +1,34 @@
|
|
1
|
+
---
|
2
|
+
layout: post
|
3
|
+
title: "Jekyll Gist (demo)"
|
4
|
+
date: 2016-09-30 11:43:21 +0200
|
5
|
+
categories: jekyll plugins
|
6
|
+
|
7
|
+
tags: jekyll-gist demo
|
8
|
+
author: StartZeroGnu
|
9
|
+
comments: false
|
10
|
+
---
|
11
|
+
|
12
|
+
Quick start jekyll-gist
|
13
|
+
|
14
|
+
* Show the entire Gist (all files)
|
15
|
+
|
16
|
+
{% raw %}
|
17
|
+
```gist
|
18
|
+
{% gist StartZeroGnu/8b038a1a07b8f7aa8e429960e1500662 %}
|
19
|
+
```
|
20
|
+
{% endraw %}
|
21
|
+
|
22
|
+
{% gist StartZeroGnu/8b038a1a07b8f7aa8e429960e1500662 %}
|
23
|
+
|
24
|
+
* Show just the specified file
|
25
|
+
|
26
|
+
{% raw %}
|
27
|
+
```gist
|
28
|
+
{% gist StartZeroGnu/8b038a1a07b8f7aa8e429960e1500662 demo2.md %}
|
29
|
+
```
|
30
|
+
{% endraw %}
|
31
|
+
|
32
|
+
{% gist StartZeroGnu/8b038a1a07b8f7aa8e429960e1500662 demo2.md %}
|
33
|
+
|
34
|
+
## [More info](https://github.com/jekyll/jekyll-gist)
|
data/demo/about.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
title: About
|
4
|
+
permalink: /about/
|
5
|
+
---
|
6
|
+
|
7
|
+
This is **MY custom** Jekyll theme based on the official theme
|
8
|
+
[minima](https://github.com/jekyll/minima)
|
9
|
+
|
10
|
+
You can find out more info about customizing your Jekyll theme, as well as basic
|
11
|
+
Jekyll usage documentation at [jekyllrb.com](http://jekyllrb.com/)
|
12
|
+
|
13
|
+
You can find the source code for the Jekyll new theme at:
|
14
|
+
{% include icon-github.html username="jekyll" %} /
|
15
|
+
[minima](https://github.com/jekyll/minima)
|
16
|
+
|
17
|
+
You can find the source code for Jekyll at
|
18
|
+
{% include icon-github.html username="jekyll" %} /
|
19
|
+
[jekyll](https://github.com/jekyll/jekyll)
|
data/demo/css/main.scss
ADDED
@@ -0,0 +1,39 @@
|
|
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
|
+
// Minima also includes a mixin for defining media queries.
|
30
|
+
// Use media queries like this:
|
31
|
+
// @include media-query($on-palm) {
|
32
|
+
// .wrapper {
|
33
|
+
// padding-right: $spacing-unit / 2;
|
34
|
+
// padding-left: $spacing-unit / 2;
|
35
|
+
// }
|
36
|
+
// }
|
37
|
+
|
38
|
+
// Import partials
|
39
|
+
@import "writers-zone";
|
data/demo/feed.xml
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
---
|
2
|
+
layout: null
|
3
|
+
---
|
4
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
5
|
+
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
6
|
+
<channel>
|
7
|
+
<title>{{ site.title | xml_escape }}</title>
|
8
|
+
<description>{{ site.description | xml_escape }}</description>
|
9
|
+
<link>{{ site.url }}{{ site.baseurl }}/</link>
|
10
|
+
<atom:link href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" rel="self" type="application/rss+xml"/>
|
11
|
+
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
|
12
|
+
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
|
13
|
+
<generator>Jekyll v{{ jekyll.version }}</generator>
|
14
|
+
{% for post in site.posts limit:10 %}
|
15
|
+
<item>
|
16
|
+
<title>{{ post.title | xml_escape }}</title>
|
17
|
+
<description>{{ post.content | xml_escape }}</description>
|
18
|
+
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
|
19
|
+
<link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link>
|
20
|
+
<guid isPermaLink="true">{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid>
|
21
|
+
{% for tag in post.tags %}
|
22
|
+
<category>{{ tag | xml_escape }}</category>
|
23
|
+
{% endfor %}
|
24
|
+
{% for cat in post.categories %}
|
25
|
+
<category>{{ cat | xml_escape }}</category>
|
26
|
+
{% endfor %}
|
27
|
+
</item>
|
28
|
+
{% endfor %}
|
29
|
+
</channel>
|
30
|
+
</rss>
|