j1-template 2020.0.18 → 2020.0.19

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.
Files changed (106) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/blocks/footer/boxes/about_box.proc +2 -2
  3. data/_includes/themes/j1/blocks/footer/boxes/links_box.proc +3 -3
  4. data/_includes/themes/j1/blocks/footer/boxes/news_box.proc +2 -2
  5. data/_includes/themes/j1/layouts/content_generator_blog_archive.html +19 -16
  6. data/_includes/themes/j1/layouts/content_generator_collection.html +2 -2
  7. data/_includes/themes/j1/layouts/content_generator_page.html +8 -56
  8. data/_includes/themes/j1/layouts/content_generator_post.html +4 -4
  9. data/_includes/themes/j1/procedures/global/create_bs_button.proc +10 -10
  10. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +37 -38
  11. data/_layouts/blog_archive.html +2 -1
  12. data/_layouts/collection.html +1 -1
  13. data/_layouts/page.html +1 -1
  14. data/_layouts/post.html +1 -1
  15. data/apps/public/cc/cc.yml +35 -34
  16. data/assets/data/authclient.html +5 -5
  17. data/assets/data/banner.html +8 -8
  18. data/assets/data/cookiebar.html +5 -5
  19. data/assets/data/gallery_customizer.html +1 -1
  20. data/assets/data/menu.html +4 -4
  21. data/assets/data/mmenu.html +4 -4
  22. data/assets/data/panel.html +110 -90
  23. data/assets/data/themes.json +2 -0
  24. data/assets/themes/j1/adapter/js/carousel.js +134 -133
  25. data/assets/themes/j1/adapter/js/j1.js +32 -8
  26. data/assets/themes/j1/adapter/js/mmenu.js +6 -6
  27. data/assets/themes/j1/adapter/js/navigator.js +78 -27
  28. data/assets/themes/j1/adapter/js/themer.js +6 -13
  29. data/assets/themes/j1/core/css/animate.css +17 -0
  30. data/assets/themes/j1/core/css/bootstrap.css +54 -48
  31. data/assets/themes/j1/core/css/bootstrap.min.css +3 -3
  32. data/assets/themes/j1/core/css/{fontawesome.css → icons-fontawesome.css} +31 -12
  33. data/assets/themes/j1/core/css/{fontawesome.min.css → icons-fontawesome.min.css} +0 -0
  34. data/assets/themes/j1/core/css/{iconify-icons.css → icons-iconify.css} +51 -38
  35. data/assets/themes/j1/core/css/{iconify-icons.min.css → icons-iconify.min.css} +1 -1
  36. data/assets/themes/j1/core/css/{material-design-icons.css → icons-materialdesign.css} +326 -244
  37. data/assets/themes/j1/core/css/icons-materialdesign.min.css +1 -0
  38. data/assets/themes/j1/core/css/{twemoji.css → icons-twemoji.css} +61 -51
  39. data/assets/themes/j1/core/css/{twemoji.min.css → icons-twemoji.min.css} +0 -0
  40. data/assets/themes/j1/core/css/{theme_extensions.css → theme-extensions.css} +1527 -1625
  41. data/assets/themes/j1/core/css/theme-extensions.min.css +1 -0
  42. data/assets/themes/j1/core/css/uno-dark.css +7886 -0
  43. data/assets/themes/j1/core/css/uno-dark.min.css +6 -0
  44. data/assets/themes/j1/core/css/uno.css +18138 -6363
  45. data/assets/themes/j1/core/css/uno.min.css +8 -1
  46. data/assets/themes/j1/core/css/vendor.css +49 -13412
  47. data/assets/themes/j1/core/css/vendor.min.css +1 -7
  48. data/assets/themes/j1/modules/bsThemeSwitcher/js/switcher.js +32 -22
  49. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.css +82 -0
  50. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.min.css +15 -0
  51. data/assets/themes/j1/modules/mdiPreviewer/js/readme +0 -0
  52. data/assets/themes/j1/modules/mmenuLight/css/mmenu.css +11 -11
  53. data/assets/themes/j1/modules/mmenuLight/css/theme/uno.css +3 -3
  54. data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.css +153 -0
  55. data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.min.css +19 -0
  56. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +12 -13
  57. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +11 -12
  58. data/assets/themes/j1/modules/twemoji/js/twemoji.js +1 -10
  59. data/assets/themes/j1/modules/twemoji/js/twemoji.min.js +1 -6
  60. data/lib/j1/version.rb +1 -1
  61. data/lib/j1_app/j1_auth_manager/config.rb +10 -5
  62. data/lib/j1_app/j1_auth_manager/views/auth_manager_ui.erb +5 -5
  63. data/lib/starter_web/Gemfile +1 -1
  64. data/lib/starter_web/_config.yml +2 -2
  65. data/lib/starter_web/_data/blocks/banner.yml +24 -19
  66. data/lib/starter_web/_data/blocks/panel.yml +29 -22
  67. data/lib/starter_web/_data/layouts/home.yml +6 -26
  68. data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -4
  69. data/lib/starter_web/_data/modules/defaults/themer.yml +2 -1
  70. data/lib/starter_web/_data/modules/themer.yml +2 -1
  71. data/lib/starter_web/_data/private.yml +56 -108
  72. data/lib/starter_web/_data/resources.yml +49 -29
  73. data/lib/starter_web/assets/images/modules/icons/j1/favicon.ico +0 -0
  74. data/lib/starter_web/assets/images/modules/icons/j1/j1-256x256.png +0 -0
  75. data/lib/starter_web/assets/images/modules/icons/j1/j1-32x32.ico +0 -0
  76. data/lib/starter_web/assets/images/modules/icons/j1/j1-512x512.png +0 -0
  77. data/lib/starter_web/assets/images/modules/icons/j1/j1-64x64.png +0 -0
  78. data/lib/starter_web/assets/images/modules/icons/j1/j1.ico +0 -0
  79. data/lib/starter_web/assets/images/modules/icons/j1/scalable/j1.svg +31 -35
  80. data/lib/starter_web/collections/posts/public/featured/_posts/2019-05-01-top-open-source-static-site-generators.adoc +2 -2
  81. data/lib/starter_web/collections/posts/public/featured/_posts/2019-06-01-about-cookies.adoc +1 -1
  82. data/lib/starter_web/package.json +1 -1
  83. data/lib/starter_web/pages/public/000_nav_pagination_tester.adoc +297 -0
  84. data/lib/starter_web/pages/public/blog/navigator/archive.html +11 -17
  85. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +13 -18
  86. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +13 -19
  87. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +11 -12
  88. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +51 -59
  89. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +20 -20
  90. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +11 -11
  91. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +20 -20
  92. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +67 -67
  93. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +18 -18
  94. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +10 -10
  95. data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +544 -39
  96. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +1 -1
  97. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +12 -10
  98. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  99. data/lib/starter_web/utilsrv/package.json +1 -1
  100. metadata +20 -16
  101. data/_includes/themes/j1/blocks/footer/boxes/about_box.proc.org +0 -40
  102. data/assets/themes/j1/core/css/material-design-icons.min.css +0 -1
  103. data/assets/themes/j1/core/css/theme_extensions.min.css +0 -1
  104. data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour.1.asciidoc +0 -120
  105. data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour.adoc +0 -144
  106. data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour_api.adoc +0 -642
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b43f7ac06fb0cbf9ac00ab1e1de1be2dd10e2f4f1999c927be6d3cef47eb63b
4
- data.tar.gz: c5921d13f57b0c2e314c3fd5b480c90c00df81cea9a33c30991305d5d0f11c2c
3
+ metadata.gz: f88309f8b818139934a8e812428ed7b8bb4257a2dd0a2c22c8dd78e8c79d41c9
4
+ data.tar.gz: 1848a6d5e9e8e38460b0acb9d49992ef6de6ae9aa0f356a00d49a8644ae6bc5f
5
5
  SHA512:
