j1-template 2021.0.11 → 2021.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_blog_archive.html +34 -12
  3. data/_includes/themes/j1/layouts/content_generator_post.html +7 -5
  4. data/_includes/themes/j1/modules/navigator/generator.html +6 -6
  5. data/_includes/themes/j1/procedures/global/create_bs_button.proc +1 -1
  6. data/_includes/themes/j1/procedures/posts/create_series_header.proc +2 -0
  7. data/assets/data/authclient.html +1 -1
  8. data/assets/data/carousel.json +1 -1
  9. data/assets/data/fam.html +2 -2
  10. data/assets/data/menu.1.html +505 -0
  11. data/assets/data/menu.html +15 -17
  12. data/assets/themes/j1/adapter/js/carousel.js +6 -1
  13. data/assets/themes/j1/adapter/js/fam.js +8 -0
  14. data/assets/themes/j1/adapter/js/j1.js +35 -3
  15. data/assets/themes/j1/adapter/js/mmenu.js +9 -4
  16. data/assets/themes/j1/adapter/js/navigator.js +14 -6
  17. data/assets/themes/j1/adapter/js/themer.js +32 -27
  18. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +25 -7
  19. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
  20. data/assets/themes/j1/core/js/template.js +2 -8
  21. data/assets/themes/j1/core/js/template.js.map +1 -1
  22. data/assets/themes/j1/core/js/template.min.js +2 -8
  23. data/assets/themes/j1/core/js/template.min.js.map +1 -0
  24. data/assets/themes/j1/modules/lightbox/js/lightbox.js +1 -1
  25. data/assets/themes/j1/modules/lightbox/js/lightbox.min.js +1 -1
  26. data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +9 -4
  27. data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +1 -1
  28. data/lib/j1/version.rb +1 -1
  29. data/lib/starter_web/Gemfile +2 -2
  30. data/lib/starter_web/_config.yml +2 -2
  31. data/lib/starter_web/_data/blocks/banner.yml +2 -2
  32. data/lib/starter_web/_data/blocks/defaults/banner.yml +5 -5
  33. data/lib/starter_web/_data/builder/blog_navigator.yml +4 -4
  34. data/lib/starter_web/_data/modules/defaults/quicksearch.yml +3 -24
  35. data/lib/starter_web/_data/modules/defaults/themer.yml +1 -0
  36. data/lib/starter_web/_data/modules/fam.yml +13 -2
  37. data/lib/starter_web/_data/modules/navigator_menu.yml +26 -26
  38. data/lib/starter_web/_data/modules/quicksearch.yml +3 -3
  39. data/lib/starter_web/_data/private.yml@localhost +199 -0
  40. data/lib/starter_web/_includes/attributes.asciidoc +4 -3
  41. data/lib/starter_web/_plugins/lunr_index.rb +8 -4
  42. data/lib/starter_web/assets/images/modules/attics/markus-spiske-1920x1280.jpg +0 -0
  43. data/lib/starter_web/assets/images/modules/attics/markus-spiske.jpg +0 -0
  44. data/lib/starter_web/assets/images/modules/attics/markus-spiske4-1920x1280.jpg +0 -0
  45. data/lib/starter_web/assets/images/modules/icons/d1/scalable/d1.svg +1 -1
  46. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +1 -1
  47. data/lib/starter_web/collections/posts/public/featured/_posts/2020-05-01-top-site-generators.adoc +1 -1
  48. data/lib/starter_web/collections/posts/public/featured/_posts/2020-06-01-about-cookies.adoc +1 -1
  49. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +8 -5
  50. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +7 -4
  51. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +7 -4
  52. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +7 -4
  53. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +1 -1
  54. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +1 -1
  55. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-26-columbia-river.adoc +1 -1
  56. data/lib/starter_web/package.json +1 -1
  57. data/lib/starter_web/pages/public/about/about_site.adoc +1 -1
  58. data/lib/starter_web/pages/public/blog/navigator/archive.html +9 -7
  59. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +9 -7
  60. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +16 -11
  61. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +9 -7
  62. data/lib/starter_web/pages/public/blog/navigator/index.html +9 -10
  63. data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +1 -1
  64. data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/300_supported_languages.asciidoc +1 -1
  65. data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +161 -591
  66. data/lib/starter_web/pages/public/previewer/iframer.adoc +2 -1
  67. data/lib/starter_web/pages/public/previewer/justified_gallery.html +2 -2
  68. data/lib/starter_web/pages/public/previewer/md_color_palette.adoc +2450 -0
  69. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +4 -4
  70. data/lib/starter_web/pages/public/previewer/rouge.adoc +3 -3
  71. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +3 -3
  72. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  73. data/lib/starter_web/utilsrv/package.json +1 -1
  74. metadata +9 -2
