casjaysdev-jekyll-theme 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -1
  3. data/CNAME +1 -1
  4. data/Gemfile.lock +1 -1
  5. data/_config.yml +105 -67
  6. data/_includes/casjays-footer.html +61 -65
  7. data/_includes/casjays-header.html +2 -3
  8. data/_includes/casjaysdev/ads.html +24 -1
  9. data/_includes/casjaysdev/clock.html +16 -5
  10. data/_includes/casjaysdev/eucookie.html +36 -27
  11. data/_includes/casjaysdev/google.html +30 -16
  12. data/_includes/casjaysdev/legal.html +45 -25
  13. data/_includes/casjaysdev/piwik.html +22 -15
  14. data/_includes/casjaysdev/rocketchat.html +20 -10
  15. data/_includes/casjaysdev/sharethis.html +36 -17
  16. data/_includes/casjaysdev/socialfooter.html +79 -29
  17. data/_includes/casjaysdev/sociallinks.html +82 -39
  18. data/_includes/casjaysdev/statcounter.html +34 -19
  19. data/_includes/casjaysdev/theme.html +6 -3
  20. data/_includes/casjaysdev/widgetbot.html +1 -8
  21. data/_includes/disqus.html +16 -10
  22. data/_includes/github.html +7 -3
  23. data/_includes/image-gallery.html +27 -50
  24. data/_includes/nav/external.html +5 -3
  25. data/_includes/nav/internal.html +4 -6
  26. data/_includes/nav/sidebars/right.html +1 -2
  27. data/_includes/nav/top.html +13 -13
  28. data/_includes/read_time.html +3 -2
  29. data/_includes/themes/blank/layouts/default.html +2 -2
  30. data/_includes/themes/hacker/layouts/default.html +50 -55
  31. data/_includes/themes/hacker/meta.html +79 -28
  32. data/_layouts/default.html +3 -6
  33. data/_layouts/errors.html +1 -8
  34. data/_layouts/page.html +1 -4
  35. data/_layouts/post.html +29 -29
  36. data/_pages/about/index.html +14 -0
  37. data/_pages/blog/index.html +57 -0
  38. data/_pages/contact/index.html +173 -0
  39. data/_pages/gallery/index.html +15 -0
  40. data/_pages/index.html +12 -3
  41. data/_pages/rss/index.xml +35 -0
  42. data/_posts/2020-07-31-new-deploy.md +2 -0
  43. data/assets/css/base.css +123 -0
  44. data/assets/css/bootstrap/bootstrap-icons.css +2018 -0
  45. data/assets/css/bootstrap/darkly.css +10523 -0
  46. data/assets/css/bootstrap/font-awesome.css +9 -0
  47. data/assets/css/errorpages/errorpages.css +337 -0
  48. data/assets/css/gh/ribbon.css +124 -0
  49. data/assets/css/hacker.css +1 -4
  50. data/assets/css/other/forms-min.css +7 -0
  51. data/assets/js/errorpages/homepage.js +4 -0
  52. data/assets/js/errorpages/isup.js +4 -0
  53. data/assets/js/errorpages/loaddomain.js +4 -0
  54. data/assets/js/fetch-url.js +8 -5
  55. data/assets/js/gh-blog.js +20 -20
  56. data/assets/js/posts.js +24 -20
  57. data/assets/js/utils/bootstrap.bundle.min.js +7 -0
  58. data/assets/js/utils/fetch.min.js +1 -0
  59. data/assets/js/utils/popper.min.js +5 -0
  60. data/casjaysdev-jekyll-theme.gemspec +25 -25
  61. data/error/404.html +34 -22
  62. data/error/500.html +34 -21
  63. data/favicon.ico +0 -0
  64. data/images/gallery/126880.jpg +0 -0
  65. data/images/gallery/Octocat.png +0 -0
  66. data/templates/year-month-day-name.blank.md +5 -3
  67. data/templates/year-month-day-name.image.md +5 -3
  68. data/templates/year-month-day-name.link.md +5 -3
  69. data/templates/year-month-day-name.video.md +5 -3
  70. data/templates/year-month-day-name.yt.html +10 -4
  71. metadata +125 -105
  72. data/_pages/about.html +0 -8
  73. data/_pages/contact.html +0 -70
  74. data/_pages/gallery.html +0 -9
  75. data/_posts/2020-07-31-Updated-Theming-Engine.md +0 -12
  76. data/blog/index.html +0 -49
  77. data/version.txt +0 -1
  78. /data/{blog → _pages/blog}/catergories/catergories.html +0 -0
  79. /data/{blog → _pages/blog}/tags/tags.html +0 -0
  80. /data/images/{powered_by_jekyll.jpg → gallery/powered_by_jekyll.jpg} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6193ea0af273843c396be3ea5e7f969ea05da559852090d368b892c6bb782400