6
- metadata.gz: 21b9dbb68e77835f79cdc10d2c340fec5d3120faaa03e7d922117f919b948edfe20a79c6f2a3695e1ae963cc18af31aa31b05e26a0730fb1262f557ad04dd8ae
7
- data.tar.gz: 4c2c386858b786dd75efcddc67814f17b57187b3bd3709f12f35fad9a9b7c915ca38b3e138380615fb90ea3ac9a04560f01e9c3dbf04ee7048bb3ea3240d75d0
6
+ metadata.gz: cf7b33dde227d1d7f8a8cc69a766f02f27ff44ca1ff34f9039b4f2941450787253dd6ef5b75f297c18778169607a7b414cb3e1e5aa9ba007af9a19a87945ef7e
7
+ data.tar.gz: eb6ebe9544cf9535521b5f7afebc55d21654fe7993e38af28a354c94134429195ffd92397688b5023c110dc6edc84477f68a4e8880ab191fe375ddb8c5f09e48
@@ -33,11 +33,11 @@
33
33
  <!-- [INFO ] [about_box.proc ] [ place about box ] -->
34
34
  <div class="col-md-{{footer_box_width_md}}">
35
35
  <!-- div class="heading-footer"><h2 class="notoc">{{title}}</h2></div -->
36
- <h2 class="g-text-upper g-color-white-opacity-0_9 g-font-size-18 g-font-weight-500 g-mb-0">{{title}}</h2>
36
+ <h2 class="text-uppercase g-color-white-opacity-0_9 g-font-size-18 mb-0">{{title}}</h2>
37
37
  <p class="tagline mb-0">