@@ -148,10 +148,11 @@ tag::urls[]
148
148
  :url-iframe-resizer--gh-repo: https://github.com/davidjbradshaw/iframe-resizer
149
149
 
150
150
  :url-j1--home: https://jekyll.one/
151
- :url-j1--download: https://rubygems.org/gems/j1-template/versions/2021.0.11
152
- :url-j1-rubydoc--home: https://www.rubydoc.info/gems/j1-template/2021.0.11
151
+ :url-j1--download: https://rubygems.org/gems/j1-template/versions/2021.0.16
152
+ :url-j1-rubydoc--home: https://www.rubydoc.info/gems/j1-template/2021.0.16
153
153
  :url-j1--preview: https://preview.jekyll.one/
154
154
 
155
+ :url-j1-kickstarter--web-in-a-day: https://jekyll.one/pages/public/learn/kickstarter/web_in_a_day/meet_and_greet/
155
156
  :url-j1-web-in-a-day--meet-and-greet: https://jekyll.one/pages/public/learn/kickstarter/web_in_a_day/meet_and_greet/
156
157
 
157
158
  :url-j1-quick-references--jekyll: /pages/protected/manuals/quick_references/jekyll/
@@ -400,7 +401,7 @@ end::tables[]
400
401
  // -----------------------------------------------------------------------------
401
402
  tag::products[]
402
403
  :j1-license: MIT License
403
- :j1-version: 2021.0.11
404
+ :j1-version: 2021.0.16
404
405
  end::products[]
405
406
 
406
407
 
@@ -102,6 +102,7 @@ module Jekyll
102
102
  Jekyll.logger.info 'J1 QuickSearch:', 'creating search index ...'
103
103
 
104
104
  @site = site
105
+
105
106
  # gather posts and pages
106
107
  #
107
108
  items = pages_to_index(site)
@@ -109,6 +110,7 @@ module Jekyll
109
110
  # index = []
110
111
 
111
112
  index_js = open(@lunr_path).read
113
+
112
114
  # NOTE: all settings must be added within the index function
113
115
  #
114
116
  index_js << 'var idx = lunr(function() {'
@@ -136,12 +138,14 @@ module Jekyll
136
138
  'body' => entry.body
137
139
  }
138
140
 
139
- # remove unwanted categories
140
- doc['categories'] -= @strip_categories
141
+ # remove unwanted categories (if any)
142
+ #
143
+ doc['categories'] -= @strip_categories unless doc['categories'] == nil
141
144
 
142
145
  index_js << 'this.add(' << ::JSON.generate(doc, quirks_mode: true) << ');'
143
146
 
144
147
  # reduce the size of the doc array by deleting the body key
148
+ #
145
149
  doc.delete('body')
146
150
  @docs[i] = doc
147
151
 
@@ -282,7 +286,7 @@ module Jekyll
282
286
  description = excerpt
283
287
  end
284
288
  end
285
-
289
+
286
290
  SearchEntry.new(title, tagline, url, date, tags, categories, description, is_post, body, renderer)
287
291
  else
288
292
  raise 'Not supported'
@@ -341,6 +345,6 @@ end
341
345
 
342
346
  module Jekyll
343
347
  module J1LunrSearch
344
- VERSION = '2021.0.11'
348
+ VERSION = '2021.0.16'
345
349
  end
346
350
  end
@@ -14,7 +14,7 @@
14
14
  version="1.1"
15
15
  inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
16
16
  sodipodi:docname="d1.svg"
17
- inkscape:export-filename="C:\Temp\d10n-2021.0.11\assets\images\modules\icons\d1\d1-256x256.png"
17
+ inkscape:export-filename="C:\Temp\d10n-2021.0.16\assets\images\modules\icons\d1\d1-256x256.png"
18
18
  inkscape:export-xdpi="49.152"
19
19
  inkscape:export-ydpi="49.152">
20
20
  <title
@@ -43,7 +43,7 @@ all the tricky things needed for a website: putting out HTML, Javascript and
43
43
  CSS. As a result, the site creation process gets out of your way. Sounds fun,
44
44
  isn't it?
45
45
 