4
- data.tar.gz: 0af3a956ae3eea2bc24d56f8ef3962e70ad60dbdb059d21653d75608d104a866
3
+ metadata.gz: 5bcaf697baf35fbe76c6e97677e3b4b1f4c145cc2908d9a43257458c9f80ec9f
4
+ data.tar.gz: 13068ac27c6601b5ff2abb8d56f4d052837c913179917fbf1ef71e6220f3c0f6
5
5
  SHA512:
6
- metadata.gz: fa28bbde61a8857eb955a4657f8bb93b327f7d743de7d119532beb727ec525a2f1982edf9502fc3bfb0550f8c60731c56cdd10b584513bf70711dbe49852de12
7
- data.tar.gz: f5fbece7f11f758a290222b8cfcb63471f6a84451347d850a8de13ef03570c838b13db399828408b1b1c86a47f2bef05540d6d6a579235630daf69aafe87c15c
6
+ metadata.gz: 387929e3da21af85ad6d30d4e4abd911460a90e41a2f69c79cdf76744d182d142faae5aafe55a9b68428c9082e33503c663672b969d588425de9ce7eeb7b0170
7
+ data.tar.gz: e58264868fec2eb527ebcbe5971997ce466e25e9e8a6f497ee63269f723b97f8533bca37c256fbb0d97ff5f9754d3b919b3e1342bbc79ee5e91e85d3beb7b48c
data/.gitignore CHANGED
@@ -1,7 +1,6 @@
1
1
  # Disable reminder in prompt
2
2
  ignoredirmessage
3
3
 
4
-
5
4
  # Created by https://www.toptal.com/developers/gitignore/api/jekyll,ruby
6
5
  # Edit at https://www.toptal.com/developers/gitignore?templates=jekyll,ruby
7
6
 
@@ -73,3 +72,5 @@ build-iPhoneSimulator/
73
72
  # .rubocop-https?--*
74
73
 
75
74
  # End of https://www.toptal.com/developers/gitignore/api/jekyll,ruby
75
+ # ignore commit message
76
+ .gitcommit
data/CNAME CHANGED
@@ -1 +1 @@
1
- jekyll-site.template.casjaysdev.com
1
+ domains.template.casjaysdev.com
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- casjaysdev-jekyll-theme (0.1.6)
4
+ casjaysdev-jekyll-theme (0.1.8)
5
5
  github-pages
6
6
  jekyll (~> 3.8)
7
7
  jekyll-analytics
data/_config.yml CHANGED
@@ -1,10 +1,8 @@
1
- # This file contains configuration flags to customize your site
2
-
3
1
  # Name of your site (displayed in the header)
4
- name: "jekyll-casjaysdev"
2
+ name: "domain-template"
5
3
 
6
4
  # Short bio or description (displayed in the header)
7
- description: "Jekyll theme for casjaysdev"
5
+ description: "Primary theme for all sites"
8
6
 
9
7
  # site tagline
10
8
  tagline: "Serve it!"
@@ -20,22 +18,37 @@ baseurl: ""
20
18
 
21
19
  # set site author
22
20
  author:
23
- name: casjaysdev
24
- url: http://casjay.net
21
+ name:
22
+ site:
23
+
24
+ # set gallery image url
25
+ gallery:
26
+ enabled: false
27
+ folder: "/images/gallery"
28
+
29
+ # github options
30
+ github:
31
+ show: true
32
+ repo:
33
+ user:
34
+ avatar:
35
+ forkme: true
36
+ layout: left-top
25
37
 
26
38
  # set url for the contact form
27
39
  form:
40
+ enabled: false
28
41
  type: "formspree"
