j1-template 2021.1.2 → 2021.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/layout_metadata_generator.html +23 -9
  3. data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +7 -15
  4. data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +9 -5
  5. data/_includes/themes/j1/modules/navigator/generator.html +2 -2
  6. data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +2 -2
  7. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +8 -7
  8. data/_layouts/default.html +4 -7
  9. data/assets/data/authclient.html +231 -229
  10. data/assets/data/banner.html +30 -32
  11. data/assets/data/cookieconsent.html +249 -0
  12. data/assets/data/fam.html +1 -1
  13. data/assets/data/footer.html +1 -1
  14. data/assets/data/gallery_customizer.html +10 -5
  15. data/assets/data/menu.html +3 -3
  16. data/assets/data/mmenu.html +4 -3
  17. data/assets/data/mmenu_sidebar.html +1 -1
  18. data/assets/data/mmenu_toc.html +1 -1
  19. data/assets/data/panel.html +11 -10
  20. data/assets/data/quicklinks.html +20 -18
  21. data/assets/data/themes.json +6 -6
  22. data/assets/themes/j1/adapter/js/{cookiebar.js → cookieConsent.js} +129 -55
  23. data/assets/themes/j1/adapter/js/j1.js +160 -151
  24. data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +3 -2
  25. data/assets/themes/j1/adapter/js/mmenu.js +8 -4
  26. data/assets/themes/j1/adapter/js/navigator.1.js +896 -0
  27. data/assets/themes/j1/adapter/js/navigator.2.js +928 -0
  28. data/assets/themes/j1/adapter/js/navigator.js +176 -209
  29. data/assets/themes/j1/adapter/js/themer.1.js +326 -0
  30. data/assets/themes/j1/adapter/js/themer.js +41 -57
  31. data/assets/themes/j1/adapter/js/toccer.js +4 -45
  32. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.css +17 -14
  33. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +1 -1
  34. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +3859 -187
  35. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
  36. data/assets/themes/j1/core/js/template.js +3 -9
  37. data/assets/themes/j1/core/js/template.js.map +1 -1
  38. data/assets/themes/j1/core/js/template.min.js +3 -9
  39. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  40. data/assets/themes/j1/modules/cookieConsent/LICENSE +21 -0
  41. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +286 -0
  42. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +28 -0
  43. data/assets/themes/j1/modules/fam/css/{uno → theme/uno}/fam.css +0 -0
  44. data/assets/themes/j1/modules/fam/css/theme/uno/fam.min.css +15 -0
  45. data/assets/themes/j1/modules/fam/js/fam.js +1 -6
  46. data/assets/themes/j1/modules/iframeResizer/examples/frame.absolute.html +4 -2
  47. data/assets/themes/j1/modules/iframeResizer/examples/frame.content.html +4 -3
  48. data/assets/themes/j1/modules/iframeResizer/examples/frame.hover.html +4 -2
  49. data/assets/themes/j1/modules/iframeResizer/examples/frame.nested.html +4 -2
  50. data/assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html +4 -2
  51. data/assets/themes/j1/modules/iframeResizer/examples/frame.tolerance.html +4 -2
  52. data/assets/themes/j1/modules/iframeResizer/examples/index.html +2 -0
  53. data/assets/themes/j1/modules/iframeResizer/examples/two.html +4 -2
  54. data/assets/themes/j1/modules/mmenuLight/css/{mmenu.css → mmenu-light.css} +0 -0
  55. data/assets/themes/j1/modules/mmenuLight/css/{mmenu.min.css → mmenu-light.min.css} +0 -0
  56. data/assets/themes/j1/modules/mmenuLight/css/theme/{uno.css → uno/mmenu.css} +0 -0
  57. data/assets/themes/j1/modules/mmenuLight/css/theme/{uno.min.css → uno/mmenu.min.css} +0 -0
  58. data/assets/themes/j1/modules/rtable/css/theme/{uno.css → uno/rtable.css} +0 -0
  59. data/assets/themes/j1/modules/rtable/css/theme/{uno.min.css → uno/rtable.min.css} +0 -0
  60. data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +33 -47
  61. data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +410 -2
  62. data/assets/themes/j1/modules/util/js/domready.js +146 -0
  63. data/assets/themes/j1/modules/util/js/gtag-opt-in.js +1 -0
  64. data/lib/j1/version.rb +1 -1
  65. data/lib/j1_app/j1_auth_manager/auth_manager.rb +2 -3
  66. data/lib/starter_web/Gemfile +1 -1
  67. data/lib/starter_web/_config.yml +6 -5
  68. data/lib/starter_web/_data/_defaults/resources.yml +11 -8
  69. data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +1 -0
  70. data/lib/starter_web/_data/blocks/banner.yml +5 -3
  71. data/lib/starter_web/_data/blocks/panel.yml +9 -7
  72. data/lib/starter_web/_data/builder/blog_navigator.yml +1 -0
  73. data/lib/starter_web/_data/j1_config.yml +20 -17
  74. data/lib/starter_web/_data/layouts/default.yml +1 -1
  75. data/lib/starter_web/_data/layouts/home.yml +6 -5
  76. data/lib/starter_web/_data/layouts/page.yml +1 -1
  77. data/lib/starter_web/_data/modules/{cookiebar.yml → cookieconsent.yml} +4 -4
  78. data/lib/starter_web/_data/modules/defaults/authentication.yml +1 -0
  79. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +135 -0
  80. data/lib/starter_web/_data/modules/defaults/navigator.yml +5 -2
  81. data/lib/starter_web/_data/modules/defaults/themer.yml +2 -1
  82. data/lib/starter_web/_data/modules/navigator.yml +24 -21
  83. data/lib/starter_web/_data/pages/builder.yml +7 -7
  84. data/lib/starter_web/_data/private.default.yml +119 -0
  85. data/lib/starter_web/_data/private.yml +6 -6
  86. data/lib/starter_web/_data/resources.yml +15 -14
  87. data/lib/starter_web/_includes/attributes.asciidoc +10 -1
  88. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  89. data/lib/starter_web/assets/images/modules/attics/{cookies-1920x1200-bw.jpg → cookies-1920x1200.jpg} +0 -0
  90. data/lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.jpg +0 -0
  91. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +3 -3
  92. data/lib/starter_web/collections/posts/public/featured/_posts/2020-01-01-about-cookies.adoc +4 -4
  93. data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-01-site-generators.adoc +1 -7
  94. data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +2 -7
  95. data/lib/starter_web/dot.gitignore +1 -1
  96. data/lib/starter_web/index.html +1 -1
  97. data/lib/starter_web/package.json +1 -1
  98. data/lib/starter_web/pages/public/blog/navigator/archive.html +4 -3
  99. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +14 -8
  100. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +11 -8
  101. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +6 -5
  102. data/lib/starter_web/pages/public/cookieConsent.adoc +93 -0
  103. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +2 -1
  104. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +104 -209
  105. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +6 -1
  106. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  107. data/lib/starter_web/utilsrv/package.json +1 -1
  108. metadata +26 -15
  109. data/_includes/themes/j1/modules/navigator/generator.org.html +0 -232
  110. data/assets/data/cookiebar.html +0 -285
  111. data/lib/starter_web/_data/modules/defaults/cookiebar.yml +0 -132