46
- [role="clearfix mb-3"]
46
+ // [role="clearfix mb-3"]
47
47
  excerpt__end
48
48
 
49
49
  // Load Liquid procedures
@@ -46,7 +46,7 @@ This article highlights top OpenSource projects providing static site
46
46
  generators, in many different programming languages. And Jekyll is only one of
47
47
  them. Have a look if an flull-blown CMS is (really) needed for your project!
48
48
 
49
- [role="clearfix mb-3"]
49
+ // [role="clearfix mb-3"]
50
50
  excerpt__end
51
51
 
52
52
  // Load Liquid procedures
@@ -52,7 +52,7 @@ requested to inform - in Europe for legal reasons. All users visiting web sites
52
52
  are bothered all the time to accept on cookies. Cookies are used by sites
53
53
  of today. For good reasons?
54
54
 
55
- [role="clearfix mb-3"]
55
+ // [role="clearfix mb-3"]
56
56
  excerpt__end
57
57
 
58
58
  // Load Liquid procedures
@@ -4,14 +4,14 @@ tagline: testing series elements
4
4
  date: 2020-01-01 00:00:00
5
5
  description: >
6
6
 
7
- tags: [ Post, Test ]
8
7
  categories: [ Series ]
8
+ tags: [ Post, Test ]
9
9
 
10
10
  series: test-series
11
11
  adsense: false
12
12
  comments: false
13
13
  toc: true
14
- exclude_from_search: true
14
+ exclude_from_search: false
15
15
 
16
16
  regenerate: false
17
17
 
@@ -39,9 +39,12 @@ resource_options:
39
39
 
40
40
  // Place an excerpt at the most top position
41
41
  // -----------------------------------------------------------------------------
42
- Testing series elements.
43
42
 
44
- [role="clearfix mb-3"]
43
+ This post is a *test series element*. Post series can help to split larger
44
+ posts into a group of smaller articles. This may helpful, if a large post
45
+ should be split into several *main chapters* but grouped together.
46
+
47
+ // [role="clearfix"]
45
48
  excerpt__end
46
49
 
47
50
  // Load Liquid procedures
@@ -59,7 +62,7 @@ excerpt__end
59
62
  // Include sub-documents
60
63
  // -----------------------------------------------------------------------------
61
64
 
62
- [[readmore]]
65
+ // [[readmore]]
63
66
  == The Extremes of Good and Evil
64
67
 
65
68
  .Release Loeb Classical Library, Harvard University Press, edition, 1931
@@ -12,7 +12,7 @@ series: test-series
12
12
  adsense: false
13
13
  comments: false
14
14
  toc: true
15
- exclude_from_search: true
15
+ exclude_from_search: false
16
16
 
17
17
  regenerate: false
18
18
 
@@ -40,9 +40,12 @@ resource_options:
40
40
 
41
41
  // Place an excerpt at the most top position
42
42
  // -----------------------------------------------------------------------------
43
- Testing series elements.
44
43
 
45
- [role="clearfix mb-3"]
44
+ This post is a *test series element*. Post series can help to split larger
45
+ posts into a group of smaller articles. This may helpful, if a large post
46
+ should be split into several *main chapters* but grouped together.
47
+
48
+ // [role="clearfix mb-3"]
46
49
  excerpt__end
47
50
 
48
51
  // Load Liquid procedures
@@ -60,7 +63,7 @@ excerpt__end
60
63
  // Include sub-documents
61
64
  // -----------------------------------------------------------------------------
62
65
 
63
- [[readmore]]
66
+ // [[readmore]]
64
67
  == The Extremes of Good and Evil
65
68
 
66
69
  .Release Loeb Classical Library, Harvard University Press, edition, 1931
@@ -12,7 +12,7 @@ series: test-series
12
12
  adsense: false
13
13
  comments: false
14
14
  toc: true
15
- exclude_from_search: true
15
+ exclude_from_search: false
16
16
 
17
17
  regenerate: false
18
18
 
@@ -40,9 +40,12 @@ resource_options:
40
40
 
41
41
  // Place an excerpt at the most top position
42
42
  // -----------------------------------------------------------------------------
43
- Testing series elements.
44
43
 
45
- [role="clearfix mb-3"]
44
+ This post is a *test series element*. Post series can help to split larger
45
+ posts into a group of smaller articles. This may helpful, if a large post
46
+ should be split into several *main chapters* but grouped together.
47
+
48
+ // [role="clearfix mb-3"]
46
49
  excerpt__end