29
42
  formspree:
30
43
  submit_url: "https://formspree.io/f"
31
- code: "xknqkpjo"
44
+ code: ""
32
45
  formmail:
33
- submit_url: "https://cgi.casjay.net/sendmail.cgi"
34
- recipient: "form-submission@casjay.net"
35
- subject: "jekyll-casjaysdev Contact Form"
36
- title: "jekyll-casjaysdev"
46
+ submit_url: ""
47
+ recipient: "form-submission"
48
+ subject: "domain-template Contact Form"
49
+ title: "domain-template"
37
50
  env: "REMOTE_HOST,HTTP_USER_AGENT"
38
- return_link:
51
+ return_link:
39
52
  url: "javascript: history.go(-1)"
40
53
  title: "Back to Main Page"
41
54
  fields:
@@ -44,16 +57,14 @@ form:
44
57
  message: "Message"
45
58
  required: "Name,Email,Message"
46
59
  theme:
47
- background: "https://static.casjay.net/assets/images/bkg.png"
60
+ background: "https://casjaysdev-sites.github.io/static.casjay.net/assets/images/bkg.png"
48
61
  bgcolor: "#000000"
49
62
  text_color: "#ffffff"
50
63
  link_color: "#ffffff"
51
64
  vlink_color: "#ffffff"
52
65
  alink_color: "#ffffff"
53
-
54
- # only set one of columns_ to enabled
55
- # set a custom theme - includes/themes
56
- # hacker
66
+
67
+ # only set one of columns t: set a custom theme - includes/themes
57
68
  custom_theme:
58
69
  name: hacker
59
70
  columns: "3"
@@ -64,8 +75,8 @@ custom_theme:
64
75
  external: true
65
76
  internal: true
66
77
  top: "nav/top.html"
67
- right: "nav/sidebars/right.html"
68
78
  left: "nav/sidebars/left.html"
79
+ right: "nav/sidebars/right.html"
69
80
 
70
81
  # set default timezone
71
82
  timezone: America/New_York
@@ -80,7 +91,7 @@ excerpt_separator: "\n\n"
80
91
  share-this:
81
92
  rss: true
82
93
  code: "5acc08103368f4001495b647"
83
- repo: "https://github.com/casjay-templates/jekyll-site"
94
+ repo: "https://github.com/casjay-templates/domain-template"
84
95
  email:
85
96
  enabled:
86
97
  footer: true
@@ -89,15 +100,15 @@ share-this:
89
100
  # Includes an icon for each username you enter
90
101
  social-links:
91
102
  rss: true
92
- name: casjay
93
- github: casjay
94
- twitter: casjay
95
- facebook: casjaysdev
96
- flickr: casjay
97
- instagram: casjay
98
- linkedin: casjay
99
- pinterest: casjaysdev
100
- email: casjay@cock.li
103
+ name:
104
+ github:
105
+ twitter:
106
+ facebook:
107
+ flickr:
108
+ instagram:
109
+ linkedin:
110
+ pinterest:
111
+ email:
101
112
  show_social: true
102
113
 
103
114
  # Verfication Settings
@@ -108,67 +119,83 @@ webmaster_verifications:
108
119
  yandex: 12345
109
120
  baidu: 12345
110
121
 
111
- # github options
112
- github:
113
- show: false
114
- repo:
115
- user:
116
- avatar:
117
- forkme: false
118
-
119
122
  # Enable/Disable footer sections
120
123
  options:
121
- engine: true
122
- sharethis: true
124
+ ads: true
125
+ blog: true
123
126
  legal: true
124
- statcounter: true
127
+ clock: true
128
+ piwik: true
129
+ engine: true
125
130
  google: true
126
- ads: true
131
+ discord: true
127
132
  eucookie: true
133
+ sharethis: true
128
134
  rocketchat: true
129
- piwik: true
130
- discord: true
131
- clock: true
132
-
133
- # // TODO: Blog settings advanced feature
135
+ statcounter: true
136
+ last_updated: true
137
+
138
+ # theme footer link
139
+ engine:
140
+ url: https://github.com/casjay-templates/jekyll-site
141
+
142
+ # Blog settings
134
143
  blog:
135
- enabled:
144
+ enabled: true
136
145
  api:
137
146
 