@@ -64,8 +64,8 @@ util_srv:
64
64
  strategy: members
65
65
  members: all
66
66
 
67
- site_url: http://localhost:40010
68
- site_redirect_url: http://localhost:40010/auth/github/callback
67
+ site_url: http://localhost:41010
68
+ site_redirect_url: http://localhost:41010/auth/github/callback
69
69
  client_scope: repo, user
70
70
  client_id: <your-client-id>
71
71
  client_secret: <your-client-secret>
@@ -91,8 +91,8 @@ middleware:
91
91
  name: <your-disqus-config-name>
92
92
  user: <your-disqus-user>
93
93
 
94
- client_url: http://localhost:40010
95
- client_redirect_url: http://localhost:40010/auth/disqus/callback
94
+ client_url: http://localhost:41010
95
+ client_redirect_url: http://localhost:41010/auth/disqus/callback
96
96
  client_id: <your-disqus-client-id>
97
97
  client_secret: <your-disqus-client-secret>
98
98
 
@@ -110,8 +110,8 @@ middleware:
110
110
  strategy: members
111
111
  members: all
112
112
 
113
- client_url: http://localhost:40010
114
- client_redirect_url: http://localhost:40010/auth/github/callback
113
+ client_url: http://localhost:41010
114
+ client_redirect_url: http://localhost:41010/auth/github/callback
115
115
  client_id: <your-gh-client-id>
