j1-template 2021.1.29 → 2021.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_post.html +3 -0
  3. data/_includes/themes/j1/procedures/posts/create_series_header.proc +6 -6
  4. data/assets/data/mdil_icons.json +2417 -0
  5. data/assets/themes/j1/core/css/icon-fonts/materialdesign-light.css +1222 -0
  6. data/assets/themes/j1/core/css/icon-fonts/materialdesign-light.min.css +1 -0
  7. data/assets/themes/j1/core/css/icon-fonts/materialdesign.css +1 -1
  8. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +1 -1
  9. data/assets/themes/j1/core/fonts/material_design_icons_light/fonts/eot/materialdesignicons-light-webfont.eot +0 -0
  10. data/assets/themes/j1/core/fonts/material_design_icons_light/fonts/materialdesignicons-light-webfont.woff +0 -0
  11. data/assets/themes/j1/core/fonts/material_design_icons_light/fonts/materialdesignicons-light-webfont.woff2 +0 -0
  12. data/assets/themes/j1/core/fonts/material_design_icons_light/fonts/svg/materialdesignicons-light-webfont.svg +801 -0
  13. data/assets/themes/j1/core/fonts/material_design_icons_light/fonts/ttf/materialdesignicons-light-webfont.ttf +0 -0
  14. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.css +1 -1
  15. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.min.css +1 -1
  16. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.js +5 -15
  17. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.min.js +1 -1
  18. data/assets/themes/j1/modules/mdilPreviewer/css/previewer.css +97 -0
  19. data/assets/themes/j1/modules/mdilPreviewer/css/previewer.min.css +15 -0
  20. data/assets/themes/j1/modules/mdilPreviewer/js/previewer.js +125 -0
  21. data/assets/themes/j1/modules/mdilPreviewer/js/previewer.min.js +15 -0
  22. data/assets/themes/j1/modules/showOnScroll/js/showOnScroll.js +73 -73
  23. data/assets/themes/j1/modules/showOnScroll/js/showOnScroll.min.js +15 -15
  24. data/lib/j1/commands/generate.rb +5 -8
  25. data/lib/j1/version.rb +1 -1
  26. data/lib/starter_web/Gemfile +1 -1
  27. data/lib/starter_web/_config.yml +3 -3
  28. data/lib/starter_web/_data/blocks/banner.yml +4 -5
  29. data/lib/starter_web/_data/modules/j1scroll.yml +2 -2
  30. data/lib/starter_web/_data/modules/navigator_menu.yml +3 -3
  31. data/lib/starter_web/_data/resources.yml +22 -0
  32. data/lib/starter_web/_includes/attributes.asciidoc +1 -1
  33. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  34. data/lib/starter_web/assets/images/modules/attics/annie-spratt-1920x1280.jpg +0 -0
  35. data/lib/starter_web/assets/images/modules/attics/antonino-visalli-1920x1280.jpg +0 -0
  36. data/lib/starter_web/assets/images/modules/attics/humble-lamb-1920x1280.jpg +0 -0
  37. data/lib/starter_web/assets/images/modules/attics/library-1920x1280.jpg +0 -0
  38. data/lib/starter_web/assets/images/modules/attics/romain-vignes-1920x1280.jpg +0 -0
  39. data/lib/starter_web/assets/images/modules/attics/sigmund-1920x1280.jpg +0 -0
  40. data/lib/starter_web/assets/images/{pages/videos → modules/attics}/szabo-viktor-1920x1280.jpg +0 -0
  41. data/lib/starter_web/assets/images/pages/asciidoc_skeletons/example-pdf-screenshot.png +0 -0
  42. data/lib/starter_web/collections/posts/public/featured/_posts/{2020-01-01-about-cookies.adoc → 2021-01-01-about-cookies.adoc} +0 -0
  43. data/lib/starter_web/collections/posts/public/featured/_posts/{2021-03-01-site-generators.adoc → 2021-02-01-site-generators.adoc} +0 -0
  44. data/lib/starter_web/collections/posts/public/{wikipedia/_posts/2016-11-20-minneapolis.adoc → series/_posts/2020-01-01-post-wiki-series.adoc} +11 -10
  45. data/lib/starter_web/collections/posts/public/{wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc → series/_posts/2020-01-02-post-wiki-series.adoc} +15 -13
  46. data/lib/starter_web/collections/posts/public/{wikipedia/_posts/2016-11-26-columbia-river.adoc → series/_posts/2020-01-03-post-wiki-series.adoc} +28 -11
  47. data/lib/starter_web/collections/posts/public/{wikipedia → series}/_posts/_includes/attributes.asciidoc +0 -0
  48. data/lib/starter_web/collections/posts/public/{wikipedia → series}/_posts/_includes/documents/readme +0 -0
  49. data/lib/starter_web/collections/posts/public/{wikipedia → series}/_posts/_includes/tables/readme +0 -0
  50. data/lib/starter_web/index.html +2 -2
  51. data/lib/starter_web/package.json +1 -1
  52. data/lib/starter_web/pages/public/asciidoc_skeletons/{book → documentation}/000_intro.adoc +5 -7
  53. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +43 -0
  54. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +61 -0
  55. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/attributes.asciidoc +95 -0
  56. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/000_intro.asciidoc +54 -0
  57. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/000_basic_example.asciidoc +31 -0
  58. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/111_about_the_converter.asciidoc +111 -0
  59. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/112_getting_started.asciidoc +95 -0
  60. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/113_themes.asciidoc +39 -0
  61. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter.asciidoc +8 -0
  62. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/211_language_overview.asciidoc +122 -0
  63. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/212_values.asciidoc +502 -0
  64. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/213_fonts.asciidoc +261 -0
  65. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes.asciidoc +8 -0
  66. data/lib/starter_web/pages/public/asciidoc_skeletons/{book → documentation}/a2p.bat +1 -1
  67. data/lib/starter_web/pages/public/asciidoc_skeletons/{book → documentation}/a2p.sh +2 -2
  68. data/lib/starter_web/pages/public/asciidoc_skeletons/{book/book.a2p → documentation/documentation.a2p} +2 -8
  69. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +86 -0
  70. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/100_chapter.asciidoc +848 -40
  71. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/200_chapter.asciidoc +149 -38
  72. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +2 -7
  73. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +312 -119
  74. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +2 -2
  75. data/lib/starter_web/pages/public/previewer/mdil_icons_preview.adoc +76 -0
  76. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  77. data/lib/starter_web/utilsrv/package.json +1 -1
  78. metadata +50 -53
  79. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +0 -128
  80. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +0 -131
  81. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +0 -131
  82. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +0 -132
  83. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/blindtext.asciidoc +0 -11
  84. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/font_icons.asciidoc +0 -23
  85. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/gallery.asciidoc +0 -5
  86. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/lightbox.asciidoc +0 -7
  87. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/chapter_document.asciidoc +0 -9
  88. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/entry_document.asciidoc +0 -3
  89. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/images/image.asciidoc +0 -6
  90. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column.asciidoc +0 -12
  91. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column_options.asciidoc +0 -30
  92. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_3_column.asciidoc +0 -16
  93. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_4_column.asciidoc +0 -25
  94. data/lib/starter_web/pages/public/asciidoc_skeletons/book/100_chapter.adoc +0 -62
  95. data/lib/starter_web/pages/public/asciidoc_skeletons/book/200_chapter.adoc +0 -64
  96. data/lib/starter_web/pages/public/asciidoc_skeletons/book/900_references.adoc +0 -73
  97. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/attributes.asciidoc +0 -74
  98. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/000_intro.asciidoc +0 -33
  99. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/100_chapter_document.asciidoc +0 -21
  100. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/110_chapter_document.asciidoc +0 -36
  101. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter.asciidoc +0 -7
  102. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter/200_chapter_document.asciidoc +0 -53
  103. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter.asciidoc +0 -5
  104. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/000_intro.asciidoc +0 -23
  105. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/100_chapter_document.asciidoc +0 -33
  106. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/200_chapter_document.asciidoc +0 -26
  107. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/900_sources.asciidoc +0 -81
  108. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references.asciidoc +0 -23
  109. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/tables/110_material_design_icons.asciidoc +0 -102
  110. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.adoc +0 -136
  111. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/100_chapter.asciidoc +0 -60
  112. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/200_chapter.asciidoc +0 -59
  113. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/tables/110_material_design_icons.asciidoc +0 -102
  114. data/lib/starter_web/pages/public/features/modules.adoc +0 -104
  115. data/lib/starter_web/pages/public/features/platform.adoc +0 -104