147
+ # RSS Feed
138
148
  feed:
139
149
  path: /rss.xml
140
150
  posts_limit: 20
141
151
 
152
+ # eu cookie
153
+ eucookie:
154
+ enabled: true
155
+
142
156
  # You can find your shortname on the Settings page of your Disqus account
143
- disqus: casjay
157
+ disqus:
158
+ enabled: true
159
+ shortcode: casjay
160
+
161
+ # clock settings
162
+ clock:
163
+ enabled: true
164
+ url: "https://freesecure.timeanddate.com/clock/i7k2kmtc/n12/fn6/fs16/fc9ff/tc000/ftb/bas2/bat1/bacfff/pa8/tt0/tw1/th1/ta1/tb4"
144
165
 
145
166
  # Enter your Google Analytics web tracking code (e.g. UA-2110908-2) to activate tracking
146
167
  google:
147
- analytics: UA-936146-1
168
+ analytics:
169
+
170
+ # Ads
171
+ ads:
172
+ enabled: false
173
+ google:
174
+ format: auto
175
+ slot:
176
+ client:
148
177
 
149
178
  # piwik code
150
179
  piwik:
151
- pre: https
152
- id:
180
+ prefix: https
181
+ site_id:
153
182
  url:
154
183
 
184
+ # enable rocketchat
155
185
  rocketchat:
156
186
  url:
157
187
 
158
188
  discord:
159
189
  enable: true
160
- server: 430838999876108289
161
- channel: 430838999876108291
190
+ server:
191
+ channel:
162
192
  horizontal: bottom
163
193
  vertical: left
164
194
 
165
195
  statuscounter:
166
- id: 8585230
196
+ id:
167
197
  code: ef07ac24
168
- url: //c.statcounter.com/8585230/0/ef07ac24/0/
169
-
170
- # Name of theme
171
- #theme: jekyll-theme-slate
198
+ url: //c.statcounter.com/REPLACEID/0/ef07ac24/0/
172
199
 
173
200
  # You don't need to change any of the configuration flags below !!
174
201
  permalink: pretty
@@ -176,6 +203,7 @@ permalink: pretty
176
203
  tag_page: "/blog/tags/"
177
204
  category_page: "/blog/categories/"
178
205
 
206
+ # Setup collections
179
207
  collections:
180
208
  posts:
181
209
  output: true
@@ -192,16 +220,17 @@ collections:
192
220
  issues:
193
221
  output: true
194
222
  permalink: /issues/:name
195
- wiki:
196
- output: true
197
- permalink: /wiki/:name
198
223
  recipes:
199
224
  output: true
200
225
  permalink: /recipes/:name
226
+ wiki:
227
+ output: true
228
+ permalink: /wiki/:name
201
229
 
202
230
  redirect_from:
203
- json: true
231
+ json: true
204
232
 
233
+ # Set defaults
205
234
  defaults:
206
235
  - scope:
207
236
  path: _docs
@@ -221,16 +250,16 @@ defaults:
221
250
 
222
251
  # Jekyll 3 now only supports Kramdown for Markdown
223
252
  kramdown:
224
- footnote_backlink: "↩︎"
225
253
  input: GFM
226
254
  syntax_highlighter: rouge
255
+ footnote_backlink: "↩︎"
227
256
  syntax_highlighter_opts:
228
257
  css_class: "highlight"
229
258
 
230
259
  # Set the Sass partials directory, as we're using @imports
231
260
  sass:
232
261
  sass_dir: _sass
233
- style: :expanded
262
+ style: expanded
234
263
 
235
264
  jekyll_tidy:
236
265
  compress_html: true
@@ -240,6 +269,7 @@ jekyll_tidy:
240
269
  plugins:
241
270
  - jemoji
242
271
  - kramdown
272
+ - github-pages
243
273
  - jekyll-avatar
244
274
  - jekyll-feed
245
275
  - jekyll-mentions
@@ -248,13 +278,16 @@ plugins:
248
278
  - jekyll-gist
249
279
  - jekyll-coffeescript
250
280
  - jekyll-assets
251
- - jekyll-sitemap
252
281
  - jekyll-analytics
253
282
  - jekyll-remote-include
254
283
  - jekyll-menus
255
284
  - jekyll-remote-theme