38
38
  <large>{{tagline}}</large>
39
39
  </p>
40
- <div class="d-inline-block g-width-50 g-height-2 uno-bg-primary g-mb-5"></div>
40
+ <div class="d-inline-block g-width-50 g-height-2 bg-primary mb-1"></div>
41
41
  {% if justify %}
42
42
  <p class="lead text-justify">{{text}}</p>
43
43
  {% else %}
@@ -32,18 +32,18 @@
32
32
  <!-- [INFO ] [links_box.proc ] [ place links box ] -->
33
33
  <div class="col-md-{{footer_box_width_md}}">
34
34
  <!-- div class="heading-footer"><h2 class="notoc">{{title}}</h2></div -->
35
- <h2 class="g-text-upper g-color-white-opacity-0_9 g-font-size-18 g-font-weight-500 g-mb-0">{{title}}</h2>
35
+ <h2 class="text-uppercase g-color-white-opacity-0_9 g-font-size-18 mb-0">{{title}}</h2>
36
36
  <p class="tagline mb-0">
37
37
  <large>{{tagline}}</large>
38
38
  </p>
39
- <div class="d-inline-block g-width-50 g-height-2 uno-bg-primary g-mb-5"></div>
39
+ <div class="d-inline-block g-width-50 g-height-2 bg-primary mb-1"></div>
40
40
 
41
41
  <ul class="list-unstyled footer-link-list">
42
42
  {% for property in links %}
43
43
  {% comment %} <!-- proc - property.link: {{ property.link }} --> {% endcomment %}
44
44
  <li>
45
45
  <a href="{{property.link.href}}" target="_blank" rel="noopener noreferrer">{{property.link.title}}</a>
46
- <div style="color: #555;"><small>{{property.link.tagline}}</small></div>
46
+ <div style="color: rgba(255, 255, 255, 0.4);"><small>{{property.link.tagline}}</small></div>
47
47
  </li>
48
48
  {% endfor %}
49
49
  </ul>
@@ -39,11 +39,11 @@
39
39
  <!-- [INFO ] [news_box.proc ] [ place news box ] -->
40
40
  <div class="col-md-{{footer_box_width_md}}">
41
41
  <!-- div class="heading-footer"><h2 class="notoc">{{title}}</h2></div -->
42
- <h2 class="g-text-upper g-color-white-opacity-0_9 g-font-size-18 g-font-weight-500 g-mb-0">{{title}}</h2>
42
+ <h2 class="text-uppercase g-color-white-opacity-0_9 g-font-size-18 mb-0">{{title}}</h2>
43
43
  <p class="tagline mb-0">
44
44
  <large>{{tagline}}</large>
45
45
  </p>
46
- <div class="d-inline-block g-width-50 g-height-2 uno-bg-primary g-mb-5"></div>
46
+ <div class="d-inline-block g-width-50 g-height-2 bg-primary mb-1"></div>
47
47
 
48
48
  <ul class="list-unstyled link-news">
49
49
  {% for post in posts %}
@@ -68,17 +68,18 @@
68
68
  <!-- split page to place a sidebar e.g. the document TOC -->
69
69
  <!-- no sidebar, mr-* disabled -->
70
70
  <!-- div class="container mr-5 mb-5" -->
71
- <div class="container mb-5">
72
- <div class="row">
71
+ <!-- div class="container mb-5" -->
72
+ <!-- div class="row" -->
73
73
 
74
74
  <!-- main class="col-md-9 col-xs-12 r-text-{{rtext_size}} js-toc-content" -->
75
- <main class="col-md-12 col-xs-12 r-text-{{rtext_size}} js-toc-content">
75
+ <main class="container r-text-{{rtext_size}} js-toc-content mb-5">
76
76
 
77
77
  {% comment %} Blog Navigator
78
78
  ------------------------------------------------------------------------ {% endcomment %}
79
- <!-- Content placed by blog_archive_content.html -->
80
- <div id="blog_navigator" class="row">
81
- <div class="col-md-12" role="main">
79
+ <!-- Content placed by layouts/content_generator_blog_archive.html -->
80
+ <!-- div id="blog_navigator" class="row" -->
81
+ <div id="blog_navigator">
82
+ <!-- div class="col-md-12" role="main" -->
82
83
 
