casjaysdev-jekyll-theme 0.1.6 → 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 +2 -4
  5. data/_config.yml +123 -80
  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 -48
  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: dc9727fd937f3855a2dd44976a913c16d5f51e732475eb745bccb656e610851f
4
- data.tar.gz: 4cdf551fbe50eb1d6eec98e961c01532457f060e9e7d222ce6db205b059e57bd
3
+ metadata.gz: 5bcaf697baf35fbe76c6e97677e3b4b1f4c145cc2908d9a43257458c9f80ec9f
4
+ data.tar.gz: 13068ac27c6601b5ff2abb8d56f4d052837c913179917fbf1ef71e6220f3c0f6
5
5
  SHA512:
6
- metadata.gz: f8a4a243ab065aa64370f1e7bfe418ecc91d1869646aa51ea14b2646abb18ab9ea5ba3d96190a6e104e0bc28a5a02bef66cf922f085882ad5f6bd1d806ba605f
7
- data.tar.gz: d4b0c3164b033a82e3a6f2f0a7e596306a7984df77971fb23ca8af0df13319b8403fd26164e715a8f508936146e1563bfd47e5efd8a54675fbbe1a1cdce0abbf
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.5)
4
+ casjaysdev-jekyll-theme (0.1.8)
5
5
  github-pages
6
6
  jekyll (~> 3.8)
7
7
  jekyll-analytics
@@ -272,15 +272,13 @@ GEM
272
272
  rb-fsevent (~> 0.10, >= 0.10.3)
273
273
  rb-inotify (~> 0.9, >= 0.9.10)
274
274
  mercenary (0.3.6)
275
- mini_portile2 (2.6.1)
276
275
  minima (2.5.1)
277
276
  jekyll (>= 3.5, < 5.0)
278
277
  jekyll-feed (~> 0.9)
279
278
  jekyll-seo-tag (~> 2.1)
280
279
  minitest (5.14.4)
281
280
  multipart-post (2.1.1)
282
- nokogiri (1.12.5)
283
- mini_portile2 (~> 2.6.1)
281
+ nokogiri (1.12.5-x86_64-linux)
284
282
  racc (~> 1.4)
285
283
  octokit (4.21.0)
286
284
  faraday (>= 0.9)
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,35 +18,53 @@ 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:
28
- submit_url: "https://cgi.casjay.net/sendmail.cgi"
29
- recipient: "form-submission@casjay.net"
30
- subject: "jekyll-casjaysdev Contact Form"
31
- title: "jekyll-casjaysdev"
32
- env: "REMOTE_HOST,HTTP_USER_AGENT"
33
- return_link:
34
- url: "javascript: history.go(-1)"
35
- title: "Back to Main Page"
36
- fields:
37
- name: "Name"
38
- email: "Email"
39
- message: "Message"
40
- required: "Name,Email,Message"
41
- theme:
42
- background: "https://static.casjay.net/assets/images/bkg.png"
43
- bgcolor: "#000000"
44
- text_color: "#ffffff"
45
- link_color: "#ffffff"
46
- vlink_color: "#ffffff"
47
- alink_color: "#ffffff"
48
-
49
- # only set one of columns_ to enabled
50
- # set a custom theme - includes/themes
51
- # hacker
40
+ enabled: false
41
+ type: "formspree"
42
+ formspree:
43
+ submit_url: "https://formspree.io/f"
44
+ code: ""
45
+ formmail:
46
+ submit_url: ""
47
+ recipient: "form-submission"
48
+ subject: "domain-template Contact Form"
49
+ title: "domain-template"
50
+ env: "REMOTE_HOST,HTTP_USER_AGENT"
51
+ return_link:
52
+ url: "javascript: history.go(-1)"
53
+ title: "Back to Main Page"
54
+ fields:
55
+ name: "Name"
56
+ email: "Email"
57
+ message: "Message"
58
+ required: "Name,Email,Message"
59
+ theme:
60
+ background: "https://casjaysdev-sites.github.io/static.casjay.net/assets/images/bkg.png"
61
+ bgcolor: "#000000"
62
+ text_color: "#ffffff"
63
+ link_color: "#ffffff"
64
+ vlink_color: "#ffffff"
65
+ alink_color: "#ffffff"
66
+
67
+ # only set one of columns t: set a custom theme - includes/themes
52
68
  custom_theme:
53
69
  name: hacker
54
70
  columns: "3"
@@ -59,8 +75,8 @@ custom_theme:
59
75
  external: true
60
76
  internal: true
61
77
  top: "nav/top.html"
62
- right: "nav/sidebars/right.html"
63
78
  left: "nav/sidebars/left.html"
79
+ right: "nav/sidebars/right.html"
64
80
 
65
81
  # set default timezone
66
82
  timezone: America/New_York
@@ -75,7 +91,7 @@ excerpt_separator: "\n\n"
75
91
  share-this:
76
92
  rss: true
77
93
  code: "5acc08103368f4001495b647"
78
- repo: "https://github.com/casjay-templates/jekyll-site"
94
+ repo: "https://github.com/casjay-templates/domain-template"
79
95
  email:
80
96
  enabled:
81
97
  footer: true
@@ -84,15 +100,15 @@ share-this:
84
100
  # Includes an icon for each username you enter
85
101
  social-links:
86
102
  rss: true
87
- name: casjay
88
- github: casjay
89
- twitter: casjay
90
- facebook: casjaysdev
91
- flickr: casjay
92
- instagram: casjay
93
- linkedin: casjay
94
- pinterest: casjaysdev
95
- email: casjay@cock.li
103
+ name:
104
+ github:
105
+ twitter:
106
+ facebook:
107
+ flickr:
108
+ instagram:
109
+ linkedin:
110
+ pinterest:
111
+ email:
96
112
  show_social: true