@@ -22,7 +22,7 @@ robots:
22
22
  permalink: /pages/public/skeleton/simple/
23
23
  regenerate: false
24
24
 
25
- resources: []
25
+ resources: [ clipboard, rouge ]
26
26
  resource_options:
27
27
  - toccer:
28
28
  collapseDepth: 4
@@ -64,6 +64,7 @@ resource_options:
64
64
  :url-roundtrip--fontawesome-icons: /pages/public/learn/roundtrip/mdi_icon_font/#fontawesome-icons
65
65
  :url-roundtrip--iconify-icons: /pages/public/learn/roundtrip/mdi_icon_font/#iconify-icons
66
66
  :url-roundtrip--asciidoc-extensions: /pages/public/learn/roundtrip/asciidoc_extensions/
67
+
67
68
  // Load Liquid procedures
68
69
  // -----------------------------------------------------------------------------
69
70
  {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
@@ -75,9 +76,8 @@ resource_options:
75
76
 
76
77
  // Page content
77
78
  // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
78
-
79
- The Asciidoc *skeleton simple-document* a helper for setting up a base file and
80
- folder structure for simple-document AsciiDoc pages based on _Jekyll_ and
79
+ The Asciidoc skeleton *simple-document* a helper for setting up a base file
80
+ and folder structure for simple-document AsciiDoc pages based on _Jekyll_ and
81
81
  _J1 Template_. You need *both* to use this skeleton creating AsciiDoc
82
82
  documents from it.
83
83
 
@@ -94,151 +94,344 @@ All J1 Asciidoc Skeletons are fully *relocateable* and can be placed in any
94
94
  subfolder of your Jekyll site.
95
95
  ====
96
96
 
97
- [role="mb-5"]
98
- *Happy Jekylling!*
97
+ // Content
98
+ // -----------------------------------------------------------------------------
99
+ == Synopsis
99
100
 
100
- == Chapter
101
+ _Jekyll_ is a *robot*, an *engine* to generate a site from a site *scaffold*.
102
+ The _Jekyll_ Ruby *Gem* provides an *executable* named `jekyll` to be used
103
+ at the commandline.
101
104
 
102
- J1 Template support popular icons font sets out-of-the-box:
105
+ Several *commands* and related *options* are available to control how the
106
+ *engine* `jekyll` generates a *site*.
103
107
 
104
- * link:{url-mdi--home}[Material Design Icons, {browser-window--new}] (MDI)
105
- * link:{url-fontawesome--home}[FontAwesome Icons V5, {browser-window--new}] (FA)
106
- * link:{url-iconify--home}[Iconify Icons, {browser-window--new}] (II)
108
+ [source, sh]
109
+ ----
110
+ jekyll <command> [options]
111
+ ----
107
112
 
108
- The icon sets MDI and FA are very good in design and have a rich set of
109
- different icons for many categories used for the Web. See below some details
110
- for link:{url-roundtrip--mdi-icons}[Material Design Icons, {browser-window--new}]
111
- and link:{url-roundtrip--fontawesome-icons}[FontAwesome Icons, {browser-window--new}].
113
+ Find all commands available for the *executable* `jekyll` with the following
114
+ sections below.
112
115
 
113
- Iconify icons is not a locally stored icon-set like MDI or FA. All icons are
114
- loaded over the Internet using the so-called *Unified OpenSource Icon
115
- Framework*. See section link:{url-roundtrip--iconify-icons}[Iconify Icons, {browser-window--new}]
116
- for more information.
116
+ == Commands
117
117
 
118
- === Section
118
+ To change Jekyll’s default behavior generating *sites*, have a look through
119
+ the configuration options. All *general* options can be found with the section
120
+ <<General commands>>. All specific commands and options to control *build*
121
+ and *serve* processes for a *site*, see the sections for the <<Build command>>
122
+ and the <<Serve command>>.
119
123
 
120
- The primary icon-set for J1 Template is link:{url-mdi--home}[Material Design Icons, {browser-window--new}],
121
- because it is extremely rich set providing more than 5900+ icons for the
122
- current version (v5.9.55). From a design perspective, _MDI_ has an excellen
123
- *Material Design* support an comes with the original icon set created by
124
- _Google_ build-in.
125
124
 
126
- _Material Design Icons_ (MDI) is a beneficial design resource for Web Design
127
- that is based on _Google_'s Material Design. _MDI_ is a community-driven
128
- project to create an increased number of icons based on _Google_'s official repository
129
- and MD style specification.
125
+ === General commands
130
126
 
131
- ==== Subsection
127
+ The *executable* `jekyll` provides some *general* commands to create e.g. a
128
+ new site *scaffold* from the scratch (based on the default gem-based theme
129
+ *Minima*) or some *support* commands like `doctor` to check the configuration
130
+ of a site or `clean` to reset an existing, already generated *site*.
132
131
 
133
- _MDI_ is a growing collection to allow designers and developers targeting
134
- various platforms to download icons in the format, color and size they need
135
- for any project. The repo contains today 2100+ icons plus converted icons from
136
- the official set created by _Google_.
132
+ Have a look through the commands and options available this section.
137
133
 
138
- .Material Design Icons
139
- [cols="2a,3a,4a,^", options="header", width="100%", role="rtable mt-3"]
134
+ [cols="2a,2a,8a", width="100%", options="header", role="table-responsive mt-3"]
140
135
  |===============================================================================
141
- |Size |Modifier |Markup |Render
136
+ |Command |Options and Flags |Description
142
137
 
143
- |1x
144
- |no modifier set
145
- |All `icon_name` can be found on the Preview page for MDI Icon Previewer +
146
- [source, adoc, role="noclip"]
147
- ----
148
- mdi:account[1x]
149
- ----
150
- |mdi:account[1x]
138
+ |`docs`
139
+ |
140
+ |To be clarified
151
141
 
152
- |3x
153
- |no modifier set
154
- |All `icon_name` can be found on the Preview page for MDI Icon Previewer +
155
- [source, adoc, role="noclip"]
156
- ----
157
- mdi:account[3x]
158
- ----
159
- |mdi:account[3x]
142
+ |`import`
143
+ |
144
+ |To be clarified
160
145
 
161
- |5x
162
- |no modifier set
163
- |All `icon_name` can be found on the Preview page for MDI Icon Previewer
164
- [source, adoc, role="noclip"]
165
- ----
166
- mdi:account[5x]
167
- ----
168
- |mdi:account[5x]
146
+ |`new`
147
+ |
148
+ |Creates a new Jekyll site with default gem-based theme. Using *optional* `--blank`,
149
+ creates a new *blank* Jekyll site *scaffold*
169
150
 
170
- |5x
171
- |`mdi-rotate-45`
172
- |Rotate 45 degrees
173
- [source, adoc, role="noclip"]
174
- ----
175
- mdi:account[5x mdi-rotate-45]
176
- ----
177
- |mdi:account[5x mdi-rotate-45]
151
+ |`new`
152
+ |`--blank` +
153
+ |Using *optional* `--blank`,
154
+ creates a new *blank* Jekyll site *scaffold*
178
155
 
179
- |5x
180
- |`mdi-rotate-315`
181
- |Rotate 315 degrees
182
- [source, adoc, role="noclip"]
183
- ----
184
- mdi:account[5x mdi-rotate-315]
185
- ----
186
- |mdi:account[5x mdi-rotate-315]
156
+ |`doctor` \| `hyde`
157
+ |
158
+ |Outputs any deprecation or configuration issues
187
159
 
188
- |5x
189
- |`mdi-light` +
190
- `mdi-flip-v`
191
- |Colour set to MDI Light (Grey) and flipped vertical
192
- [source, adoc, role="noclip"]
193
- ----
194
- mdi:alert[5x mdi-light mdi-flip-v]
195
- ----
196
- |mdi:alert[5x mdi-light mdi-flip-v]
160
+ |`new-theme`
161
+ |
162
+ |Creates a new Jekyll theme scaffold
163
+
164
+ |`clean`
165
+ |
166
+ |Removes the generated site and metadata file
167
+
168
+ |`help`
169
+ |
170
+ |Shows help, optionally for a given subcommand, e.g. `jekyll help build`
171
+
172
+ |===============================================================================
197
173
 
198
- |5x
199
- |`md-indigo`
200
- |Colour set to MDI Indigo
201
- [source, adoc, role="noclip"]
174
+
175
+ === Build command
176
+
177
+ Performs a one off build your site. For default, site pages gets written
178
+ to the folder *./_site*
179
+
180
+ .Synopsis
181
+ [source, sh]
202
182
  ----
203
- mdi:alert[5x md-indigo]
183
+ jekyll build | b [options]
204
184
  ----
205
- |mdi:account[5x md-indigo]
206
185
 
207
- |5x
208
- |`md-pink`
209
- |Colour set to MDI Pink
210
- [source, adoc, role="noclip"]
186
+ NOTE: Typically you’ll use `jekyll serve` while developing locally and
187
+ `jekyll build` when you need to generate the site for production.
188
+
189
+ [cols="6a,6a", width="100%", options="header", role="table-responsive mt-3"]
190
+ |===============================================================================
191
+ |Options |Description
192
+
193
+ |`-c`, `--config` {hs} *CONFIG_FILE [,CONFIG_FILE2, ..]*
194
+ |Use custom configuration file. +
195
+ lorem:sentences[2]
196
+
197
+ |`-d, --destination` {hs} *DESTINATION*
198
+ |The current folder will be generated into DESTINATION
199
+
200
+ |`-s` \| `--source` {hs} *SOURCE*
201
+ |Custom source directory
202
+
203
+ |`--future`
204
+ |Publishes posts with a future date
205
+
206
+ |`--limit_posts` {hs} *MAX_POSTS*
207
+ |Limits the number of posts to parse and publish
208
+
209
+ |`-w` \| `--[no-]watch`
210
+ |Watch for changes and rebuild
211
+
212
+ |`-b` \| `--baseurl` {hs} *URL*
213
+ |Serve the website from the given base URL
214
+
215
+ |`--force_polling`
216
+ |Force watch to use polling
217
+
218
+ |`--lsi`
219
+ |Use LSI for improved related posts
220
+
221
+ |`-D` \| `--drafts`
222
+ |Render posts in the _drafts folder
223
+
224
+ |`--unpublished`
225
+ |Render posts that were marked as unpublished
226
+
227
+ |`-q` \| `--quiet`
228
+ |Silence output
229
+
230
+ |`-V` \| `--verbose`
231
+ |Print verbose output
232
+
233
+ |`-i` \| `--incremental`
234
+ |Enable incremental rebuild
235
+
236
+ |`--strict_front_matter`
237
+ |Fail if errors are present in front matter
238
+
239
+ |`-h` \| `--help`
240
+ |Show detailed options an flags
241
+
242
+ |`-s` \| `--source` {hs} *DIR*
243
+ |Source directory. Defaults to current directory `./`
244
+
245
+ |`-d` \| `--destination` {hs} *DIR*
246
+ |Destination directory. Defaults to `./_site`
247
+
248
+ |`--safe`
249
+ |Safe mode. Defaults to `false`
250
+
251
+ |`-p` \| `--plugins` {hs} *PLUGINS_DIR1[,PLUGINS_DIR2[,...]]*
252
+ |Plugins directory. Defaults to `./_plugins`
253
+
254
+ |`--layouts` {hs} *DIR*
255
+ |Layouts directory. Defaults to `./_layouts`
256
+
257
+ |`--profile`
258
+ |Generate a Liquid rendering profile
259
+
260
+ |`-t` \| `--trace`
261
+ |Show the full backtrace when an error occurs
262
+
263
+ |`-v` \| `--version`
264
+ |Print the name and version
265
+
266
+ |===============================================================================
267
+
268
+
269
+ === Serve command
270
+
271
+ Create your site any time a source file changes and serves it locally using
272
+ builtin web server *WEBRick*.
273
+
274
+ For default, site pages gets writen to *./_site*
275
+
276
+ .Synopsis
277
+ [source, sh]
211
278
  ----
212
- mdi:alert[5x md-pink]
279
+ jekyll serve | s [options]
213
280
  ----
214
- |mdi:account[5x md-pink]
215
281
 
216
- |5x
217
- |`mdi-spin`
218
- |Added animation of type Rotate (Spin)
219
- [source, adoc, role="noclip"]
282
+ NOTE: Typically you’ll use `jekyll serve` while developing locally and
283
+ `jekyll build` when you need to generate the site for production.
284
+
285
+ [cols="6a,6a", width="100%", options="header", role="table-responsive mt-3"]
286
+ |===============================================================================
287
+ |Options |Description
288
+
289
+ |`-c`, `--config` {hs} CONFIG_FILE [,CONFIG_FILE2, ..]
290
+ |Use custom configuration file. +
291
+ lorem:sentences[2]
292
+
293
+ |`-d, --destination` {hs} *DESTINATION*
294
+ |The current folder will be generated into DESTINATION
295
+
296
+ |`-s` \| `--source` {hs} *SOURCE*
297
+ |Custom source directory
298
+
299
+ |`--future`
300
+ |Publishes posts with a future date
301
+
302
+ |`--limit_posts` {hs} *MAX_POSTS*
303
+ |Limits the number of posts to parse and publish
304
+
305
+ |`-w` \| `--[no-]watch`
306
+ |Watch for changes and rebuild
307
+
308
+ |`-b` \| `--baseurl` {hs} *URL*
309
+ |Serve the website from the given base URL
310
+
311
+ |`--force_polling`
312
+ |Force watch to use polling
313
+
314
+ |`--lsi`
315
+ |Use LSI for improved related posts
316
+
317
+ |`-D` \| `--drafts`
318
+ |Render posts in the _drafts folder
319
+
320
+ |`--unpublished`
321
+ |Render posts that were marked as unpublished
322
+
323
+ |`-q` \| `--quiet`
324
+ |Silence output
325
+
326
+ |`-V` \| `--verbose`
327
+ |Print verbose output
328
+
329
+ |`-i` \| `--incremental`
330
+ |Enable incremental rebuild
331
+
332
+ |`--strict_front_matter`
333
+ |Fail if errors are present in front matter
334
+
335
+ |`--ssl-cert` {hs} *CERT*
336
+ |X.509 (SSL) certificate
337
+
338
+ |`--ssl-key` {hs} *KEY*
339
+ |X.509 (SSL) Private Key
340
+
341
+ |`-H` \| `--host` {hs} *HOST*
342
+ |Host to bind to
343
+
344
+ |`-o` \| `--open-url`
345
+ |Launch your site in a browser
346
+
347
+ |`-B` \| `--detach`
348
+ |Run the server in the background
349
+
350
+ |`-P` \| `--port` {hs} *PORT*
351
+ |Port to listen on
352
+
353
+ |`--show-dir-listing`
354
+ |Show a directory listing instead of loading your index file
355
+
356
+ |`--skip-initial-build`
357
+ |Skips the initial site build which occurs before the server is started
358
+
359
+ |`-l` \| `--livereload`
360
+ |Use LiveReload to automatically refresh browsers
361
+
362
+ |`--livereload-ignore` {hs} *GLOB1[,GLOB2[,...]]*
363
+ |Files for LiveReload to ignore. Remember to quote the values so your
364
+ shell won't expand them
365
+
366
+ |`--livereload-min-delay` {hs} *SECONDS*
367
+ |Minimum reload delay
368
+
369
+ |`--livereload-max-delay` {hs} *SECONDS*
370
+ |Maximum reload delay
371
+
372
+ |`--livereload-port` {hs} *PORT*
373
+ |Port for LiveReload to listen on
374
+
375
+ |`-h` \| `--help`
376
+ |Show detailed options an flags
377
+
378
+ |`-s` \| `--source` {hs} *DIR*
379
+ |Source directory. Defaults to current directory `./`
380
+
381
+ |`-d` \| `--destination` {hs} *DIR*
382
+ |Destination directory. Defaults to `./_site`
383
+
384
+ |`--safe`
385
+ |Safe mode. Defaults to `false`
386
+
387
+ |`-p` \| `--plugins` {hs} *PLUGINS_DIR1[,PLUGINS_DIR2[,...]]*
388
+ |Plugins directory. Defaults to `./_plugins`
389
+
390
+ |`--layouts` {hs} *DIR*
391
+ |Layouts directory. Defaults to `./_layouts`
392
+
393
+ |`--profile`
394
+ |Generate a Liquid rendering profile
395
+
396
+ |`-t` \| `--trace`
397
+ |Show the full backtrace when an error occurs
398
+
399
+ |`-v` \| `--version`
400
+ |Print the name and version
401
+
402
+ |===============================================================================
403
+
404
+
405
+ == Examples
406
+
407
+ Find some typical use case running Jekyll from commandline below.
408
+
409
+ === Build a site from custom configuration
410
+
411
+ Typically you’ll use `jekyll serve` while developing locally and
412
+ `jekyll build` when you need to generate the site for production.
413
+
414
+ [source, sh]
220
415
  ----
221
- mdi:loading[5x mdi-spin]
416
+ jekyll b -c ./site_configs/_config.yml
222
417
  ----
223
- |mdi:loading[5x mdi-spin]
224
418
 
225
- |5x
226
- |`md-red-900` +
227
- `mdi-pulsed`
228
- |Colour set to MDI Dark Red and added animation of type Pulsed
229
- [source, adoc, role="noclip"]
419
+ === Build a site in mode incremental
420
+
421
+ Typically you’ll use `jekyll serve` while developing locally and
422
+ `jekyll build` when you need to generate the site for production.
423
+
424
+ [source, sh]
230
425
  ----
231
- mdi:heart[5x md-red-900 mdi-pulsed]
426
+ jekyll b --incremental
232
427
  ----
233
- |mdi:heart[5x md-red-900 mdi-pulsed]
234
-
235
- |===============================================================================
236
428
 
429
+ === Run a site in mode incremental
237
430
 
238
- NOTE: Using Material Design Icons with Asciidoc is quite easy as an inline
239
- macro `mdi:` is available to place icons where ever you want. See more about
240
- this in section
241
- link:{url-roundtrip--asciidoc-extensions}#icon-fonts[Asciidoc Extensions, {browser-window--new}]
431
+ Typically you’ll use `jekyll serve` while developing locally and
432
+ `jekyll build` when you need to generate the site for production.
242
433
 
243
- _J1 Template_ supports the full set of _MDI_ for the Web (Webfont, WOFF). The
244
- icon set is fully integrated and can be used out-of-the-box.
434
+ [source, sh]
435
+ ----
436
+ jekyll s --incremental
437
+ ----
@@ -1,5 +1,5 @@
1
1
  ---
2
- title: MDI Icon Previewer
2
+ title: MDI Previewer
3
3
  tagline: search and select mdi icons
4
4
  date: 2020-11-08 00:00:00 +100
5
5
  description: >
@@ -216,5 +216,5 @@ NOTE: Click on the elements below to copy icon data to clipboard
216
216
 
217
217
  ++++
218
218
  <!-- div class="my-popper">Popper element</div -->
219
- <div id="icons" class="icons"></div>
219
+ <div id="mdi-icons" class="icons"></div>
220
220
  ++++
@@ -0,0 +1,76 @@
1
+ ---
2
+ title: MDI Light Previewer
3
+ tagline: search and select mdil icons
4
+ date: 2020-11-08 00:00:00 +100
5
+ description: >
6
+ Previewer for the light Material Design Icons (MDIL) for J1 Template.
7
+ Material Design Icons is a growing icon collection allows
8
+ designers and developers targeting various platforms to download
9
+ icons in the format, color and size they need for any project.
10
+
11
+ categories: [ Preview ]
12
+ tags: [ MDIL, Icons, Fonts ]
13
+
14
+ fam_menu_id: default
15
+ scrollbar: false
16
+ toc: false
17
+
18
+ permalink: /pages/public/previewer/mdil_font/
19
+ regenerate: false
20
+
21
+ resources: [ clipboard, lightbox, rouge, mdil_previewer ]
22
+ resource_options:
23
+ - attic:
24
+ padding_top: 400
25
+ padding_bottom: 50
26
+ opacity: 0.5
27
+ slides:
28
+ - url: /assets/images/pages/roundtrip/icon-fonts-1920x1280-bw.jpg
29
+ alt: icon-fonts-1920x1280-bw
30
+ ---
31
+
32
+ // Page Initializer
33
+ // =============================================================================
34
+ // Enable the Liquid Preprocessor
35
+ :page-liquid:
36
+
37
+ // Set (local) page attributes here
38
+ // -----------------------------------------------------------------------------
39
+ //:my-asciidoc-attribute:
40
+
41
+ // Load Liquid procedures
42
+ // -----------------------------------------------------------------------------
43
+ {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
44
+
45
+ // Load page attributes
46
+ // -----------------------------------------------------------------------------
47
+ {% include {{load_attributes}} scope="global" %}
48
+
49
+
50
+ // Page content
51
+ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
52
+ // https://github.com/Templarian/MaterialDesignLight
53
+
54
+ // Include sub-documents
55
+ // -----------------------------------------------------------------------------
56
+
57
+ _Material Design Light_ (MDIL) is a helpful design resource for Web Sites that
58
+ follow _Google's_ specification of Material Design. *MDIL* is a subset of the
59
+ Material Design Icons (MDI) set managed by *Austin Andrews* and contributors.
60
+
61
+ The icon set is still work in progress. The team is in the process of building
62
+ the icon set into a fully fledged alternative to MDI. Have a look at
63
+ https://github.com/Templarian/MaterialDesignLight[MaterialDesignLight, {browser-window--new}]
64
+ for latest versions.
65
+
66
+ == Icon Overview
67
+
68
+ The Material Design Light Icon Font support a growing set of 250+ icons
69
+ (v0.2.63) from a wide varity of topics.
70
+
71
+ NOTE: Click on the elements below to copy icon data to clipboard.
72
+
73
+ ++++
74
+ <!-- div class="my-popper">Popper element</div -->
75
+ <div id="mdil-icons" class="icons"></div>
76
+ ++++
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": true,
3
3
  "name": "utls",
4
- "version": "2021.1.29",
4
+ "version": "2021.2.0",
5
5
  "description": "J1 Template Utility Server",
6
6
  "homepage": "https://jekyll.one",
7
7
  "author": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": true,
3
3
  "name": "utls",
4
- "version": "2021.1.29",
4
+ "version": "2021.2.0",
5
5
  "description": "J1 Template Utility Server",
6
6
  "homepage": "https://jekyll.one",
7
7
  "author": {