83
84
  <div id="article_navigator">
84
85
 
@@ -99,7 +100,8 @@
99
100
  <h2 id="post-headline" class="mt-4">Navigator</h2>
100
101
  </div> -->
101
102
 
102
- <nav class="paginator ml-3">
103
+ <!-- nav class="paginator ml-3" -->
104
+ <nav class="paginator">
103
105
  <ul class="pagination raised-z0">
104
106
 
105
107
  <li class="page-item"><a class="page-link" href="{{category_view}}" title="View by Category">By Category</a></li>
@@ -134,7 +136,8 @@
134
136
  {% comment %} Display pagination links if any
135
137
  ---------------------------------------------------------------- {% endcomment %}
136
138
  {% if paginator.total_pages > 1 %}
137
- <nav class="paginator ml-3">
139
+ <!-- nav class="paginator ml-3" -->
140
+ <nav class="paginator">
138
141
  <ul class="pagination raised-z0">
139
142
  {% if paginator.previous_page %}
140
143
  {% if paginator.previous_page > 1 %}
@@ -160,7 +163,8 @@
160
163
  </nav>
161
164
  {% endif %}
162
165
 
163
- <div class="view-description ml-3 mb-3">
166
+ <!-- div class="view-description ml-3 mb-3" -->
167
+ <div class="view-description mb-3">
164
168
  {{article_previewer_description}}
165
169
  </div>
166
170
 
@@ -189,7 +193,7 @@
189
193
  {% comment %} End Article Previewer
190
194
  -------------------------------------------------------------------- {% endcomment %}
191
195
 
192
- </div> <!-- end col-md-12 -->
196
+ <!-- /div --> <!-- end col-md-12 -->
193
197
  </div> <!-- end row blog_navigator -->
194
198
 
195
199
  <!-- End Content placed by blog_archive_content.html -->
@@ -222,6 +226,7 @@
222
226
 
223
227
  var dependencies_blog_generator = setInterval(function() {
224
228
  if ( j1.adapter.themer.getState() == 'finished' ) {
229
+ // [INFO ] [j1.content_generator_blog_archive ] [ {{page.title}} - save the current page to cookieUserState cookie: {{ browser_page_url }} ]
225
230
  var cookie_names = j1.getCookieNames();
226
231
  const user_state_cookie_name = cookie_names.user_session;
227
232
  var user_state = j1.readCookie(user_state_cookie_name);
@@ -231,10 +236,6 @@
231
236
  name: user_state_cookie_name,
232
237
  data: user_state
233
238
  });
234
- /* Set default colors */
235
- var bg_primary = j1.getStyleValue('bg-primary', 'background-color');
236
- /* Set color of timeline bullet */
237
- $('head').append('<style>.tmicon { background: ' +bg_primary+ ' !important; }</style>');
238
239
  // clear interval checking
239
240
  clearInterval(dependencies_blog_generator);
240
241
  }
@@ -242,6 +243,8 @@
242
243
  });
243
244
  </script>
244
245
 
245
- </div> <!-- end row -->
246
- </div> <!-- end container -->
246
+ <!-- /div --> <!-- end row -->
247
+ <!-- /div --> <!-- end container -->
248
+
249
+
247
250
  <!-- [INFO ] [j1.layout.content_generator_blog.html ] [ end content ] -->
@@ -70,7 +70,7 @@
70
70
  ---------------------------------------------------------------------------- {% endcomment %}
71
71
  {% if sidebar == false %}
72
72
  <!-- FULL page - no sidebar for page toc -->
73
- <main class="col-md-12 col-xs-12 r-text-{{rtext_size}} js-toc-content">
73
+ <main class="r-text-{{rtext_size}} js-toc-content">
74
74
 
75
75
  <!-- Include a pager at top position -->
76
76
  {% include {{pager}} %}
@@ -93,7 +93,7 @@
93
93
  {% else %}
94
94
  <!-- SPLIT page. Place a sidebar e.g. for the document toc -->
95
95
  <!-- main class="col-md-9 col-xs-12 r-text-{{rtext_size}} js-toc-content" -->
96
- <main class="col-md-12 col-xs-12 r-text-{{rtext_size}} js-toc-content">
96
+ <main class="r-text-{{rtext_size}} js-toc-content">
97
97
 
98
98
  <!-- Include a pager at top position -->
99
99
  {% include {{pager}} %}
@@ -30,78 +30,30 @@
30
30
  {% comment %} set config data
31
31
  -------------------------------------------------------------------------------- {% endcomment %}
