j1-template 2022.5.1.rc1 → 2022.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/procedures/layouts/module_writer.proc +1 -1
- data/assets/data/banner.html +2 -2
- data/assets/data/panel.html +4 -4
- data/assets/themes/j1/adapter/js/attic.js +19 -2
- data/assets/themes/j1/adapter/js/rtable.js +68 -5
- data/assets/themes/j1/adapter/js/scroller.js +7 -0
- data/assets/themes/j1/core/css/vendor.css +5 -6
- data/assets/themes/j1/core/css/vendor.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +2 -1
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/jquery/js/extensions/hasClass.js +20 -0
- data/assets/themes/j1/modules/jquery/js/extensions/removeClass.js +24 -0
- data/assets/themes/j1/modules/rtable/js/rtable.js +22 -16
- data/assets/themes/j1/modules/rtable/js/rtable.min.js +1 -1
- data/assets/themes/j1/modules/themeSwitcher/LICENSE +21 -21
- data/assets/themes/j1/modules/themeSwitcher/README.md +166 -166
- data/lib/j1/commands/app.rb +36 -0
- data/lib/j1/commands/generate.rb +1 -1
- data/lib/j1/commands/patch.rb +1 -1
- data/lib/j1/commands/rebuild.rb +1 -1
- data/lib/j1/commands/reset.rb +1 -1
- data/lib/j1/commands/setup.rb +1 -1
- data/lib/j1/commands/site.rb +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/j1_app.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/asciidoc2pdf/images/cover/readme +39 -0
- data/lib/starter_web/_data/asciidoc2pdf/themes/base-theme.yml +113 -117
- data/lib/starter_web/_data/asciidoc2pdf/themes/default-for-print-theme.yml +25 -24
- data/lib/starter_web/_data/asciidoc2pdf/themes/default-for-print-with-fallback-font-theme.yml +1 -0
- data/lib/starter_web/_data/asciidoc2pdf/themes/default-theme.yml +215 -212
- data/lib/starter_web/_data/asciidoc2pdf/themes/default-with-fallback-font-theme.yml +9 -5
- data/lib/starter_web/_data/asciidoc2pdf/themes/j1-theme.yml +24 -5
- data/lib/starter_web/_data/blocks/banner.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/rtable.yml +12 -1
- data/lib/starter_web/_data/puma/config.rb +3 -0
- data/lib/starter_web/_data/resources.yml +4 -2
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/assets/images/banner/1280x600/lunr.jpg +0 -0
- data/lib/starter_web/assets/images/{modules/attics/banner/library-1920x800-bw.jpg → banner/1920x800/library.jpg} +0 -0
- data/lib/starter_web/assets/images/banner/scalable/readme +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/{ev.jpg → _ev.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/_guillaume-bolduc.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/crawford-jolly.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/josh-liu.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/kristopher-roller.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/moritz-kindler.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/nasa.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/{alexander-redl.jpg → _alexander-redl.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/{alexander-shatov-1920x1280.jpg → _alexander-shatov-1920x1280.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/{annie-spratt-1920x1280.jpg → _annie-spratt-1920x1280.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/{antonino-visalli-1920x1280.jpg → _antonino-visalli-1920x1280.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/{christa-dodoo-1920x1280.jpg → _christa-dodoo-1920x1280.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/{guillaume-bolduc-1920x1280.jpg → _guillaume-bolduc-1920x1280.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/{harpal-singh.jpg → _harpal-singh.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/{humble-lamb-1920x1280.jpg → _humble-lamb-1920x1280.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/{john-schnobrich-2-1920x1280.jpg → _john-schnobrich-2-1920x1280.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/{kirklai-1920x1280.jpg → _kirklai-1920x1280.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/{romain-vignes-1920x1280.jpg → _romain-vignes-1920x1280.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/{runner-1920x1200.jpg → _runner-1920x1200.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/{spacex-1920x1280.jpg → _spacex-1920x1280.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/_vladislav-klapin-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/{wrongtog-1920x1280.jpg → _wrongtog-1920x1280.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/{building-blocks-1920x1280-bw.jpg → building-blocks-1920x1280.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/lunr-1280x800.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/{shubham-dhage-2-1920x1280.jpg → shubham-dhage-1920x1280.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/vladislav-klapin-1920x1280.jpg +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2022-02-01-about-j1.adoc +2 -2
- data/lib/starter_web/index.html +23 -18
- data/lib/starter_web/package.json +5 -4
- data/lib/starter_web/pages/public/about/features.adoc +9 -4
- data/lib/starter_web/pages/public/about/reporting_issues.adoc +9 -5
- data/lib/starter_web/pages/public/about/site.adoc +8 -2
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/000_intro.adoc +5 -3
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +3 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +3 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/attributes.asciidoc +2 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/{100_converter/000_basic_example.asciidoc → 000_examples/basic_example.asciidoc} +1 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/111_about_the_converter.asciidoc +20 -11
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/112_getting_started.asciidoc +76 -24
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/211_language_overview.asciidoc +33 -29
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/212_values.asciidoc +67 -88
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/213_fonts.asciidoc +40 -39
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/images/readme +1 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/tables/math_expressions.asciidoc +19 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/tables/measurement_units.asciidoc +22 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +20 -5
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/100_chapter.asciidoc +5 -325
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/200_chapter.asciidoc +3 -134
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/images/readme +1 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/tables/build_command_options.asciidoc +72 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/tables/files_and_folders.asciidoc +66 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/tables/global_configuration_options.asciidoc +63 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/tables/global_variables.asciidoc +26 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/tables/page_variables.asciidoc +54 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/tables/serve_command_options.asciidoc +45 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/tables/site_variables.asciidoc +59 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +21 -7
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +124 -122
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +3 -3
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +3 -3
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +3 -3
- data/lib/starter_web/pages/public/blog/navigator/archive.html +3 -3
- data/lib/starter_web/pages/public/blog/navigator/index.html +3 -3
- data/lib/starter_web/pages/public/features/general.adoc +4 -4
- data/lib/starter_web/pages/public/features/template.adoc +1 -2
- data/lib/starter_web/pages/public/learn/quickstart.adoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/{400_asciidoc_extensions.adoc → asciidoc_extensions.adoc} +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/{410_bs_modals_extentions.adoc → bs_modals_extentions.adoc} +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/{300_icon_fonts.adoc → icon_fonts.adoc} +1 -2
- data/lib/starter_web/pages/public/learn/roundtrip/{100_present_images.adoc → present_images.adoc} +10 -10
- data/lib/starter_web/pages/public/learn/roundtrip/{100_present_videos.adoc → present_videos.adoc} +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{600_quicksearch.adoc → quicksearch.adoc} +6 -7
- data/lib/starter_web/pages/public/learn/roundtrip/{420_responsive_tables_extensions.adoc → responsive_tables_extensions.adoc} +86 -73
- data/lib/starter_web/pages/public/learn/roundtrip/{500_themes.adoc → themes.adoc} +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/{200_typography.adoc → typography.adoc} +6 -6
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +2 -2
- data/lib/starter_web/pages/public/legal/de/100_copyright.adoc +3 -2
- data/lib/starter_web/pages/public/legal/de/100_impress.adoc +3 -2
- data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +3 -2
- data/lib/starter_web/pages/public/legal/de/400_comment_policy.adoc +3 -2
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +3 -2
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +3 -2
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +3 -2
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +3 -2
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +2 -2
- data/lib/starter_web/pages/public/plans/plans.adoc +2 -2
- data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +5 -5
- data/lib/starter_web/pages/public/se/se-fake.adoc +2 -2
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +58 -40
- data/lib/starter_web/assets/images/modules/attics/1920x1280/ben-kolde.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/braden-collum.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/firmbee-com.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/max-harlynking.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/admin-dashboard-bootstrap-1280x800-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/lunr-banner-1280x800.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/franck-1920x12800.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/vladislav-klapin-2-1920x1280.jpg +0 -0
@@ -11,25 +11,40 @@ description: >
|
|
11
11
|
structure. Complex AsciiDoc projects of type documentation can be
|
12
12
|
easily worked on by multiple authors.
|
13
13
|
|
14
|
-
categories: [ Knowledge ]
|
15
|
-
tags: [
|
14
|
+
categories: [ Knowledge, Asciidoc ]
|
15
|
+
tags: [ Skeleton, Documentation, Book ]
|
16
16
|
|
17
17
|
robots:
|
18
18
|
index: false
|
19
19
|
follow: false
|
20
20
|
|
21
|
+
personalization: false
|
22
|
+
comments: false
|
23
|
+
exclude_from_search: false
|
24
|
+
|
25
|
+
fab_menu_id: page_ctrl
|
26
|
+
scrollbar: false
|
27
|
+
toc: true
|
28
|
+
|
21
29
|
permalink: /pages/public/skeleton/documentation/
|
22
|
-
regenerate:
|
30
|
+
regenerate: true
|
23
31
|
|
24
32
|
resources: [ animate, clipboard, lightbox, rouge ]
|
25
33
|
resource_options:
|
34
|
+
|
35
|
+
- toccer:
|
36
|
+
collapseDepth: 3
|
37
|
+
|
26
38
|
- attic:
|
39
|
+
|
40
|
+
padding_top: 400
|
41
|
+
padding_bottom: 50
|
42
|
+
opacity: 0.5
|
43
|
+
|
27
44
|
slides:
|
28
45
|
|
29
46
|
- url: /assets/images/modules/attics/sigmund-1920x1280.jpg
|
30
47
|
alt: Photo by Sigmund on Unsplash
|
31
|
-
title: Skeleton
|
32
|
-
tagline: documentation
|
33
48
|
alignY: 0.3
|
34
49
|
badge:
|
35
50
|
type: unsplash
|
@@ -13,99 +13,7 @@ The table below lists the available settings for Jekyll, and the various
|
|
13
13
|
`options` (specified in the configuration file) and `flags` (specified on the
|
14
14
|
command-line) that control them.
|
15
15
|
|
16
|
-
[
|
17
|
-
|=======================================================================
|
18
|
-
|Setting |Options and Flags
|
19
|
-
a|
|
20
|
-
*Site Source*
|
21
|
-
|
22
|
-
Change the directory where Jekyll will read files
|
23
|
-
|
24
|
-
a|
|
25
|
-
`source: DIR`
|
26
|
-
|
27
|
-
`-s, --source DIR`
|
28
|
-
|
29
|
-
a|
|
30
|
-
*Site Destination*
|
31
|
-
|
32
|
-
Change the directory where Jekyll will write files
|
33
|
-
|
34
|
-
a|
|
35
|
-
`destination: DIR`
|
36
|
-
|
37
|
-
`-d, --destination DIR`
|
38
|
-
|
39
|
-
a|
|
40
|
-
*Safe*
|
41
|
-
|
42
|
-
Disable custom plugins, and ignore symbolic links.
|
43
|
-
|
44
|
-
a|
|
45
|
-
`safe: BOOL`
|
46
|
-
|
47
|
-
`--safe`
|
48
|
-
|
49
|
-
a|
|
50
|
-
*Exclude*
|
51
|
-
|
52
|
-
Exclude directories and/or files from the conversion. These exclusions
|
53
|
-
are relative to the site's source directory and cannot be outside the
|
54
|
-
source directory.
|
55
|
-
|
56
|
-
|`exclude: [DIR, FILE, ...]`
|
57
|
-
|
58
|
-
a|
|
59
|
-
*Include*
|
60
|
-
|
61
|
-
Force inclusion of directories and/or files in the conversion.
|
62
|
-
`.htaccess` is a good example since dotfiles are excluded by default.
|
63
|
-
|
64
|
-
|`include: [DIR, FILE, ...]`
|
65
|
-
|
66
|
-
a|
|
67
|
-
*Keep files*
|
68
|
-
|
69
|
-
When clobbering the site destination, keep the selected files. Useful
|
70
|
-
for files that are not generated by jekyll; e.g. files or assets that
|
71
|
-
are generated by your build tool. The paths are relative to the
|
72
|
-
`destination`.
|
73
|
-
|
74
|
-
|`keep_files: [DIR, FILE, ...]`
|
75
|
-
|
76
|
-
a|
|
77
|
-
*Time Zone*
|
78
|
-
|
79
|
-
Set the time zone for site generation. This sets the `TZ` environment
|
80
|
-
variable, which Ruby uses to handle time and date creation and
|
81
|
-
manipulation. Any entry from the
|
82
|
-
https://en.wikipedia.org/wiki/Tz_database[IANA Time Zone Database] is
|
83
|
-
valid, e.g. `America/New_York`. A list of all available values can be
|
84
|
-
found
|
85
|
-
https://en.wikipedia.org/wiki/List_of_tz_database_time_zones[here]. The
|
86
|
-
default is the local time zone, as set by your operating system.
|
87
|
-
|
88
|
-
|`timezone: TIMEZONE`
|
89
|
-
|
90
|
-
a|
|
91
|
-
*Encoding*
|
92
|
-
|
93
|
-
Set the encoding of files by name (only available for Ruby 1.9 or
|
94
|
-
later). The default value is `utf-8` starting in 2.0.0, and `nil` before
|
95
|
-
2.0.0, which will yield the Ruby default of `ASCII-8BIT`. Available
|
96
|
-
encodings can be shown by the command
|
97
|
-
`ruby -e 'puts Encoding::list.join("\n")'`.
|
98
|
-
|
99
|
-
|`encoding: ENCODING`
|
100
|
-
|
101
|
-
a|
|
102
|
-
*Defaults*
|
103
|
-
|
104
|
-
Set defaults for YAML Front Matter variables.
|
105
|
-
|
106
|
-
|see below
|
107
|
-
|=======================================================================
|
108
|
-
|
16
|
+
include::../tables/global_configuration_options.asciidoc[]
|
109
17
|
|
110
18
|
[WARNING]
|
111
19
|
====
|
@@ -122,118 +30,7 @@ staging area and copy files from there to your web server.
|
|
122
30
|
|
123
31
|
=== Build Command Options
|
124
32
|
|
125
|
-
[
|
126
|
-
|=======================================================================
|
127
|
-
|Setting |Options and Flags
|
128
|
-
a|
|
129
|
-
*Regeneration*
|
130
|
-
|
131
|
-
Enable auto-regeneration of the site when files are modified.
|
132
|
-
|
133
|
-
|`-w, --[no-]watch`
|
134
|
-
|
135
|
-
a|
|
136
|
-
*Configuration*
|
137
|
-
|
138
|
-
Specify config files instead of using `_config.yml` automatically.
|
139
|
-
Settings in later files override settings in earlier files.
|
140
|
-
|
141
|
-
|`--config FILE1[,FILE2,...]`
|
142
|
-
|
143
|
-
a|
|
144
|
-
*Drafts*
|
145
|
-
|
146
|
-
Process and render draft posts.
|
147
|
-
|
148
|
-
a|
|
149
|
-
`show_drafts: BOOL`
|
150
|
-
|
151
|
-
`--drafts`
|
152
|
-
|
153
|
-
a|
|
154
|
-
*Environment*
|
155
|
-
|
156
|
-
Use a specific environment value in the build.
|
157
|
-
|
158
|
-
|`JEKYLL_ENV=production`
|
159
|
-
|
160
|
-
a|
|
161
|
-
*Future*
|
162
|
-
|
163
|
-
Publish posts or collection documents with a future date.
|
164
|
-
|
165
|
-
a|
|
166
|
-
`future: BOOL`
|
167
|
-
|
168
|
-
`--future`
|
169
|
-
|
170
|
-
a|
|
171
|
-
*LSI*
|
172
|
-
|
173
|
-
Produce an index for related posts.
|
174
|
-
|
175
|
-
a|
|
176
|
-
`lsi: BOOL`
|
177
|
-
|
178
|
-
`--lsi`
|
179
|
-
|
180
|
-
a|
|
181
|
-
*Limit Posts*
|
182
|
-
|
183
|
-
Limit the number of posts to parse and publish.
|
184
|
-
|
185
|
-
a|
|
186
|
-
`limit_posts: NUM`
|
187
|
-
|
188
|
-
`--limit_posts NUM`
|
189
|
-
|
190
|
-
a|
|
191
|
-
*Force polling*
|
192
|
-
|
193
|
-
Force watch to use polling.
|
194
|
-
|
195
|
-
|`--force_polling`
|
196
|
-
|
197
|
-
a|
|
198
|
-
*Verbose output*
|
199
|
-
|
200
|
-
Print verbose output.
|
201
|
-
|
202
|
-
|`-V, --verbose`
|
203
|
-
|
204
|
-
a|
|
205
|
-
*Silence Output*
|
206
|
-
|
207
|
-
Silence the normal output from Jekyll during a build
|
208
|
-
|
209
|
-
|`-q, --quiet`
|
210
|
-
|
211
|
-
a|
|
212
|
-
*Incremental build*
|
213
|
-
|
214
|
-
Enable the experimental incremental build feature. Incremental build
|
215
|
-
only re-builds posts and pages that have changed, resulting in
|
216
|
-
significant performance improvements for large sites, but may also break
|
217
|
-
site generation in certain cases.
|
218
|
-
|
219
|
-
a|
|
220
|
-
`incremental: BOOL`
|
221
|
-
|
222
|
-
`-I, --incremental`
|
223
|
-
|
224
|
-
a|
|
225
|
-
*Liquid profiler*
|
226
|
-
|
227
|
-
Generate a Liquid rendering profile to help you identify performance
|
228
|
-
bottlenecks.
|
229
|
-
|
230
|
-
a|
|
231
|
-
`profile: BOOL`
|
232
|
-
|
233
|
-
`--profile`
|
234
|
-
|
235
|
-
|=======================================================================
|
236
|
-
|
33
|
+
include::../tables/build_command_options.asciidoc[]
|
237
34
|
|
238
35
|
=== Serve Command Options
|
239
36
|
|
@@ -241,68 +38,7 @@ In addition to the options below, the `serve` sub-command can accept any of
|
|
241
38
|
the options for the `build` sub-command, which are then applied to the site
|
242
39
|
build which occurs right before your site is served.
|
243
40
|
|
244
|
-
[
|
245
|
-
|======================================================================
|
246
|
-
|Setting |Options and Flags
|
247
|
-
a|
|
248
|
-
*Local Server Port*
|
249
|
-
|
250
|
-
Listen on the given port.
|
251
|
-
|
252
|
-
a|
|
253
|
-
`port: PORT`
|
254
|
-
|
255
|
-
`--port PORT`
|
256
|
-
|
257
|
-
a|
|
258
|
-
*Local Server Hostname*
|
259
|
-
|
260
|
-
Listen at the given hostname.
|
261
|
-
|
262
|
-
a|
|
263
|
-
`host: HOSTNAME`
|
264
|
-
|
265
|
-
`--host HOSTNAME`
|
266
|
-
|
267
|
-
a|
|
268
|
-
*Base URL*
|
269
|
-
|
270
|
-
Serve the website from the given base URL
|
271
|
-
|
272
|
-
a|
|
273
|
-
`baseurl: URL`
|
274
|
-
|
275
|
-
`--baseurl URL`
|
276
|
-
|
277
|
-
a|
|
278
|
-
*Detach*
|
279
|
-
|
280
|
-
Detach the server from the terminal
|
281
|
-
|
282
|
-
a|
|
283
|
-
`detach: BOOL`
|
284
|
-
|
285
|
-
`-B, --detach`
|
286
|
-
|
287
|
-
a|
|
288
|
-
*Skips the initial site build.*
|
289
|
-
|
290
|
-
Skips the initial site build which occurs before the server is started.
|
291
|
-
|
292
|
-
|`--skip-initial-build`
|
293
|
-
a|
|
294
|
-
*X.509 (SSL) Private Key*
|
295
|
-
|
296
|
-
SSL Private Key.
|
297
|
-
|
298
|
-
|`--ssl-key`
|
299
|
-
a|
|
300
|
-
*X.509 (SSL) Certificate*
|
301
|
-
|
302
|
-
SSL Public certificate.
|
303
|
-
|
304
|
-
|`--ssl-cert`
|
305
|
-
|======================================================================
|
41
|
+
include::../tables/serve_command_options.asciidoc[]
|
306
42
|
|
307
43
|
[WARNING]
|
308
44
|
====
|
@@ -370,67 +106,11 @@ A basic Jekyll site usually looks something like this:
|
|
370
106
|
└── index.html
|
371
107
|
----
|
372
108
|
|
373
|
-
===
|
109
|
+
=== Files and Folders
|
374
110
|
|
375
111
|
An overview of what each of these does:
|
376
112
|
|
377
|
-
[
|
378
|
-
|=======================================================================
|
379
|
-
|File / Directory |Description
|
380
|
-
|`_config.yml`
|
381
|
-
|Stores configuration data. Many
|
382
|
-
of these options can be specified from the command line executable but
|
383
|
-
it's easier to specify them here so you don't have to remember them.
|
384
|
-
|
385
|
-
|`_drafts` |Drafts are unpublished posts. The format of these files is
|
386
|
-
without a date: `title.MARKUP`. Learn how to work with drafts.
|
387
|
-
|
388
|
-
|`_includes` |These are the partials that can be mixed and matched by
|
389
|
-
your layouts and posts to facilitate reuse. The liquid tag
|
390
|
-
`{% include file.ext %}` can be used to include the
|
391
|
-
partial in `_includes/file.ext`.
|
392
|
-
|
393
|
-
|`_layouts` |These are the templates that wrap posts. Layouts are chosen
|
394
|
-
on a post-by-post basis in the YAML Front Matter,
|
395
|
-
which is described in the next section. The liquid tag
|
396
|
-
`{{ content }}` is used to inject content into the
|
397
|
-
web page.
|
398
|
-
|
399
|
-
|`_posts` |Your dynamic content, so to speak. The naming convention of
|
400
|
-
these files is important, and must follow the format:
|
401
|
-
`YEAR-MONTH-DAY-title.MARKUP`. The permalinks can
|
402
|
-
be customized for each post, but the date and markup language are
|
403
|
-
determined solely by the file name.
|
404
|
-
|
405
|
-
|`_data` |Well-formatted site data should be placed here. The Jekyll
|
406
|
-
engine will autoload all YAML files in this directory (using either the
|
407
|
-
`.yml`, `.yaml`, `.json` or `.csv` formats and extensions) and they will
|
408
|
-
be accessible via `site.data`. If there's a file `members.yml` under the
|
409
|
-
directory, then you can access contents of the file through
|
410
|
-
`site.data.members`.
|
411
|
-
|
412
|
-
|`_site` |This is where the generated site will be placed (by default)
|
413
|
-
once Jekyll is done transforming it. It's probably a good idea to add
|
414
|
-
this to your `.gitignore` file.
|
415
|
-
|
416
|
-
|`.jekyll-metadata` |This helps Jekyll keep track of which files have
|
417
|
-
not been modified since the site was last built, and which files will
|
418
|
-
need to be regenerated on the next build. This file will not be included
|
419
|
-
in the generated site. It's probably a good idea to add this to your
|
420
|
-
`.gitignore` file.
|
421
|
-
|
422
|
-
|`index.html` and other HTML, Markdown, Textile files |Provided that the
|
423
|
-
file has a YAML Front Matter section, it will be
|
424
|
-
transformed by Jekyll. The same will happen for any `.html`,
|
425
|
-
`.markdown`, `.md`, or `.textile` file in your site's root directory or
|
426
|
-
directories not listed above.
|
427
|
-
|
428
|
-
|Other Files/Folders |Every other directory and file except for those
|
429
|
-
listed above such as `css` and `images` folders, `favicon.ico` files,
|
430
|
-
and so forthÔÇöwill be copied verbatim to the generated site. There are
|
431
|
-
plenty of sites already using Jekyll if you're curious
|
432
|
-
to see how they're laid out.
|
433
|
-
|=======================================================================
|
113
|
+
include::../tables/files_and_folders.asciidoc[]
|
434
114
|
|
435
115
|
=== Set a Jekyll environment
|
436
116
|
You can specify a Jekyll environment at build time. In the build (or serve)
|
@@ -6,126 +6,17 @@ a variety of data available via the `Liquid templating system`.
|
|
6
6
|
|
7
7
|
The following is a reference of the available data.
|
8
8
|
|
9
|
-
|
10
9
|
=== Global Variables
|
11
10
|
|
12
|
-
[
|
13
|
-
|=======================================================================
|
14
|
-
|Variable |Description
|
15
|
-
|`site` |Sitewide information + configuration settings from
|
16
|
-
`_config.yml`. See below for details.
|
17
|
-
|
18
|
-
|`page` |Page specific information + the YAML front
|
19
|
-
matter. Custom variables set via the YAML Front Matter will be
|
20
|
-
available here. See below for details.
|
21
|
-
|
22
|
-
|`layout`
|
23
|
-
|Layout specific information + the YAML
|
24
|
-
front matter. Custom variables set via the YAML Front Matter in layouts
|
25
|
-
will be available here.
|
26
|
-
|
27
|
-
|`content` |In layout files, the rendered content of the Post or Page
|
28
|
-
being wrapped. Not defined in Post or Page files.
|
29
|
-
|
30
|
-
|`paginator` |When the `paginate` configuration option is set, this
|
31
|
-
variable becomes available for use. See Pagination
|
32
|
-
for details.
|
33
|
-
|=======================================================================
|
11
|
+
include::../tables/global_variables.asciidoc[]
|
34
12
|
|
35
13
|
=== Site Variables
|
36
14
|
|
37
|
-
|
38
|
-
[width="100%", cols="6,6", options="header", role="table-responsive mt-3"]
|
39
|
-
|=======================================================================
|
40
|
-
|Variable |Description
|
41
|
-
|`site.time` |The current time (when you run the `jekyll` command).
|
42
|
-
|
43
|
-
|`site.pages` |A list of all Pages.
|
44
|
-
|
45
|
-
|`site.posts` |A reverse chronological list of all Posts.
|
46
|
-
|
47
|
-
|`site.related_posts` |If the page being processed is a Post, this
|
48
|
-
contains a list of up to ten related Posts. By default, these are the
|
49
|
-
ten most recent posts. For high quality but slow to compute results, run
|
50
|
-
the `jekyll` command with the `--lsi`
|
51
|
-
(https://en.wikipedia.org/wiki/Latent_semantic_analysis#Latent_semantic_indexing[latent
|
52
|
-
semantic indexing]) option. Also note GitHub Pages does not support the
|
53
|
-
`lsi` option when generating sites.
|
54
|
-
|
55
|
-
|`site.static_files` |A list of all (i.e. files not processed by
|
56
|
-
Jekyll's converters or the Liquid renderer). Each file has three
|
57
|
-
properties: `path`, `modified_time` and `extname`.
|
58
|
-
|
59
|
-
|`site.html_pages` |A subset of `site.pages` listing those which end in
|
60
|
-
`.html`.
|
61
|
-
|
62
|
-
|`site.html_files` |A subset of `site.static_files` listing those which
|
63
|
-
end in `.html`.
|
64
|
-
|
65
|
-
|`site.collections` |A list of all the collections.
|
66
|
-
|
67
|
-
|`site.data` |A list containing the data loaded from the YAML files
|
68
|
-
located in the `_data` directory.
|
69
|
-
|
70
|
-
|`site.documents` |A list of all the documents in every collection.
|
71
|
-
|
72
|
-
|`site.categories.CATEGORY` |The list of all Posts in category `CATEGORY`.
|
73
|
-
|
74
|
-
|`site.tags.TAG` |The list of all Posts with tag `TAG`.
|
75
|
-
|
76
|
-
|`site.[CONFIGURATION_DATA]` |All the variables set via the command line
|
77
|
-
and your `_config.yml` are available through the `site` variable. For
|
78
|
-
example, if you have `url: http://mysite.com` in your configuration
|
79
|
-
file, then in your Posts and Pages it will be stored in `site.url`.
|
80
|
-
Jekyll does not parse changes to `_config.yml` in `watch` mode, you must
|
81
|
-
restart Jekyll to see changes to variables.
|
82
|
-
|=======================================================================
|
83
|
-
|
15
|
+
include::../tables/site_variables.asciidoc[]
|
84
16
|
|
85
17
|
=== Page Variables
|
86
18
|
|
87
|
-
[
|
88
|
-
|=======================================================================
|
89
|
-
|Variable |Description
|
90
|
-
|`page.content` |The content of the Page, rendered or un-rendered
|
91
|
-
depending upon what Liquid is being processed and what `page` is.
|
92
|
-
|
93
|
-
|`page.title` |The title of the Page.
|
94
|
-
|
95
|
-
|`page.excerpt` |The un-rendered excerpt of the Page.
|
96
|
-
|
97
|
-
|`page.url` |The URL of the Post without the domain, but with a leading
|
98
|
-
slash, e.g. `/2008/12/14/my-post.html`
|
99
|
-
|
100
|
-
|`page.date` |The Date assigned to the Post. This can be overridden in a
|
101
|
-
Post's front matter by specifying a new date/time in the format
|
102
|
-
`YYYY-MM-DD HH:MM:SS` (assuming UTC), or `YYYY-MM-DD HH:MM:SS +/-TTTT`
|
103
|
-
(to specify a time zone using an offset from UTC. e.g.
|
104
|
-
`2008-12-14 10:30:00 +0900`).
|
105
|
-
|
106
|
-
|`page.id` |An identifier unique to the Post (useful in RSS feeds). e.g.
|
107
|
-
`/2008/12/14/my-post`
|
108
|
-
|
109
|
-
|`page.categories` |The list of categories to which this post belongs.
|
110
|
-
Categories are derived from the directory structure above the `_posts`
|
111
|
-
directory. For example, a post at
|
112
|
-
`/work/code/_posts/2008-12-24-closures.md` would have this field set to
|
113
|
-
`['work', 'code']`. These can also be specified in the
|
114
|
-
YAML Front Matter.
|
115
|
-
|
116
|
-
|`page.tags` |The list of tags to which this post belongs. These can be
|
117
|
-
specified in the YAML Front Matter.
|
118
|
-
|
119
|
-
|`page.path` |The path to the raw post or page. Example usage: Linking
|
120
|
-
back to the page or post's source on GitHub. This can be overridden in
|
121
|
-
the YAML Front Matter.
|
122
|
-
|
123
|
-
|`page.next` |The next post relative to the position of the current post
|
124
|
-
in `site.posts`. Returns `nil` for the last entry.
|
125
|
-
|
126
|
-
|`page.previous` |The previous post relative to the position of the
|
127
|
-
current post in `site.posts`. Returns `nil` for the first entry.
|
128
|
-
|=======================================================================
|
19
|
+
include::../tables/page_variables.asciidoc[]
|
129
20
|
|
130
21
|
[TIP]
|
131
22
|
====
|
@@ -140,25 +31,3 @@ example, if you specify `class: full_page` in a pages front matter,
|
|
140
31
|
that value will be available as `layout.class` in the layout and its
|
141
32
|
parents.
|
142
33
|
====
|
143
|
-
|
144
|
-
=== Paginator
|
145
|
-
|
146
|
-
[width="100%", cols="6,6", options="header", role="table-responsive mt-3"]
|
147
|
-
|==============================================================
|
148
|
-
|Variable |Description
|
149
|
-
|`paginator.per_page` |Number of Posts per page.
|
150
|
-
|`paginator.posts` |Posts available for that page.
|
151
|
-
|`paginator.total_posts` |Total number of Posts.
|
152
|
-
|`paginator.total_pages` |Total number of pages.
|
153
|
-
|`paginator.page` |The number of the current page.
|
154
|
-
|`paginator.previous_page` |The number of the previous page.
|
155
|
-
|`paginator.previous_page_path` |The path to the previous page.
|
156
|
-
|`paginator.next_page` |The number of the next page.
|
157
|
-
|`paginator.next_page_path` |The path to the next page.
|
158
|
-
|==============================================================
|
159
|
-
|
160
|
-
NOTE: These are only available in index files, however they can be located
|
161
|
-
in a subdirectory, such as `<code>/blog/index.html</code>`.
|
162
|
-
|
163
|
-
NOTE: J1 is using Paginator V2 for pagination. See details with
|
164
|
-
{plugins_paginator_v2_user_guide}[Paginator V2 User Guide].
|
@@ -0,0 +1 @@
|
|
1
|
+
Contains images to be includes from local include/images folder
|
@@ -0,0 +1,72 @@
|
|
1
|
+
|
2
|
+
.Build Command Options
|
3
|
+
[cols="2a,2a,2a,6a", width="100%", options="header", role="rtable mt-4"]
|
4
|
+
|===
|
5
|
+
|Setting |Option |Flag |Description
|
6
|
+
|
7
|
+
|*Regeneration*
|
8
|
+
|`na`
|
9
|
+
|`-w, --[no-]watch`
|
10
|
+
|Enable auto-regeneration of the site when files are modified.
|
11
|
+
|
12
|
+
|*Configuration*
|
13
|
+
|`na`
|
14
|
+
|`--config FILE1 [,FILE2, ..]`
|
15
|
+
|Specify config files instead of using `_config.yml` automatically.
|
16
|
+
Settings in later files override settings in earlier files.
|
17
|
+
|
18
|
+
|*Drafts*
|
19
|
+
|`show_drafts: BOOL`
|
20
|
+
|`--drafts`
|
21
|
+
|Process and render draft posts.
|
22
|
+
|
23
|
+
|*Environment*
|
24
|
+
|`na`
|
25
|
+
|`na`
|
26
|
+
|Use a specific environment value `JEKYLL_ENV=production` in the build.
|
27
|
+
|
28
|
+
|*Future*
|
29
|
+
|`future: BOOL`
|
30
|
+
|`--future`
|
31
|
+
|Publish posts or collection documents with a future date.
|
32
|
+
|
33
|
+
|*LSI*
|
34
|
+
|`lsi: BOOL`
|
35
|
+
|`--lsi`
|
36
|
+
|Produce an index for related posts.
|
37
|
+
|
38
|
+
|*Limit Posts*
|
39
|
+
|`limit_posts: NUM`
|
40
|
+
|`--limit_posts NUM`
|
41
|
+
|Limit the number of posts to parse and publish.
|
42
|
+
|
43
|
+
|*Force polling*
|
44
|
+
|`na`
|
45
|
+
|`--force_polling`
|
46
|
+
|Force watch to use polling.
|
47
|
+
|
48
|
+
|*Verbose output*
|
49
|
+
|`na`
|
50
|
+
|`-V, --verbose`
|
51
|
+
|Print verbose output.
|
52
|
+
|
53
|
+
|*Silence Output*
|
54
|
+
|`na`
|
55
|
+
|`-q, --quiet`
|
56
|
+
|Silence the normal output from Jekyll during a build
|
57
|
+
|
58
|
+
|*Incremental build*
|
59
|
+
|`incremental: BOOL`
|
60
|
+
|`-I, --incremental`
|
61
|
+
|Enable the experimental incremental build feature. Incremental build
|
62
|
+
only re-builds posts and pages that have changed, resulting in
|
63
|
+
significant performance improvements for large sites, but may also break
|
64
|
+
site generation in certain cases.
|
65
|
+
|
66
|
+
|*Liquid profiler*
|
67
|
+
|`profile: BOOL`
|
68
|
+
|`--profile`
|
69
|
+
|Generate a Liquid rendering profile to help you identify performance
|
70
|
+
bottlenecks.
|
71
|
+
|
72
|
+
|===
|
@@ -0,0 +1,66 @@
|
|
1
|
+
|
2
|
+
.Files and Folders
|
3
|
+
[cols="4a,8a", width="100%", options="header", role="rtable mt-4"]
|
4
|
+
|===
|
5
|
+
|File\|Folder |Description
|
6
|
+
|
7
|
+
|`_config.yml`
|
8
|
+
|Stores all *side-wide* used configuration data. Many of these options can
|
9
|
+
be specified from the command line executable but it's easier to specify
|
10
|
+
them in a file so you don't have to remember them.
|
11
|
+
|
12
|
+
|`_drafts`
|
13
|
+
|Drafts are unpublished posts. The format of these files is without a
|
14
|
+
date: `title.MARKUP`.
|
15
|
+
|
16
|
+
|`_includes`
|
17
|
+
|These are the partials that can be mixed and matched by your layouts and
|
18
|
+
posts to facilitate reuse. The liquid tag `{% include file.ext %}` can be
|
19
|
+
used to include the partial in `_includes/file.ext`.
|
20
|
+
|
21
|
+
|`_layouts`
|
22
|
+
|This folder contains the templates that wrap posts and pages. Layouts
|
23
|
+
are chosen on a file-by-file basis in the YAML Front Matter, which is
|
24
|
+
described in the next section. The liquid tag `{{content}}` is used to
|
25
|
+
inject content into the web page.
|
26
|
+
|
27
|
+
|`_posts`
|
28
|
+
|The folder contains your blog post content. The naming convention of
|
29
|
+
these files is important, and must follow the format: `YEAR-MONTH-DAY-title.ext`.
|
30
|
+
The *permalinks* can be customized for each post, but the date and markup
|
31
|
+
language are determined solely by the file name.
|
32
|
+
|
33
|
+
|`_data`
|
34
|
+
|Well-formatted site data should be placed in that folder. The Jekyll
|
35
|
+
engine will autoload all YAML files in this directory (using either the
|
36
|
+
`.yml`, `.yaml`, `.json` or `.csv` formats and extensions) and they will
|
37
|
+
be accessible via `site.data`. If there's a file e.g. `members.yml` under
|
38
|
+
the directory, then you can access contents of the file through
|
39
|
+
`site.data.members`.
|
40
|
+
|
41
|
+
|`_site`
|
42
|
+
|This folder is where the generated site will be placed (by default)
|
43
|
+
once Jekyll is done transforming it. It's probably a good idea to add
|
44
|
+
this to your `.gitignore` file if you're using _Git_ for version control.
|
45
|
+
|
46
|
+
|`.jekyll-metadata`
|
47
|
+
|This file helps Jekyll keep track of which files have not been modified
|
48
|
+
since the site was last built, and which files will need to be regenerated
|
49
|
+
on the next build. This file will not be included in the generated site.
|
50
|
+
It's probably a good idea to add this to your `.gitignore` file if you're
|
51
|
+
using _Git_ for version control.
|
52
|
+
|
53
|
+
|`index.html`
|
54
|
+
|`index.html` and other HTML, Asciidoc, Markdown, Textile files. If the
|
55
|
+
file contains a YAML *Front Matter* section, it will be transformed by
|
56
|
+
Jekyll. The same will happen for any `.html`, `.adoc`, `.markdown`, `.md`,
|
57
|
+
or `.textile` file in your site's root directory or directories not
|
58
|
+
listed above.
|
59
|
+
|
60
|
+
|Other Files or Folders
|
61
|
+
|Every other directory and file except for those listed above such as
|
62
|
+
`css` and `images` folders, `favicon.ico` files, and so forth will be
|
63
|
+
copied verbatim to the generated site. There are plenty of sites already
|
64
|
+
using Jekyll if you're curious to see how they're laid out.
|
65
|
+
|
66
|
+
|===
|