116
116
  client_secret: <your-gh-client-secret>
117
117
 
@@ -365,6 +365,8 @@ resources:
365
365
  modules/util/js/js.cookie.js,
366
366
  modules/util/js/lite-url.js,
367
367
  modules/util/js/platform.js,
368
+ modules/util/js/domready.js,
369
+ modules/util/js/gtag-opt-in.js,
368
370
  adapter/js/j1.js
369
371
  ]
370
372
  js: [
@@ -460,9 +462,9 @@ resources:
460
462
  init_function: [ j1.adapter.navigator.init ]
461
463
 
462
464
  # ----------------------------------------------------------------------------
463
- # MMenu Light
465
+ # Mobile Menu (Light)
464
466
  #
465
- - name: Mobile Menu
467
+ - name: MMenu
466
468
  resource:
467
469
  id: mmenu
468
470
  enabled: true
@@ -476,8 +478,8 @@ resources:
476
478
  pass_init_data: false
477
479
  data:
478
480
  css: [
479
- modules/mmenuLight/css/mmenu,
480
- modules/mmenuLight/css/theme/uno
481
+ modules/mmenuLight/css/mmenu-light,
482
+ modules/mmenuLight/css/theme/uno/mmenu
481
483
  ]
482
484
  files: [
483
485
  modules/mmenuLight/js/mmenu.js,
@@ -549,13 +551,13 @@ resources:
549
551
  init_function: [ j1.adapter.back2top.init ]
550
552
 
551
553
  # ----------------------------------------------------------------------------
552
- # CookieBar
554
+ # GDPR compatible Cookie Consent for J1 Template
553
555
  #
554
- - name: CookieBar
556
+ - name: J1 CookieConsent
555
557
  resource:
556
- id: cookiebar
558
+ id: cookieConsent
557
559
  enabled: true
558
- comment: module cookiebar
560
+ comment: module cookieConsent
559
561
  region: head
560
562
  layout: [ all ]
561
563
  required: always
@@ -565,9 +567,9 @@ resources:
565
567
  pass_init_data: false
566
568
  data:
567
569
  css: []
568
- files: [ adapter/js/cookiebar.js ]
569
- js: []
570
- init_function: [ j1.adapter.cookiebar.init ]
570
+ files: [ adapter/js/cookieConsent.js ]
571
+ js: [ modules/cookieConsent/js/cookieConsent ]
572
+ init_function: [ j1.adapter.cookieConsent.init ]
571
573
 
572
574
  # ----------------------------------------------------------------------------
573
575
  # jqMouseWheel, jQuery plugin to add cross-browser mouse wheel support
@@ -676,7 +678,7 @@ resources:
676
678
  dependencies: false
677
679
  pass_init_data: false
678
680
  data:
679
- css: [ modules/rtable/css/theme/uno ]
681
+ css: [ modules/rtable/css/theme/uno/rtable ]
680
682
  files: [ adapter/js/rtable.js ]
681
683
  js: [ modules/rtable/js/rtable ]
682
684
  init_function: [ j1.adapter.rtable.init ]
@@ -1180,9 +1182,8 @@ resources:
1180
1182
  dependencies: false
1181
1183
  pass_init_data: true
1182
1184
  data:
1183
- css: []
1185
+ css: [ modules/fam/css/theme/uno/fam ] # styles for (J1) theme Uno]
1184
1186
  files: [
1185
- modules/fam/css/uno/fam.css, # styles for (J1) theme Uno
1186
1187
  # modules/cash/js/cash.js, # current version|s of Cash NOT usable
1187
1188
  modules/materialize/js/cash.js, # adapted|old (1.3.5) version from Materialize
1188
1189
  modules/fam/js/fam.js, # modified version for J1 (former: button.js)
@@ -113,6 +113,9 @@ tag::urls[]
113
113
 
114
114
  :url-execjs--gh-repo: https://github.com/rails/execjs
115
115
 
116
+ :url-facebook--privacy-policy-en: https://www.facebook.com/policy.php
117
+ :url-facebook--privacy-policy-de: https://de-de.facebook.com/policy.php
118
+
116
119
  :url-filamentgroup--home: https://www.filamentgroup.com/
117
120
 
118
121
  :url-fontawesome--home: https://fontawesome.com/
@@ -137,6 +140,8 @@ tag::urls[]
137
140
  :url-gdpr-eu--home: https://gdpr.eu/
138
141
 
139
142
  :url-google-material-design-icons--gh-repo: https://github.com/google/material-design-icons
143
+ :url-google--deactivate-ga-en: http://tools.google.com/dlpage/gaoptout?hl=en
144
+ :url-google--privacy-policy-en: https://www.google.de/intl/en/policies/privacy
140
145
 
141
146
  :url-heroku--home: https://www.heroku.com/home
142
147
 
@@ -145,6 +150,8 @@ tag::urls[]
145
150
  :url-iconify--medical-icons: https://iconify.design/icon-sets/medical-icon/
146
151
  :url-iconify--brand-icons: https://iconify.design/icon-sets/logos/
147
152
 
153
+ :url-instagram--privacy-policy: http://instagram.com/about/legal/privacy/
154
+
148
155
  :url-iframe-resizer--gh-repo: https://github.com/davidjbradshaw/iframe-resizer
149
156
 
150
157
  :url-j1--home: https://jekyll.one/
@@ -304,6 +311,8 @@ tag::urls[]
304
311
 
305
312
  :url-twitter-emoji--gh-repo: https://github.com/twitter/twemoji
306
313
  :url-twitter-emoji-picker--gh-repo: https://github.com/xLs51/Twemoji-Picker
314
+ :url-twitter--privacy-en: https://twitter.com/en/privacy
315
+ :url-twitter--login: https://twitter.com/login
307
316
 
308
317
  :url-uglifier--gh-repo: https://github.com/lautis/uglifier
309
318
 
@@ -403,7 +412,7 @@ end::tables[]
403
412
  // -----------------------------------------------------------------------------
404
413
  tag::products[]
405
414
  :j1--license: MIT License
406
- :j1--version: 2021.1.2
415
+ :j1--version: 2021.1.7
407
416
  :j1--site-name: Jekyll One
408
417
  end::products[]
409
418
 
@@ -360,6 +360,6 @@ end
360
360
 
361
361
  module Jekyll
362
362
  module J1LunrSearch
363
- VERSION = '2021.1.2'
363
+ VERSION = '2021.1.7'
364
364
  end
365
365
  end
@@ -1,10 +1,10 @@
1
1
  ---
2
2
  title: Welcome
3
3
  tagline: jekyll for everyone
4
- #date: <%= Time.now.strftime('%Y-%m-%d') %> 00:00:00 +0200
4
+ #date: <%= Time.now.strftime('%Y-%m-%d') %> 00:00:00 +0100
5
5
 
6
- categories: [ Featured ]
7
- tags: [ Example, Post ]
6
+ categories: [ Featured, Post ]
7
+ tags: [ J1, Jekyll ]
8
8
 
9
9
  image: /assets/images/modules/attics/katie-moum-1920x1280.jpg
10
10
 
@@ -2,10 +2,10 @@
2
2
  title: Cookies
3
3
  tagline: good to know
4
4
 
5
- categories: [ Featured ]
6
- tags: [ About, Cookies ]
5
+ categories: [ Featured, Post ]
6
+ tags: [ Cookies ]
7
7
 
8
- image: /assets/images/modules/attics/cookies-1920x1200-bw.jpg
8
+ image: /assets/images/modules/attics/cookies-1920x1200.jpg
9
9
 
10
10
  regenerate: false
11
11
 
@@ -16,7 +16,7 @@ resource_options:
16
16
  padding_bottom: 50
17
17
  opacity: 0.5
18
18
  slides:
19
- - url: /assets/images/modules/attics/cookies-1920x1200-bw.jpg
19
+ - url: /assets/images/modules/attics/cookies-1920x1200.jpg
20
20
  alt: Photo by Miroslava on Unsplash
21
21
  # caption:
22
22
  # text: Photo by Miroslava on Unsplash
@@ -2,17 +2,11 @@
2
2
  title: Site Generators
3
3
  tagline: top open source tools
4
4
 
5
- categories: [ Featured ]
5
+ categories: [ Featured, Post ]
6
6
  tags: [ Jekyll, Generators ]
7
7
 
8
- series: false
9
8
  image: /assets/images/modules/attics/machine-generator-1920x1280.jpg
10
9
 
11
- adsense: false
12
- comments: false
13
- advertising: false
14
- toc: true
15
-
16
10
  regenerate: false
17
11
 
18
12
  resources: [ lightbox ]
@@ -2,17 +2,12 @@
2
2
  title: J1 Template
3
3
  tagline: first version is out
4
4
 
5
- categories: [ Featured ]
6
- tags: [ About, J1 ]
5
+ categories: [ Featured, Post ]
6
+ tags: [ J1, Template ]
7
7
 
8
- series: false
9
8
  image: /assets/images/modules/attics/runner-1920x1200.jpg
10
9
 
11
- adsense: false
12
- comments: false
13
- advertising: false
14
10
  fam_menu_id: default
15
- toc: false
16
11
 
17
12
  regenerate: false
18
13
 
@@ -14,7 +14,7 @@ Gemfile.lock
14
14
 
15
15
  Passengerfile.json
16
16
 
17
- google*.html
17
+ /google*.html
18
18
 
19
19
  tmp/
20
20
 
@@ -26,7 +26,7 @@ fam_menu_id: default
26
26
  scrollbar: false
27
27
  toc: false
28
28
 
29
- regenerate: false
29
+ regenerate: true
30
30
 
31
31
  resources: []
32
32
  resource_options:
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": true,
3
3
  "name": "j1_starter",
4
- "version": "2021.1.2",
4
+ "version": "2021.1.7",
5
5
  "description": "J1 Template Starter Web",
6
6
  "homepage": "https://your.site",
7
7
  "author": {
@@ -112,7 +112,7 @@ resource_options:
112
112
  <div class="card-footer-text">
113
113
  <hr class="my-3">
114
114
  {% if post.date %}
115
- <i class="mdi mdi-calendar-blank mdi-md-grey mr-1"></i> {{post.date | date: "%Y %B, %e"}}
115
+ <i class="mdi mdi-calendar-blank mr-1"></i> {{post.date | date: "%Y %B, %e"}}
116
116
  {% endif %}
117
117
  {% if likes_count %}
118
118
  <span class="font-weight-bold"> · </span>
@@ -145,10 +145,11 @@ resource_options:
145
145
  var user_state = j1.readCookie(user_state_cookie_name);
146
146
  var user_state_last_page = "{{browser_page_url}}";
147
147
  user_state.last_page = user_state_last_page;
148
- // j1.setUserState( {last_page:user_state_last_page} );
148
+
149
149
  j1.writeCookie({
150
150
  name: user_state_cookie_name,
151
- data: user_state
151
+ data: user_state,
152
+ samesite: 'Strict'
152
153
  });
153
154
  logger.info('Saved current Post Browser page to cookie: {{browser_page_url}}');
154
155
  }
@@ -15,7 +15,7 @@ pagination:
15
15
  enabled: false
16
16
  permalink: /page:num/
17
17
 
18
- regenerate: false
18
+ regenerate: true
19
19
 
20
20
  resources: []
21
21
  resource_options:
@@ -47,6 +47,7 @@ resource_options:
47
47
  {% comment %} Variables
48
48
  -------------------------------------------------------------------------------- {% endcomment %}
49
49
  {% assign view_config = site.data.builder.blog_navigator.category_view %}
50
+ {% assign truncate_words = site.excerpt_truncate_words %}
50
51
  {% assign view_description = view_config.description %}
51
52
  {% assign defaults = site.data.builder.blog_navigator.defaults %}
52
53
 
@@ -77,12 +78,16 @@ resource_options:
77
78
  -------------------------------------------------------------------------------- {% endcomment %}
78
79
  {% capture skip_words %} Posts Public {% endcapture %}
79
80
 
81
+ {% assign skip_categories = view_config.skip_categories | split: ", " | join: " " %}
82
+
83
+ {% comment %} skip_categories: {{skip_categories | debug}} {% endcomment %}
84
+
80
85
  {% capture site_category_word_list %}{% for category in site.categories %}{{category|first|capitalize|lstrip|rstrip}}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
81
86
  {% assign category_words = site_category_word_list|split:',' %}
82
87
  {% assign categories = category_words|uniq %}
83
88
 
84
89
  {% for category in categories %}
85
- {% if skip_words contains category %} {% continue %} {% endif %}
90
+ {% if skip_categories contains category %} {% continue %} {% endif %}
86
91
  {% capture category_list %}{{category_list|append: category}}{% unless forloop.last %},{% endunless %}{% endcapture %}
87
92
  {% endfor %}
88
93
 
@@ -118,7 +123,7 @@ resource_options:
118
123
  {% include {{get_category_item}} category=category %}
119
124
  {% include {{select_icon_size}} family=icon_family size=icon_size %}
120
125
  {% assign icon_size = size %}
121
- {% assign excerpt = post.excerpt|truncatewords:50|replace:'...',' ...'|strip_html|strip_newlines|strip %}
126
+ {% assign excerpt = post.excerpt|truncatewords: truncate_words|replace:'...',' ...'|strip_html|strip_newlines|strip %}
122
127
 
123
128
  <!-- Collect comment provider details -->
124
129
  {% for sharing in builder_config.sharing_provider %}
@@ -150,15 +155,15 @@ resource_options:
150
155
  <div class="card-footer-text">
151
156
  <hr class="my-3">
152
157
  {% if post.date %}
153
- <i class="mdi mdi-calendar-blank mdi-md-grey mr-1"></i> {{post.date | date: "%Y %B, %e"}}
158
+ <i class="mdi mdi-calendar-blank mr-1"></i> {{post.date | date: "%Y %B, %e"}}
154
159
  {% endif %}
155
160
  {% if likes_count %}
156
161
  <span class="font-weight-bold"> · </span>
157
- <i class="mdi mdi-heart mdi-md-grey mr-1"></i> {{likes_count}}
162
+ <i class="mdi mdi-heart mr-1"></i> {{likes_count}}
158
163
  {% endif %}
159
164
  {% if comment_count %}
160
165
  <span class="font-weight-bold"> · </span>
161
- <i class="mdi mdi-comment mdi-md-grey mr-1"></i> {{comment_count}}
166
+ <i class="mdi mdi-comment mr-1"></i> {{comment_count}}
162
167
  {% endif %}
163
168
  </div>
164
169
  <a class="card-link text-muted text-lowercase"
@@ -185,10 +190,11 @@ resource_options:
185
190
  var user_state = j1.readCookie(user_state_cookie_name);
186
191
  var user_state_last_page = "{{browser_page_url}}";
187
192
  user_state.last_page = user_state_last_page;
188
- // j1.setUserState( {last_page:user_state_last_page} );
193
+
189
194
  j1.writeCookie({
190
195
  name: user_state_cookie_name,
191
- data: user_state
196
+ data: user_state,
197
+ samesite: 'Strict'
192
198
  });
193
199
  logger.info('Saved current Post Browser page to cookie: {{browser_page_url}}');
194
200
  }
@@ -15,7 +15,7 @@ pagination:
15
15
  enabled: false
16
16
  permalink: /page:num/
17
17
 
18
- regenerate: false
18
+ regenerate: true
19
19
 
20
20
  resources: []
21
21
  resource_options:
@@ -87,13 +87,15 @@ resource_options:
87
87
  {% capture monthHead %}
88
88
  {% if month != nmonth %}
89
89
  {% if forloop.index != 1 %}{{closeList}}{%endif %}
90
- <h3 id="{{100000|rand}}"
91
- class="toc-link mt-5 mb-3">
90
+ <h3 id="{{100000|rand}}" class="toc-link mt-5 mb-3">
91
+ {% comment %}
92
+ ------------------------------------------------------------------------
92
93
  {% if year != nyear %}
93
94
  <a href="#" id="{{post.date|date:'%Y'}}">
94
95
  {% else %}
95
96
  <a href="#" id="{{post.date|date:'%Y-%m' }}">
96
97
  {% endif %}
98
+ ------------------------------------------------------------------------ {% endcomment %}
97
99
  <i class="mdi mdi-calendar-blank"></i>
98
100
  {{post.date|date:'%B %Y'}}
99
101
  </a>
@@ -135,15 +137,15 @@ resource_options:
135
137
  <div class="card-footer-text">
136
138
  <hr class="my-3">
137
139
  {% if post.date %}
138
- <i class="mdi mdi-calendar-blank mdi-md-grey mr-1"></i> {{post.date | date: "%Y %B, %e"}}
140
+ <i class="mdi mdi-calendar-blank mr-1"></i> {{post.date | date: "%Y %B, %e"}}
139
141
  {% endif %}
140
142
  {% if likes_count %}
141
143
  <span class="font-weight-bold"> · </span>
142
- <i class="mdi mdi-heart mdi-md-grey mr-1"></i> {{likes_count}}
144
+ <i class="mdi mdi-heart mr-1"></i> {{likes_count}}
143
145
  {% endif %}
144
146
  {% if comment_count %}
145
147
  <span class="font-weight-bold"> · </span>
146
- <i class="mdi mdi-comment mdi-md-grey mr-1"></i> {{comment_count}}
148
+ <i class="mdi mdi-comment mr-1"></i> {{comment_count}}
147
149
  {% endif %}
148
150
  </div>
149
151
  <a class="card-link text-muted text-lowercase"
@@ -175,10 +177,11 @@ resource_options:
175
177
  var user_state = j1.readCookie(user_state_cookie_name);
176
178
  var user_state_last_page = "{{browser_page_url}}";
177
179
  user_state.last_page = user_state_last_page;
178
- // j1.setUserState( {last_page:user_state_last_page} );
180
+
179
181
  j1.writeCookie({
180
182
  name: user_state_cookie_name,
181
- data: user_state
183
+ data: user_state,
184
+ samesite: 'Strict'
182
185
  });
183
186
  logger.info('Saved current Post Browser page to cookie: {{browser_page_url}}');
184
187
  }
@@ -178,15 +178,15 @@ resource_options:
178
178
  <div class="card-footer-text">
179
179
  <hr class="my-3">
180
180
  {% if post.date %}
181
- <i class="mdi mdi-calendar-blank mdi-md-grey mr-1"></i> {{post.date | date: "%Y %B, %e"}}
181
+ <i class="mdi mdi-calendar-blank mr-1"></i> {{post.date | date: "%Y %B, %e"}}
182
182
  {% endif %}
183
183
  {% if likes_count %}
184
184
  <span class="font-weight-bold"> · </span>
185
- <i class="mdi mdi-heart mdi-md-grey mr-1"></i> {{likes_count}}
185
+ <i class="mdi mdi-heart mr-1"></i> {{likes_count}}
186
186
  {% endif %}
187
187
  {% if comment_count %}
188
188
  <span class="font-weight-bold"> · </span>
189
- <i class="mdi mdi-comment mdi-md-grey mr-1"></i> {{comment_count}}
189
+ <i class="mdi mdi-comment mr-1"></i> {{comment_count}}
190
190
  {% endif %}
191
191
  </div>
192
192
  <a class="card-link text-muted text-lowercase"
@@ -211,10 +211,11 @@ resource_options:
211
211
  var user_state = j1.readCookie(user_state_cookie_name);
212
212
  var user_state_last_page = "{{browser_page_url}}";
213
213
  user_state.last_page = user_state_last_page;
214
- // j1.setUserState( {last_page:user_state_last_page} );
214
+
215
215
  j1.writeCookie({
216
216
  name: user_state_cookie_name,
217
- data: user_state
217
+ data: user_state,
218
+ samesite: 'Strict'
218
219
  });
219
220
  logger.info('Saved current Post Browser page to cookie: {{browser_page_url}}');
220
221
  }