32
32
  {% assign template_config = site.data.template_settings %}
33
- {% assign toccer_defaults = modules.defaults.toccer.defaults %}
34
- {% assign toccer_settings = modules.toccer.settings %}
35
33
 
36
34
  {% comment %} set config options
37
35
  -------------------------------------------------------------------------------- {% endcomment %}
38
- {% assign toccer_options = toccer_defaults | merge: toccer_settings %}
39
- {% assign tocbot_enabled = toccer_options.enabled %}
40
-
41
36
  {% assign rtext = site.data.template_settings.typography.rtext %}
42
37
  {% assign page_rtext = page.rtext %}
43
38
  {% assign page_rtext_size = page.rtext_size %}
44
39
  {% assign page_toccer = page.toccer %}
45
40
  {% assign page_toc = page.toc %}
46
41
 
47
- {% if tocbot_enabled and page_toc or page_toccer %}
48
- {% assign sidebar = true %}
49
- {% else %}
50
- {% assign sidebar = false %}
51
- {% endif %}
52
-
53
42
  {% if rtext %}
54
43
  {% assign rtext_size = site.data.template_settings.typography.rtext_size %}
55
44
  {% else %}
56
45
  {% assign rtext_size = 0 %}
57
46
  {% endif %}
58
47
 
59
-
60
48
  {% comment %} Main
61
49
  -------------------------------------------------------------------------------- {% endcomment %}
62
- <!-- [INFO ] [j1.layout.content_generator_page.html ] [ begin content ] -->
63
- <!-- div class="container mr-5 mb-5" -->
64
- <!-- no sidebar, mr-* disabled -->
65
- <div class="container mb-5">
66
- <div class="row">
67
-
68
- {% if sidebar == false %}
69
- <!-- [INFO ] [j1.layout.content_generator_page.html ] [ start main for full page ] -->
70
- <main class="col-md-12 col-xs-12 r-text-{{rtext_size}} js-toc-content">
71
- <!-- [INFO ] [j1.layout.content_generator_page.html ] [ begin place content ] -->
72
- {{content}}
73
- </main>
74
- <!-- [INFO ] [j1.layout.content_generator_page.html ] [ end main for full page ] -->
75
- {% else %}
76
- <!-- [INFO ] [j1.layout.content_generator_page.html ] [ start main for split page (TOC) ] -->
77
- <main class="col-md-12 col-xs-12 r-text-{{rtext_size}} js-toc-content">
78
- <!-- main class="col-md-9 col-xs-12 r-text-{{rtext_size}} js-toc-content" -->
79
- <!-- [INFO ] [j1.layout.content_generator_page.html ] [ begin place content ] -->
80
- {{ content }}
81
-
82
- {% comment %} Place additional headline for comments
83
- ------------------------------------------------------------------------ {% endcomment %}
84
- {% if page.comments %}
85
- <h2 id="comments_leave_comment"> Leave a Comment </h2>
86
- {% endif %}
87
- </main>
88
- <!-- [INFO ] [j1.layout.content_generator_page.html ] [ end main for split page (TOC) ] -->
89
- {% comment %} Place Sidebar|Tocbot
90
- -------------------------------------------------------------------------- {% endcomment %}
91
- <!-- NOTE: BS or Tocbot Affix is not used anymore. Replaced by CSS style "sticky" -->
92
- {% comment %} tocbot and page_navigation (not used anymore)
93
- --------------------------------------------------------------------------
94
- <aside class="col-md-3 d-none d-md-block sticky">
95
- <div id="sidebar">
96
- <div id="j1-toc-mgr" class="toc js-toc"></div>
97
- </div>
98
- </aside>
99
- -------------------------------------------------------------------------- {% endcomment %}
100
- {% endif %} <!-- endif sidebar -->
101
-
102
- </div> <!-- end row -->
103
- </div> <!-- end container -->
104
- <!-- [INFO ] [j1.layout.content_generator_page.html ] [ end place content ] -->
50
+ <!-- [INFO ] [j1.layout.content_generator_page.html ] [ start main for full page ] -->
51
+ <main class="r-text-{{rtext_size}} js-toc-content">
52
+ <!-- [INFO ] [j1.layout.content_generator_page.html ] [ begin place content ] -->
53
+ {{content}}
54
+ <!-- [INFO ] [j1.layout.content_generator_page.html ] [ end place content ] -->
55
+ </main>
56
+ <!-- [INFO ] [j1.layout.content_generator_page.html ] [ end main for full page ] -->
105
57
 
106
58
  {% comment %} Calc|Write the Back URL
107
59
  -------------------------------------------------------------------------------- {% endcomment %}