47
50
 
48
51
  // Load Liquid procedures
@@ -60,7 +63,7 @@ excerpt__end
60
63
  // Include sub-documents
61
64
  // -----------------------------------------------------------------------------
62
65
 
63
- [[readmore]]
66
+ // [[readmore]]
64
67
  == The Extremes of Good and Evil
65
68
 
66
69
  .Release Loeb Classical Library, Harvard University Press, edition, 1931
@@ -12,7 +12,7 @@ series: test-series
12
12
  adsense: false
13
13
  comments: false
14
14
  toc: true
15
- exclude_from_search: true
15
+ exclude_from_search: false
16
16
 
17
17
  regenerate: false
18
18
 
@@ -40,9 +40,12 @@ resource_options:
40
40
 
41
41
  // Place an excerpt at the most top position
42
42
  // -----------------------------------------------------------------------------
43
- Testing series elements.
44
43
 
45
- [role="clearfix mb-3"]
44
+ This post is a *test series element*. Post series can help to split larger
45
+ posts into a group of smaller articles. This may helpful, if a large post
46
+ should be split into several *main chapters* but grouped together.
47
+
48
+ // [role="clearfix mb-3"]
46
49
  excerpt__end
47
50
 
48
51
  // Load Liquid procedures
@@ -60,7 +63,7 @@ excerpt__end
60
63
  // Include sub-documents
61
64
  // -----------------------------------------------------------------------------
62
65
 
63
- [[readmore]]
66
+ // [[readmore]]
64
67
  == The Extremes of Good and Evil
65
68
 
66
69
  .Release Loeb Classical Library, Harvard University Press, edition, 1931
@@ -36,7 +36,7 @@ and the county seat of Hennepin County. According to the United States Census
36
36
  Bureau, the city has a total area of 151.3 km² (58.4 mi²). 142.2 km² (54.9 mi²)
37
37
  of it is land and 9.1 km² (3.5 mi²) of it (6.01%) is water.
38
38
 
39
- [role="clearfix mb-3"]
39
+ // [role="clearfix mb-3"]
40
40
  excerpt__end
41
41
 
42
42
  // Load Liquid procedures
@@ -35,7 +35,7 @@ about 6 kilometres (3.7 mi) north of Narcisse, Manitoba, Canada. The dens
35
35
  are the winter home of tens of thousands of red-sided garter snakes
36
36
  (Thamnophis sirtalis parietalis).
37
37
 
38
- [role="clearfix mb-3"]
38
+ // [role="clearfix mb-3"]
39
39
  excerpt__end
40
40
 
41
41
  // Load Liquid procedures
@@ -35,7 +35,7 @@ North America. It flows northwest and then south into the US state of Washington
35
35
  then turns west to form most of the border between Washington and the state of
36
36
  Oregon before emptying into the Pacific Ocean.
37
37
 
38
- [role="clearfix mb-3"]
38
+ // [role="clearfix mb-3"]
39
39
  excerpt__end
40
40
 
41
41
  // Load Liquid procedures
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": true,
3
3
  "name": "j1_starter",
4
- "version": "2021.0.11",
4
+ "version": "2021.0.16",
5
5
  "description": "J1 Template Starter Web",
6
6
  "homepage": "https://your.site",