256
285
  - jekyll-tidy
286
+ - jekyll-theme-hacker
287
+ - casjaysdev-jekyll-theme
288
+ - domain-templatemap
257
289
 
290
+ # Include folders and files
258
291
  include:
259
292
  - _pages
260
293
  - images
@@ -267,7 +300,12 @@ exclude:
267
300
  - CNAME
268
301
  - .keep
269
302
  - .gitkeep
303
+ - casjaysdev-jekyll-theme.gemspec
304
+
305
+ # Change output to _docs
306
+ destination: ./_site
270
307
 
271
- #webrick:
272
- # headers:
273
- # Access-Control-Allow-Origin: "*"
308
+ # webrick options
309
+ webrick:
310
+ headers:
311
+ Access-Control-Allow-Origin: "*"
@@ -1,79 +1,75 @@
1
1
  <!-- Begin Footer -->
2
- <div class="footer-custom" align="center">
3
- <br>
2
+ <div class="footer vh-100">
3
+ <div class="footer-custom fs-4">
4
+ <br />
5
+ <br />
6
+ <br />
7
+ <!-- Begin last updated -->
8
+ {% if site.options.last_updated == true %}
9
+ <span style="color: skyblue">
10
+ Last update on: {{ site.time | date: '%B %d, %Y at %H:%M' }}
11
+ </span>
12
+ <br />
13
+ <br />
14
+ {% endif %}
15
+ <!-- End last updated -->
4
16
 
5
- <!-- Social Links -->
6
- {% if site.options.sharethis == true %}
7
- {% include casjaysdev/sharethis.html %}
8
- {% endif %}
9
- <!-- End Social Links-->
17
+ <!-- Social Links -->
18
+ {% if site.options.sharethis == true %} {% include casjaysdev/sharethis.html
19
+ %} {% endif %}
20
+ <!-- End Social Links-->
10
21
 
11
- <!-- Begin Casjays Developments Footer -->
12
- {% if site.options.legal == true %}
13
- {% include casjaysdev/legal.html %}
14
- {% endif %}
15
- <!-- End Casjays Developments Footer -->
22
+ <!-- Begin Casjays Developments Footer -->
23
+ {% if site.options.legal == true %} {% include casjaysdev/legal.html %} {%
24
+ endif %}
25
+ <!-- End Casjays Developments Footer -->
16
26
 
17
- <!-- Begin theme Code -->
18
- {% if site.options.engine == true %}
19
- {% include casjaysdev/theme.html %}
20
- {% endif %}
21
- <!-- End theme Code -->
27
+ <!-- Begin theme Code -->
28
+ {% if site.options.engine == true %} {% include casjaysdev/theme.html %} {%
29
+ endif %}
30
+ <!-- End theme Code -->
22
31
 
23
- <!-- clock -->
24
- {% if site.options.clock == true %}
25
- {% include casjaysdev/clock.html %}
26
- {% endif %}
27
- <!-- End clock-->
32
+ <!-- clock -->
33
+ {% if site.options.clock == true %} {% include casjaysdev/clock.html %} {%
34
+ endif %}
35
+ <!-- End clock-->
28
36
 
29
- <!-- Begin last updated -->
30
- <span style="color: skyblue;">
31
- Last update on: {{ site.time | date: '%B %d, %Y at %H:%M' }}
32
- </span>
33
- <!-- End last updated -->
37
+ <!--Begin Statcounter Code -->
38
+ {% if site.options.statcounter == true %} {% include
39
+ casjaysdev/statcounter.html %} {% endif %}
40
+ <!-- End Statcounter Code -->
34
41
 
35
- <!--Begin Statcounter Code -->
36
- {% if site.options.statcounter == true %}
37
- {% include casjaysdev/statcounter.html %}
38
- {% endif %}
39
- <!-- End Statcounter Code -->
42
+ <!-- Begin Google Track -->
43
+ {% if site.options.google == true %} {% include casjaysdev/google.html %} {%
44
+ endif %}
45
+ <!-- Eng Google Track -->
40
46
 