@@ -111,7 +63,7 @@
111
63
  {% capture browser_page_url %}{{page.url}}{% endcapture %}
112
64
  {% endif %}
113
65
 
114
- <!-- [INFO ] [j1.page.{{page.title}} ] [Save the current ArticleBrowser page to UserState cookie] -->
66
+ <!-- [INFO ] [j1.page.{{page.title}} ] [Save the current page to UserState cookie] -->
115
67
  <!-- script>
116
68
  var logger = log4javascript.getLogger("j1.page.{{page.title|downcase}}.init");
117
69
  var cookieUserState = 'j1.user.state'
@@ -79,7 +79,7 @@
79
79
  {% if sidebar == false %}
80
80
  <!-- FULL page - no sidebar for page toc -->
81
81
  <div class="row">
82
- <main class="col-md-12 col-xs-12 r-text-{{rtext_size}} js-toc-content">
82
+ <main class="r-text-{{rtext_size}} js-toc-content">
83
83
  <!-- Include a pager at top position -->
84
84
  {% include {{pager}} %}
85
85
  <!-- div class="featured-headline" -->
@@ -94,7 +94,7 @@
94
94
 
95
95
  <header class="bmd-layout-header">
96
96
  <!-- div class="navbar navbar-dark bg-primary raised-z2 mb-4" -->
97
- <div class="navbar navbar-dark uno-bg-primary raised-z2 mb-4">
97
+ <div class="navbar navbar-dark bg-primary raised-z2 mb-4">
98
98
  <button class="bmd-drawer drawer-toggler animated fadeIn" type="button" data-toggle="drawer" data-target="#post_navigator">
99
99
  <span class="mdi mdi-menu mdi-2x"></span>
100
100
  </button>
@@ -139,7 +139,7 @@
139
139
  <!-- SPLIT page. Place a sidebar e.g. for the document toc -->
140
140
  <div class="row">
141
141
  <!-- main class="col-md-9 col-xs-12 r-text-{{rtext_size}} js-toc-content" -->
142
- <main class="col-md-12 col-xs-12 r-text-{{rtext_size}} js-toc-content">
142
+ <main class="r-text-{{rtext_size}} js-toc-content">
143
143
 
144
144
  <!-- Include a pager at top position -->
145
145
  {% include {{pager}} %}
@@ -154,7 +154,7 @@
154
154
 
155
155
  <header class="bmd-layout-header">
156
156
  <!-- div class="navbar navbar-dark bg-primary raised-z2 mb-4" -->
157
- <div class="navbar navbar-dark uno-bg-primary raised-z2 mb-4">
157
+ <div class="navbar navbar-dark bg-primary raised-z2 mb-4">
158
158
  <button class="bmd-drawer drawer-toggler animated fadeIn" type="button" data-toggle="drawer" data-target="#post_navigator">
159
159
  <span class="mdi mdi-menu mdi-2x"></span>
160
160
  </button>
@@ -44,18 +44,18 @@
44
44
  {% assign button_type = include.button_type | strip | downcase %}
45
45
 
46
46
  {% comment %} Liquid procedures
47
- --------------------------------------------------------------- {% endcomment %}
47
+ -------------------------------------------------------------------------------- {% endcomment %}
48
48
  {% capture select_color %}themes/{{site.template.name}}/procedures/global/select_color.proc{% endcapture %}
49
49
 
50
50
 
51
51
  {% comment %} Main
52
- --------------------------------------------------------------- {% endcomment %}
52
+ -------------------------------------------------------------------------------- {% endcomment %}
53
53
 
54
54
  {% case button_type %}
55
55
 
56
56
  {% when 'link' %}
57
57
  {% comment %} Create BS link button
58
- ------------------------------------------------------------- {% endcomment %}
58
+ ------------------------------------------------------------------------------ {% endcomment %}
59
59
 
60
60
  {% for item in button_data %}
61
61
 
@@ -74,25 +74,25 @@
74
74
  {% endfor %}
75
75
 
76
76
  {% if button_href and button_target %}
77
- {% capture bs_button_html %}<a href="{{button_href}}" target="{{ button_target }}" class="btn {{button_class}}"><i class="{{icon_family}} {{icon_family}}-{{button_icon}} {{icon_family}}-{{button_icon_size}} {{icon_family}}-{{button_icon_color}} mr-1"></i> {{button_text}} </a>{% endcapture %}
77
+ {% capture bs_button_html %}<a href="{{button_href}}" target="{{ button_target }}" class="{{button_class}}"><i class="{{icon_family}} {{icon_family}}-{{button_icon}} {{icon_family}}-{{button_icon_size}} {{icon_family}}-{{button_icon_color}} mr-1"></i> {{button_text}} </a>{% endcapture %}
78
78
  {% elsif button_href %}