97
113
 
98
114
  # Verfication Settings
@@ -103,67 +119,83 @@ webmaster_verifications:
103
119
  yandex: 12345
104
120
  baidu: 12345
105
121
 
106
- # github options
107
- github:
108
- show: false
109
- repo:
110
- user:
111
- avatar:
112
- forkme: false
113
-
114
122
  # Enable/Disable footer sections
115
123
  options:
116
- engine: true
117
- sharethis: true
124
+ ads: true
125
+ blog: true
118
126
  legal: true
119
- statcounter: true
127
+ clock: true
128
+ piwik: true
129
+ engine: true
120
130
  google: true
121
- ads: true
131
+ discord: true
122
132
  eucookie: true
133
+ sharethis: true
123
134
  rocketchat: true
124
- piwik: true
125
- discord: true
126
- clock: true
127
-
128
- # // 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
129
143
  blog:
130
- enabled:
144
+ enabled: true
131
145
  api:
132
146
 
147
+ # RSS Feed
133
148
  feed:
134
149
  path: /rss.xml
135
150
  posts_limit: 20
136
151
 
152
+ # eu cookie
153
+ eucookie:
154
+ enabled: true
155
+
137
156
  # You can find your shortname on the Settings page of your Disqus account
138
- 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"
139
165
 
140
166
  # Enter your Google Analytics web tracking code (e.g. UA-2110908-2) to activate tracking
141
167
  google:
142
- analytics: UA-936146-1
168
+ analytics:
169
+
170
+ # Ads
171
+ ads:
172
+ enabled: false
173
+ google:
174
+ format: auto
175
+ slot:
176
+ client:
143
177
 
144
178
  # piwik code
145
179
  piwik:
146
- pre: https
147
- id:
180
+ prefix: https
181
+ site_id:
148
182
  url:
149
183
 
184
+ # enable rocketchat
150
185
  rocketchat:
151
186
  url:
152
187
 
153
188
  discord:
154
189
  enable: true
155
- server: 430838999876108289
156
- channel: 430838999876108291
190
+ server:
191
+ channel:
157
192
  horizontal: bottom
158
193
  vertical: left
159
194
 
160
195
  statuscounter:
161
- id: 8585230
196
+ id:
162
197
  code: ef07ac24
163
- url: //c.statcounter.com/8585230/0/ef07ac24/0/
164
-
165
- # Name of theme
166
- #theme: jekyll-theme-slate
198
+ url: //c.statcounter.com/REPLACEID/0/ef07ac24/0/
167
199
 
168
200
  # You don't need to change any of the configuration flags below !!
169
201
  permalink: pretty
@@ -171,6 +203,7 @@ permalink: pretty
171
203
  tag_page: "/blog/tags/"
172
204
  category_page: "/blog/categories/"
173
205
 
206
+ # Setup collections
174
207
  collections:
175
208
  posts:
176
209
  output: true
@@ -187,16 +220,17 @@ collections:
187
220
  issues:
188
221
  output: true
189
222
  permalink: /issues/:name
190
- wiki:
191
- output: true
192
- permalink: /wiki/:name
193
223
  recipes:
194
224
  output: true
195
225
  permalink: /recipes/:name
226
+ wiki:
227
+ output: true
228
+ permalink: /wiki/:name
196
229
 
197
230
  redirect_from:
198
- json: true
231
+ json: true
199
232
 
233
+ # Set defaults
200
234
  defaults:
201
235
  - scope:
202
236
  path: _docs
@@ -216,16 +250,16 @@ defaults:
216
250
 
217
251
  # Jekyll 3 now only supports Kramdown for Markdown
218
252
  kramdown:
219
- footnote_backlink: "&#x21A9;&#xFE0E;"
220
253
  input: GFM
221
254
  syntax_highlighter: rouge
255
+ footnote_backlink: "&#x21A9;&#xFE0E;"
222
256
  syntax_highlighter_opts:
223
257
  css_class: "highlight"
224
258
 
225
259
  # Set the Sass partials directory, as we're using @imports
226
260
  sass:
227
261
  sass_dir: _sass
228
- style: :expanded
262
+ style: expanded
229
263
 
230
264
  jekyll_tidy:
231
265
  compress_html: true
@@ -235,6 +269,7 @@ jekyll_tidy:
235
269
  plugins:
236
270
  - jemoji
237
271
  - kramdown
272
+ - github-pages
238
273
  - jekyll-avatar
239
274
  - jekyll-feed
240
275
  - jekyll-mentions
@@ -243,13 +278,16 @@ plugins:
243
278
  - jekyll-gist
244
279
  - jekyll-coffeescript
245
280
  - jekyll-assets
246
- - jekyll-sitemap
247
281
  - jekyll-analytics
248
282
  - jekyll-remote-include
249
283
  - jekyll-menus
250
284
  - jekyll-remote-theme
251
285
  - jekyll-tidy
286
+ - jekyll-theme-hacker
287
+ - casjaysdev-jekyll-theme
288
+ - domain-templatemap
252
289
 
290
+ # Include folders and files
253
291
  include:
254
292
  - _pages
255
293
  - images
@@ -262,7 +300,12 @@ exclude:
262
300
  - CNAME
263
301
  - .keep
264
302
  - .gitkeep
303
+ - casjaysdev-jekyll-theme.gemspec
304
+
305
+ # Change output to _docs
306
+ destination: ./_site
265
307
 
266
- #webrick:
267
- # headers:
268
- # 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 %}