41
- <!-- Begin Google Track -->
42
- {% if site.options.google == true %}
43
- {% include casjaysdev/google.html %}
44
- {% endif %}
45
- <!-- Eng Google Track -->
47
+ <!--Begin ads Code -->
48
+ {% if site.options.ads == true %} {% include casjaysdev/ads.html %} {% endif
49
+ %}
50
+ <!-- End ads Code -->
46
51
 
47
- <!--Begin ads Code -->
48
- {% if site.options.ads == true %}
49
- {% include casjaysdev/ads.html %}
50
- {% endif %}
51
- <!-- End ads Code -->
52
+ <!-- Begin EU compliant -->
53
+ {% if site.options.eucookie == true %} {% include casjaysdev/eucookie.html
54
+ %} {% endif %}
55
+ <!-- End EU compliant -->
52
56
 
53
- <!-- Begin EU compliant -->
54
- {% if site.options.eucookie == true %}
55
- {% include casjaysdev/eucookie.html %}
56
- {% endif %}
57
- <!-- End EU compliant -->
57
+ <!-- Begin Piwik Tracking Code -->
58
+ {% if site.options.piwik == true %} {% include casjaysdev/piwik.html %} {%
59
+ endif %}
60
+ <!-- End Piwik Tracking Code -->
58
61
 
59
- <!-- Begin Piwik Tracking Code -->
60
- {% if site.options.piwik == true %}
61
- {% include casjaysdev/piwik.html %}
62
- {% endif %}
63
- <!-- End Piwik Tracking Code -->
64
-
65
- <!-- Begin WidgetBot Code -->
66
- {% if site.options.discord == true %}
67
- {% include casjaysdev/widgetbot.html %}
68
- {% endif %}
69
- <!-- End WidgetBot Code -->
70
-
71
- <!-- Start of Rocket.Chat Livechat Script -->
72
- {% if site.options.rocketchat == true %}
73
- {% include casjaysdev/rocketchat.html %}
74
- {% endif %}
75
- <!-- End of Rocket.Chat Livechat Script -->
62
+ <!-- Begin WidgetBot Code -->
63
+ {% if site.options.discord == true %} {% include casjaysdev/widgetbot.html
64
+ %} {% endif %}
65
+ <!-- End WidgetBot Code -->
76
66
 
67
+ <!-- Start of Rocket.Chat Livechat Script -->
68
+ {% if site.options.rocketchat == true %} {% include
69
+ casjaysdev/rocketchat.html %} {% endif %}
70
+ <!-- End of Rocket.Chat Livechat Script -->
71
+ </div>
72
+ <br />
73
+ <br />
77
74
  </div>
78
- <br /> <br />
79
75
  <!-- End Footer -->
@@ -1,5 +1,4 @@
1
1
  <!-- Begin Default Header-->
2
-
3
- <meta name="Jekyll Theme" content="{{ site.custom_theme.name }}">
4
-
2
+ <meta name="Jekyll Theme" content="{{ site.custom_theme.name }}" />
3
+ <link rel="icon" type="image/x-icon" href="{{ site.avatar }}" />
5
4
  <!-- End Default Header-->