79
- {% capture bs_button_html %}<a href="{{button_href}}" class="btn {{button_class}}"><i class="{{icon_family}} {{icon_family}}-{{button_icon}} {{icon_family}}-{{button_icon_size}} {{icon_family}}-{{button_icon_color}} mr-1"></i> {{button_text}} </a>{% endcapture %}
79
+ {% capture bs_button_html %}<a href="{{button_href}}" class="{{button_class}}"><i class="{{icon_family}} {{icon_family}}-{{button_icon}} {{icon_family}}-{{button_icon_size}} {{icon_family}}-{{button_icon_color}} mr-1"></i> {{button_text}} </a>{% endcapture %}
80
80
  {% else %}
81
81
  {% capture bs_button_html %}<!-- INFO: No valid value for parameter href found. -->{% endcapture %}
82
82
  {% endif %}
83
83
 
84
84
  {% when 'input' %}
85
85
  {% comment %} Create BS link button
86
- ------------------------------------------------------------- {% endcomment %}
86
+ ------------------------------------------------------------------------------ {% endcomment %}
87
87
 
88
88
  {% when 'submit' %}
89
89
  {% comment %} Create BS link button
90
- ------------------------------------------------------------- {% endcomment %}
90
+ ------------------------------------------------------------------------------ {% endcomment %}
91
91
 
92
92
 
93
93
  {% when 'card' %}
94
94
  {% comment %} Create BS card button
95
- ------------------------------------------------------------- {% endcomment %}
95
+ ------------------------------------------------------------------------------ {% endcomment %}
96
96
 
97
97
  {% for item in button_data %}
98
98
 
@@ -110,7 +110,7 @@
110
110
  {% endfor %}
111
111
 
112
112
  {% if button_href %}
113
- {% capture bs_button_html %}<a href="{{button_href}}" class="btn {{button_class}}"><i class="{{icon_family}} {{icon_family}}-{{button_icon}} {{icon_family}}-{{button_icon_size}} {{icon_family}}-{{button_icon_color}} mr-1"></i> {{button_text}} </a>{% endcapture %}
113
+ {% capture bs_button_html %}<a href="{{button_href}}" class="{{button_class}}"><i class="{{icon_family}} {{icon_family}}-{{button_icon}} {{icon_family}}-{{button_icon_size}} {{icon_family}}-{{button_icon_color}} mr-1"></i> {{button_text}} </a>{% endcapture %}
114
114
  {% else %}
115
115
  {% capture bs_button_html %}<!-- INFO: No valid value for parameter href found. -->{% endcapture %}
116
116
  {% endif %}
@@ -119,7 +119,7 @@
119
119
  {% endcase %}
120
120
 
121
121
  {% comment %} Reset Liquid vars
122
- --------------------------------------------------------------- {% endcomment %}
122
+ -------------------------------------------------------------------------------- {% endcomment %}
123
123
 
124
124
  {% assign button_text = nil %}
125
125
  {% assign button_class = nil %}
@@ -90,12 +90,13 @@
90
90
  <li class="{{blog_position}}">
91
91
  <div class="timeline-badge"><i class="tmicon rounded-x hidden-xs"></i></div>
92
92
 
93
- <div class="timeline-panel">
93
+ <div class="card raised-z5 timeline-panel">
94
94
 
95
- <div class="timeline-title">
96
- <a href="{{post.url}}">
97
- <h4 id="{{1000000 | rand}}" class="font-light">{{post.title}}</h4>
98
- </a>
95
+ <!-- div class="timeline-title" -->
96
+ <div class="card-header bg-primary pt-4 pb-3">
97
+ <!-- a href="{{post.url}}" -->
98
+ <h3 id="{{1000000 | rand}}" class="md-white">{{post.title}}</h3>
99
+ <!-- /a -->
99
100
  </div>
100
101
 
101
102
  <!-- Collect icon data from frontmatter -->
@@ -139,7 +140,7 @@
139
140
  <p class="card-subtitle text-muted">{{post.tagline}}</p>
140
141
  </div>
141
142
  <div class="timeline-excerpt mb-4">
142
- {% assign excerpt = post.excerpt | truncatewords: 50 | strip_html | strip_newlines | strip %}
143
+ {% assign excerpt = post.excerpt|truncatewords: 50|replace:'...',' ...'|strip_html|strip_newlines|strip %}
143
144
  <i class="timeline-icon {{icon_family}} {{icon_family}}-{{icon_name}} {{icon_family}}-{{icon_size}} {{icon_family}}-{{icon_color}}"></i>