7
7
  "author": {
@@ -10,7 +10,7 @@ description: >
10
10
  tags: [ Overview ]
11
11
  categories: [ Software, Platforms, Contributers ]
12
12
 
13
- scrollbar: true
13
+ scrollbar: false
14
14
 
15
15
  permalink: /pages/public/about/site/
16
16
  regenerate: false
@@ -4,18 +4,20 @@ title: Creators Blog
4
4
  tagline: all posts
5
5
  description: Browse all articles
6
6
 
7
- tags: [ Blog, Creator ]
8
- categories: [ Navigator, Archive, Viewer ]
9
-
10
- exclude_from_search: true
7
+ categories: [ Navigator ]
8
+ tags: [ Blog, Archive, Viewer ]
11
9
 
12
10
  sort: date
13
11
  toc: true
14
- fam: true
15
12
  fam_menu_id: open_toc
16
- noindex: true
17
13
 
18
- #permalink: /pages/private/blog/navigator/archive/
14
+ indexed: false
15
+ exclude_from_search: true
16
+
17
+ pagination:
18
+ enabled: true
19
+ permalink: /page:num/
20
+
19
21
  regenerate: false
20
22
 
21
23
  resources: []
@@ -4,18 +4,20 @@ title: Creators Blog
4
4
  tagline: posts by category
5
5
  description: Browse articles by category
6
6
 
7
- tags: [ Blog, Creator ]
8
- categories: [ Navigator, Category, Viewer ]
9
-
10
- exclude_from_search: true
7
+ categories: [ Navigator ]
8
+ tags: [ Blog, Categories, Viewer ]
11
9
 
12
10
  sort: date
13
11
  toc: true
14
- fam: true
15
12
  fam_menu_id: open_toc
16
- noindex: true
17
13
 
18
- #permalink: /pages/private/blog/navigator/archive/categoryview/
14
+ indexed: false
15
+ exclude_from_search: true
16
+
17
+ pagination:
18
+ enabled: true
19
+ permalink: /page:num/
20
+
19
21
  regenerate: false
20
22
 
21
23
  resources: []
@@ -4,18 +4,21 @@ title: Creators Blog
4
4
  tagline: posts by date
5
5
  description: Browse articles by date
6
6
 
7
- tags: [ Blog, Creator ]
8
- categories: [ Navigator, Date, Viewer ]
9
-
10
- exclude_from_search: true
7
+ categories: [ Navigator ]
8
+ tags: [ Blog, Date, Viewer ]
11
9
 
12
10
  sort: date
13
11
  toc: true
14
- fam: true
15
12
  fam_menu_id: open_toc
16
- noindex: true
17
13
 
18
- #permalink: /pages/private/blog/navigator/archive/dateview/
14
+ indexed: false
15
+ exclude_from_search: true
16
+
17
+
18
+ pagination:
19
+ enabled: true
20
+ permalink: /page:num/
21
+
19
22
  regenerate: false
20
23
 
21
24
  resources: []
@@ -90,11 +93,13 @@ resource_options:
90
93
  <h3 id="{{100000|rand}}"
91
94
  class="toc-link mt-5 mb-3">
92
95
  {% if year != nyear %}
93
- <a id="{{post.date|date:'%Y'}}"></a>
94
- {% endif %}<a id="{{post.date|date:'%Y-%m' }}">
95
- </a>
96
- <a> <i class="mdi mdi-calendar-blank"></i></a>
96
+ <a href="#" id="{{post.date|date:'%Y'}}">
97
+ {% else %}
98
+ <a href="#" id="{{post.date|date:'%Y-%m' }}">
99
+ {% endif %}
100
+ <i class="mdi mdi-calendar-blank"></i>
97
101
  {{post.date|date:'%B %Y'}}
102
+ </a>
98
103
  </h3>
99
104
  {{openList}}
100
105
  {% endif %}
@@ -4,18 +4,20 @@ title: Creators Blog
4
4
  tagline: blog posts by tag
5
5
  description: Browse articles by tag
6
6
 
7
- tags: [ Blog, Creator ]
8
- categories: [ Navigator, Tag, Viewer ]
9
-
10
- exclude_from_search: true
7
+ categories: [ Navigator ]
8
+ tags: [ Blog, Tags, Viewer ]
11
9
 
12
10
  sort: date
13
11
  toc: true
14
- fam: true
15
12
  fam_menu_id: open_toc
16
- noindex: true
17
13
 
18
- #permalink: /pages/private/blog/navigator/archive/tagview/
14
+ indexed: false
15
+ exclude_from_search: true
16
+
17
+ pagination:
18
+ enabled: true
19
+ permalink: /page:num/
20
+
19
21
  regenerate: false
20
22
 
21
23
  resource_options:
@@ -4,21 +4,20 @@ title: Creators Blog
4
4
  tagline: explore posts
5
5
  description: Navigate all articles
6
6
 
7
- tags: [ Blog, Creator ]
8
- categories: [ Navigator ]
9
-
10
- exclude_from_search: true
11
-
12
- sort: date
13
- toc: false
14
- fam: false
15
- fam_menu_id: open_toc
16
- noindex: true
7
+ categories: [ Blog ]
8
+ tags: [ Navigator ]
17
9
 
18
10
  pagination:
19
11
  enabled: true
20
12
  permalink: /page:num/
21
13
 
14
+ sort: date
15
+ toc: true
16
+ fam_menu_id: default
17
+
18
+ indexed: false
19
+ exclude_from_search: true
20
+
22
21
  regenerate: false
23
22
 
24
23
  resources: []