@@ -1 +1,24 @@
1
- <br />
1
+ {% if site.ads.enabled == true %} {% if site.ads.google.client &&
2
+ site.ads.google.slot %}
3
+ <div class="ads">
4
+ <script
5
+ async
6
+ defer
7
+ src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"
8
+ ></script>
9
+ <!-- Single post - 1 (yourwebsite.com) -->
10
+ <ins
11
+ class="adsbygoogle"
12
+ style="display: block"
13
+ data-ad-slot="{{ slot }}"
14
+ data-ad-format="{{ format }}"
15
+ data-ad-client="{{ client }}"
16
+ ></ins>
17
+ <script>
18
+ (adsbygoogle = window.adsbygoogle || []).push({});
19
+ </script>
20
+ <br />
21
+ {% endif %} {% else %}
22
+ <!-- Ads is disabled -->
23
+ </div>
24
+ {% endif %}
@@ -1,5 +1,16 @@
1
- <br /><br />
2
- <iframe
3
- src="https://freesecure.timeanddate.com/clock/i7k2kmtc/n12/fn6/fs16/fc9ff/tc000/ftb/bas2/bat1/bacfff/pa8/tt0/tw1/th1/ta1/tb4"
4
- frameborder="0" width="212" height="56"></iframe>
5
- <br /><br />
1
+ {% if site.clock.enabled == true %}
2
+ <div class="clock">
3
+ <br />
4
+ <br />
5
+ <iframe
6
+ src="{{ site.clock.url }}"
7
+ frameborder="0"
8
+ width="212"
9
+ height="56"
10
+ ></iframe>
11
+ <br />
12
+ <br />
13
+ {% else %}
14
+ <!-- Clock is disabled -->
15
+ </div>
16
+ {% endif %}
@@ -1,28 +1,37 @@
1
- <link rel="stylesheet" type="text/css"
2
- href="https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.css" />
3
- <script src="https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.js"></script>
4
- <script>
5
- window.addEventListener("load", function () {
6
- window.cookieconsent.initialise({
7
- "palette": {
8
- "popup": {
9
- "background": "#64386b",
10
- "text": "#ffcdfd"
1
+ {% if site.eucookie.enabled == true %}
2
+ <div class="eu">
3
+ <script
4
+ src="https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.js"
5
+ async
6
+ defer
7
+ ></script>
8
+ <script>
9
+ window.addEventListener("load", function () {
10
+ window.cookieconsent.initialise({
11
+ palette: {
12
+ popup: {
13
+ background: "#64386b",
14
+ text: "#ffcdfd",
15
+ },
16
+ button: {
17
+ background: "transparent",
18
+ text: "#f8a8ff",
19
+ border: "#f8a8ff",
20
+ },
11
21
  },
12
- "button": {
13
- "background": "transparent",
14
- "text": "#f8a8ff",
15
- "border": "#f8a8ff"
16
- }
17
- },
18
- "content": {
19
- "message": "In accordance with the EU GDPR law this message is being displayed. - ",
20
- "dismiss": "I Agree",
21
- "link": "CasjaysDev Policy",
22
- "href": "https://casjaysdev.com/policy/"
23
- },
24
- "type": "opt-out"
25
- })
26
- });
27
- </script>
28
- <br />
22
+ content: {
23
+ message:
24
+ "In accordance with the EU GDPR law this message is being displayed. - ",
25
+ dismiss: "I Agree",
26
+ link: "CasjaysDev Policy",
27
+ href: "https://casjaysdev.com/policy/",
28
+ },
29
+ type: "opt-out",
30
+ });
31
+ });
32
+ </script>
33
+ <br />
34
+ {% else %}
35
+ <!-- eu cookie is disabled -->
36
+ </div>
37
+ {% endif %}
@@ -1,18 +1,32 @@
1
1
  {% if site.google.analytics %}
2
- <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google.analytics }}"></script>
3
- <script>
4
- window.dataLayer = window.dataLayer || [];
5
- function gtag() { dataLayer.push(arguments); }
6
- gtag('js', new Date());
7
- gtag('config', '{{ site.google.analytics }}');
8
- </script>
9
- {% else %}
10
- <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google.analytics }}"></script>
11
- <script>
12
- window.dataLayer = window.dataLayer || [];
13
- function gtag() { dataLayer.push(arguments); }
14
- gtag('js', new Date());
15
- gtag('config', '{{ site.google.analytics }}');
16
- </script>
17
- <br />
2
+ <div class="analytics">
3
+ <script
4
+ async
5
+ src="https://www.googletagmanager.com/gtag/js?id={{ site.google.analytics }}"
6
+ ></script>
7
+ <script>
8
+ window.dataLayer = window.dataLayer || [];
9
+ function gtag() {
10
+ dataLayer.push(arguments);
11
+ }
12
+ gtag("js", new Date());
13
+ gtag("config", "{{ site.google.analytics }}");
14
+ </script>
15
+ {% else %}
16
+ <script
17
+ async
18
+ src="https://www.googletagmanager.com/gtag/js?id={{ site.google.analytics }}"
19
+ ></script>
20
+ <script>
21
+ window.dataLayer = window.dataLayer || [];
22
+ function gtag() {
23
+ dataLayer.push(arguments);
24
+ }
25
+ gtag("js", new Date());
26
+ gtag("config", "{{ site.google.analytics }}");
27
+ </script>
28
+ <br />
29
+ {% else %}
30
+ <!-- Analytics is disabled -->
31
+ </div>
18
32
  {% endif %}