144
145
  {{excerpt}}
145
146
  </div>
@@ -161,7 +162,7 @@
161
162
  <p class="card-subtitle text-muted">{{post.tagline}}</p>
162
163
  </div>
163
164
  <div class="timeline-excerpt mb-4">
164
- {% assign excerpt = post.excerpt | truncatewords: 50 | strip_html | strip_newlines | strip %}
165
+ {% assign excerpt = post.excerpt|truncatewords: 50|replace:'...',' ...'|strip_html|strip_newlines|strip %}
165
166
  {{excerpt}}
166
167
  </div>
167
168
  <div class="card-footer">
@@ -174,50 +175,48 @@
174
175
  </div>
175
176
  {% else %}
176
177
  <!-- !place_icon && !place_image -->
177
- <div class="timeline-body">
178
- <div class="timeline-tagline">
178
+ <!-- div class="timeline-body" -->
179
+ <div class="card-body r-text-300">
180
+ <!-- div class="tagline">
179
181
  <p class="card-subtitle text-muted">{{post.tagline}}</p>
180
- </div>
181
- <div class="timeline-excerpt mb-4">
182
- {% assign excerpt = post.excerpt | truncatewords: 50 | strip_html | strip_newlines | strip %}
182
+ </div -->
183
+ <div class="excerpt">
184
+ {% assign excerpt = post.excerpt|truncatewords: 50|replace:'...',' ...'|strip_html|strip_newlines|strip %}
183
185
  {{excerpt}}
184
186
  </div>
185
- <div class="card-footer">
186
- <a href="{{post.url}}#readmore"
187
- class="btn btn-secondary btn-raised btn-flex mb-0">
188
- <i class="mdi mdi-eye mdi-lg mr-1" style="color:#FFFFFF;">
189
- </i> Read · {{post.tagline}}
190
- </a>
191
- </div>
192
187
  </div>
193
- {% endif %}
194
-
195
- <!-- Collect comment provider details -->
196
- {% for sharing in builder_config.sharing_provider %}
197
- {% assign provider = sharing.provider %}
198
- {% assign likes_count = sharing.likes_count %}
199
- {% assign comment_count = sharing.comment_count %}
200
- {% endfor %}
201
-
202
- <div class="timeline-footer">
203
- <ul class="timeline-list-unstyled list-inline blog-info">
204
- <li><i class="mdi mdi-calendar-blank mr-1"></i> {{post.date | date: "%Y %B, %e"}}</li>
188
+ <!-- Collect comment provider details -->
189
+ {% for sharing in builder_config.sharing_provider %}
190
+ {% assign provider = sharing.provider %}
191
+ {% assign likes_count = sharing.likes_count %}
192
+ {% assign comment_count = sharing.comment_count %}
193
+ {% endfor %}
194
+
195
+ <div class="card-body text-muted r-text-200">
196
+ <i class="mdi mdi-calendar-blank mr-1"></i> {{post.date | date: "%Y %B, %e"}}
205
197
  {% if comment_count %}
206
198
  <!-- comment_count enabled -->
207
199
  <!-- <li><i class="mdi mdi-comment"></i> <a href="#"> 7 Comments</a></li> -->
208
200
  <li><a href="#"><i class="mdi mdi-comment"></i> 7 Comments</a></li>
209
201
  {% endif %}
210
- </ul>
211
- {% if likes_count %}
212
- <!-- likes_count enabled -->
213
- <a class="likes" href="#"><i class="mdi mdi-heart"></i> 239</a>
214
- {% endif %}
215
- </div>
202
+
203
+ {% if likes_count %}
204
+ <!-- likes_count enabled -->
205
+ <li><a class="likes" href="#"><i class="mdi mdi-heart"></i> 239</a></li>
206
+ {% endif %}
207
+ </div>
208
+
209
+ <div class="card-footer r-text-200">
210
+ <a class="card-link md-blue font-weight-bold g-font-size-12 text-uppercase" href="{{post.url}}#readmore">
211
+ Read · {{post.tagline}}
212
+ </a>
213
+ </div>
214
+ {% endif %}
216
215
  </div>
217
216
  </li>
218
217
  {% endfor %}
219
218
  <!-- final|last element placed as an empty list item -->
220
- <li class="clearfix" style="float: none;"></li>
219
+ <li class="clearfix mb-0" style="float: none;"></li>
221
220
  </ul>
222
221
  <!-- End Timeline Collator -->
223
222
  {% endif %}