casjaysdev-jekyll-theme 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/.gitattributes +0 -0
  3. data/.gitignore +96 -17
  4. data/.prettierrc.json +8 -0
  5. data/.vscode/settings.json +6 -0
  6. data/Gemfile +25 -15
  7. data/LICENSE.md +1 -1
  8. data/_config.yml +195 -105
  9. data/_data/nav/external.yml +1 -1
  10. data/_includes/ads/adsense.html +15 -0
  11. data/_includes/analytics/google.html +13 -0
  12. data/_includes/{casjaysdev/piwik.html → analytics/matomo.html} +5 -6
  13. data/_includes/casjays-footer.html +61 -43
  14. data/_includes/casjays-header.html +39 -1
  15. data/_includes/casjaysdev/clock.html +3 -12
  16. data/_includes/casjaysdev/eucookie.html +21 -30
  17. data/_includes/casjaysdev/legal.html +17 -38
  18. data/_includes/casjaysdev/rocketchat.html +3 -4
  19. data/_includes/casjaysdev/sharethis.html +6 -42
  20. data/_includes/casjaysdev/socialfooter.html +9 -85
  21. data/_includes/casjaysdev/sociallinks.html +51 -79
  22. data/_includes/casjaysdev/statcounter.html +8 -25
  23. data/_includes/casjaysdev/theme.html +9 -11
  24. data/_includes/casjaysdev/widgetbot.html +3 -1
  25. data/_includes/disqus.html +3 -7
  26. data/_includes/functions/blog.html +68 -0
  27. data/_includes/functions/default.html +3 -0
  28. data/{_pages → _includes/functions}/gallery/index.html +3 -5
  29. data/_includes/functions/gallery.html +44 -0
  30. data/_includes/functions/recipes.html +68 -0
  31. data/_includes/github.html +17 -7
  32. data/_includes/nav/external.html +10 -11
  33. data/_includes/nav/internal.html +14 -10
  34. data/_includes/nav/sidebars/right.html +2 -1
  35. data/_includes/nav/top.html +12 -19
  36. data/_includes/themes/blank/layouts/default.html +5 -20
  37. data/_includes/themes/blank/navigation.html +16 -18
  38. data/_includes/themes/hacker/layouts/default.html +32 -60
  39. data/_includes/themes/hacker/meta.html +2 -95
  40. data/_includes/themes/hacker/page_header.html +27 -0
  41. data/_layouts/default.html +32 -13
  42. data/_layouts/page.html +3 -3
  43. data/_layouts/post.html +1 -1
  44. data/_layouts/recipes.html +43 -0
  45. data/_pages/about/index.html +3 -5
  46. data/_pages/blog/catergories/catergories.html +6 -6
  47. data/_pages/blog/index.html +48 -44
  48. data/_pages/blog/tags/tags.html +6 -6
  49. data/_pages/contact/index.html +62 -160
  50. data/_pages/index.html +102 -7
  51. data/_pages/rss/index.xml +1 -0
  52. data/_posts/2021-07-31-welcome-to-your-new-site.md +14 -0
  53. data/_posts/2022-07-31-templates-update.md +14 -0
  54. data/_posts/2023-04-24-theme-rewrite.md +14 -0
  55. data/assets/css/bootstrap/bootstrap-icons.css +5994 -2002
  56. data/assets/css/bootstrap/font-awesome.css +6812 -3
  57. data/assets/css/errorpages/errorpages.css +8 -7
  58. data/assets/css/gh/ribbon.css +31 -18
  59. data/assets/css/hacker.css +41 -54
  60. data/assets/css/other/forms-min.css +316 -1
  61. data/assets/js/errorpages/homepage.js +4 -2
  62. data/assets/js/errorpages/isup.js +5 -2
  63. data/assets/js/errorpages/loaddomain.js +5 -2
  64. data/assets/js/fetch-url.js +1 -3
  65. data/assets/js/utils/bootstrap.bundle.min.js +4181 -6
  66. data/assets/js/utils/fetch.min.js +467 -1
  67. data/casjaysdev-jekyll-theme.gemspec +16 -6
  68. data/error/403.html +49 -0
  69. data/error/404.html +39 -34
  70. data/error/418.html +48 -0
  71. data/error/500.html +39 -34
  72. data/error/502.html +49 -0
  73. data/error/503.html +49 -0
  74. data/error/504.html +49 -0
  75. data/health/index.html +7 -0
  76. data/health/json +3 -0
  77. data/health/txt +1 -0
  78. metadata +259 -22
  79. data/.editorconfig +0 -8
  80. data/CNAME +0 -1
  81. data/Gemfile.lock +0 -310
  82. data/_includes/casjaysdev/ads.html +0 -24
  83. data/_includes/casjaysdev/google.html +0 -32
  84. data/_includes/image-gallery.html +0 -30
  85. data/_layouts/errors.html +0 -26
  86. data/images/.keep +0 -1
@@ -1,4 +1,42 @@
1
1
  <!-- Begin Default Header-->
2
- <meta name="Jekyll Theme" content="{{ site.custom_theme.name }}" />
2
+ <meta charset="utf-8" />
3
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
4
+
5
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
6
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
7
+ <meta name="generator" content="{{ site.author.name }}" />
8
+ <meta name="author" content="{{ site.author.name }}" />
9
+
10
+ {% if page.excerpt %}
11
+ <meta name="description" content="{{ page.excerpt| strip_html }}" />
12
+ <meta property="og:description" content="{{ page.excerpt| strip_html }}" />
13
+ {% else %}
14
+ <meta name="description" content="{{ site.description }}" />
15
+ <meta property="og:description" content="{{ site.description }}" />
16
+ {% endif %}
17
+
18
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' }}" />
19
+ <link rel="alternate" type="application/rss+xml" title="{{ site.name }}" href="{{ site.feed.path | prepend: site.baseurl | prepend: site.url }}"/>
20
+
21
+ {% if page.title %}
22
+ <meta property="og:title" content="{{ page.title }}" />
23
+ <meta property="twitter:title" content="{{ page.title }}" />
24
+ {% endif %}
25
+
26
+ <meta name="Jekyll Theme" content="{{ site.custom_theme.directory }}" />
3
27
  <link rel="icon" type="image/x-icon" href="{{ site.avatar }}" />
28
+ <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/gh/ribbon.css" />
29
+ <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/other/forms-min.css"/>
30
+ <link rel="stylesheet" href="https://fonts.googleapis.com/css2?Roboto&family=Roboto+Mono&display=swap" />
31
+ <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.css"/>
32
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
33
+
34
+ <script src="https://cdn.jsdelivr.net/npm/@widgetbot/crate@3" async defer></script>
35
+ <script src="{{ site.baseurl }}/assets/js/errorpages/isup.js" async defer></script>
36
+ <script src="{{ site.baseurl }}/assets/js/errorpages/homepage.js" async defer></script>
37
+ <script src="{{ site.baseurl }}/assets/js/errorpages/loaddomain.js" async defer></script>
38
+ <script src="{{ site.baseurl }}/assets/js/utils/fetch.min.js" async defer></script>
39
+ <script src="{{ site.baseurl }}/assets/js/utils/popper.min.js" async defer></script>
40
+ <script src="{{ site.baseurl }}/assets/js/utils/bootstrap.bundle.min.js" async defer></script>
41
+ <script src="https://cdn.passprotect.io/passprotect.min.js" defer></script>
4
42
  <!-- End Default Header-->
@@ -1,16 +1,7 @@
1
1
  {% if site.clock.enabled == true %}
2
+ <!-- begin clock block --->
2
3
  <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 -->
4
+ <iframe src="{{ site.clock.url }}" frameborder="0" width="212" height="56"></iframe>
15
5
  </div>
6
+ <!-- end clock block --->
16
7
  {% endif %}
@@ -1,37 +1,28 @@
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>
1
+ {% if site.eu.cookie.enabled == true %}
2
+ <!-- begin eu cookie block --->
3
+ <div class="text-center align-items-center fs-3">
4
+ <script src="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.js" data-cfasync="false"></script>
8
5
  <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
- },
6
+ window.cookieconsent.initialise({
7
+ palette: {
8
+ popup: {
9
+ background: "#64386b",
10
+ text: "#ffcdfd",
21
11
  },
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/",
12
+ button: {
13
+ background: "#f8a8ff",
14
+ text: "#3f0045",
28
15
  },
29
- type: "opt-out",
30
- });
16
+ },
17
+ theme: "{{ site.eu.cookie.theme }}",
18
+ content: {
19
+ message: "{{ site.eu.cookie.message }}",
20
+ dismiss: "{{ site.eu.cookie.dismiss }}",
21
+ link: "{{ site.eu.cookie.link_text }}",
22
+ href: "{{ site.eu.cookie.link_url }}",
23
+ },
31
24
  });
32
25
  </script>
33
- <br />
34
- {% else %}
35
- <!-- eu cookie is disabled -->
36
26
  </div>
27
+ <!-- end eu cookie block --->
37
28
  {% endif %}
@@ -1,45 +1,24 @@
1
+ <!-- begin legal block --->
1
2
  <div class="legal">
2
3
  Copyright 1999 - {{ site.time | date: '%Y' }}
3
4
  <br />
4
- <a href="https://casjay.net" target="_blank">Casjays Developments</a> and
5
- <a href="https://malaks-us.github.io/jason" target="_blank"
6
- >Jason M. Hempstead-Malak</a
7
- ><br />
8
- Hosting by
9
- <a href="https://casjay.net/hosting" target="_blank"
10
- >Casjays Developments: Hosting</a
11
- ><br />
12
- and powered by
13
- <a href="https://casjaysdev.com" target="_blank">CasjaysDev.com</a>
14
- <br />
15
- <br />
16
- <a href="https://www.patreon.com/casjay" target="_blank"
17
- ><img
18
- src="https://img.shields.io/badge/patreon-donate-orange.svg"
19
- border="0"
20
- alt="Casjays Patreon Page"
21
- /></a>
22
- <a href="https://www.paypal.me/casjaysdev" target="_blank"
23
- ><img
24
- src="https://img.shields.io/badge/Donate-PayPal-green.svg?casjay@yahoo.com"
25
- alt="Casjays Paypal Page"
26
- /></a>
27
- <br />
28
- <br />
29
- <a href="https://help.casjay.net" target="_blank">CasjaysDev Support</a> |
30
- <a href="https://bugs.casjay.net" target="_blank">CasjaysDev Bugs</a> <br />
31
- <a href="https://status.casjay.net" target="_blank">System Status</a> |
32
- <a href="https://servers.casjay.net" target="_blank">Service Status</a> |
33
- <a href="https://status.casjaysdev.com" target="_blank">Complete Status</a>
34
- <br />
35
- <a href="https://casjaysdev.com/domains.html" target="_blank"
36
- >Casjays Developments Domains</a
37
- >
5
+ <a href="https://casjay.pro" target="_blank">Casjays Developments</a> and
6
+ <a href="https://malaks-us.github.io/jason" target="_blank" >Jason M. Hempstead-Malak</a><br />
7
+ Hosting by <a href="https://casjay.pro/hosting" target="_blank" >Casjays Developments: Hosting</a><br />
8
+ and powered by <a href="https://casjaysdev.pro" target="_blank">CasjaysDev.com</a>
38
9
  <br />
39
10
  <br />
40
- Casjays Developments privacy policy can be found at<br />
41
- <a href="https://casjaysdev.com/policy/" target="_blank"
42
- >https://casjaysdev.com/policy</a
43
- >
11
+ <a href="https://www.patreon.com/casjay" target="_blank" ><img src="https://img.shields.io/badge/patreon-donate-orange.svg" border="0" alt="Casjays Patreon Page"/></a>
12
+ <a href="https://www.paypal.me/casjaysdev" target="_blank"><img src="https://img.shields.io/badge/Donate-PayPal-green.svg?casjay@yahoo.com" alt="Casjays Paypal Page"/></a>
13
+ <br />
14
+ <br />
15
+ <a href="https://help.casjay.pro" target="_blank">CasjaysDev Support</a> | <a href="https://bugs.casjay.pro" target="_blank">CasjaysDev Bugs</a> <br />
16
+ <a href="https://status.casjay.pro" target="_blank">System Status</a> | <a href="https://servers.casjay.pro" target="_blank">Service Status</a> | <a href="https://status.casjaysdev.pro" target="_blank">Complete Status</a>
44
17
  <br />
18
+ <a href="https://casjaysdev.pro/domains.html" target="_blank">Casjays Developments Domains</a>
19
+ <br />
20
+ <br />
21
+ Casjays Developments privacy policy can be found at<br />
22
+ <a href="https://casjaysdev.pro/policy/" target="_blank">https://casjaysdev.pro/policy</a>
45
23
  </div>
24
+ <!-- end legal block --->
@@ -1,4 +1,5 @@
1
- {% if site.rocketchat.url %}
1
+ {% if site.rocketchat.enabled == true %}
2
+ <!-- begin rocketchat block --->
2
3
  <div class="rocketchat">
3
4
  <script type="text/javascript">
4
5
  (function (w, d, s, u) {
@@ -15,8 +16,6 @@
15
16
  h.parentNode.insertBefore(j, h);
16
17
  })(window, document, "script", "{{ site.rocketchat.url }}/livechat");
17
18
  </script>
18
- <br />
19
- {% else %}
20
- <!-- rocketchat is disabled -->
21
19
  </div>
20
+ <!-- end rocketchat block --->
22
21
  {% endif %}
@@ -1,45 +1,9 @@
1
- {% if site.share-this.enabled.footer == true %}
2
- <div class="share-buttons">
3
- {% if site.share-this.rss %}
4
- <a href="{{ site.feed.path | prepend: site.baseurl }} ">
5
- <img
6
- alt="RSS Feed"
7
- src="https://github.com/casjaysdev-sites/static.casjay.net/raw/main/default-icons/social/rss-48x48.png"
8
- />
9
- </a>
10
- {% endif %} {% if site.share-this.repo %}
11
- <a href="{{ site.share-this.repo }}" target="_blank" title="Github">
12
- <img
13
- alt="Tweet"
14
- src="https://github.com/casjaysdev-sites/static.casjay.net/raw/main/default-icons/social/github-48x48.png"
15
- />
16
- </a>
17
- {% endif %} {% if site.share-this.email %}
18
- <a href="mailto:?subject=Thought you might like this site">
19
- <img
20
- alt="Send via email"
21
- src="https://github.com/casjaysdev-sites/static.casjay.net/raw/main/default-icons/social/email-48x48.png"
22
- />
23
- </a>
24
- {% endif %}
25
- <br />
26
- <br />
27
- {% if site.share-this.enabled.script == true %}
28
- <div
29
- class="container-fluid"
30
- style="width: 20%; margin: 0 auto; columns: auto; text-align: center"
31
- align="center"
32
- >
33
- <div class="sharethis-inline-share-buttons"></div>
34
- <script
35
- type="text/javascript"
36
- src="https://platform-api.sharethis.com/js/sharethis.js#property={{ site.share-this.code }}&product=inline-share-buttons"
37
- async="async"
38
- ></script>
1
+ {% if site.share_this.enabled.footer == true or site.share_this.enabled.script == true %}
2
+ <!-- begin sharethis block --->
3
+ <div class="share-buttons" style="width: 50%; margin: 0 auto; columns: auto; text-align: center;">
4
+ <div class="sharethis-inline-share-buttons">
5
+ <script type="text/javascript" src="https://platform-api.sharethis.com/js/sharethis.js#property={{ site.share_this.code }}&product=sop" async="async"></script>
39
6
  </div>
40
- {% endif %}
41
- <br />
42
- {% else %}
43
- <!-- Share-this is disabled -->
44
7
  </div>
8
+ <!-- end sharethis block --->
45
9
  {% endif %}
@@ -1,88 +1,12 @@
1
+ <!-- begin social block --->
1
2
  <div class="share-buttons">
2
- <a href="{{ site.feed.path | prepend: site.baseurl }}">
3
- <img
4
- alt="RSS Feed"
5
- src="https://github.com/casjaysdev-sites/static.casjay.net/raw/main/default-icons/social/rss-48x48.png"
6
- />
7
- </a>
8
-
9
- <a href="{{ site.footer-links.github }}" target="_blank" title="Github">
10
- <img
11
- alt="Tweet"
12
- src="https://github.com/casjaysdev-sites/static.casjay.net/raw/main/default-icons/social/github-48x48.png"
13
- />
14
- </a>
15
-
16
- <a
17
- href="https://stackoverflow.com/users/2524088/casjay"
18
- target="_blank"
19
- title="StackOverflow"
20
- >
21
- <img
22
- alt="Stackoverflow"
23
- src="https://github.com/casjaysdev-sites/static.casjay.net/raw/main/default-icons/social/stackoverflow-48x48.png"
24
- />
25
- </a>
26
-
27
- <a
28
- href="http://www.tumblr.com/share?v=3&u={{ page.url }}&quote=&s="
29
- target="_blank"
30
- title="Post to Tumblr"
31
- onclick="window.open('http://www.tumblr.com/share?v=3&u=' + encodeURIComponent(document.URL) + '&quote=' + encodeURIComponent(document.title)); return false;"
32
- >
33
- <img
34
- alt="Post to Tumblr"
35
- src="https://github.com/casjaysdev-sites/static.casjay.net/raw/main/default-icons/social/tumblr-48x48.png"
36
- />
37
- </a>
38
-
39
- <a
40
- href="http://pinterest.com/pin/create/button/?url={{ page.url }}&description="
41
- target="_blank"
42
- title="Pin it"
43
- onclick="window.open('http://pinterest.com/pin/create/button/?url=' + encodeURIComponent(document.URL) + '&description=' + encodeURIComponent(document.title)); return false;"
44
- >
45
- <img
46
- alt="Pin it"
47
- src="https://github.com/casjaysdev-sites/static.casjay.net/raw/main/default-icons/social/pinterest-48x48.png"
48
- />
49
- </a>
50
- <br />
51
-
52
- <a
53
- href="http://www.linkedin.com/shareArticle?mini=true&url={{ page.url }}&title=&summary=&source={{ page.url }}"
54
- target="_blank"
55
- title="Share on LinkedIn"
56
- onclick="window.open('http://www.linkedin.com/shareArticle?mini=true&url=' + encodeURIComponent(document.URL) + '&title=' + encodeURIComponent(document.title)); return false;"
57
- >
58
- <img
59
- alt="Share on LinkedIn"
60
- src="https://github.com/casjaysdev-sites/static.casjay.net/raw/main/default-icons/social/linkedin-48x48.png"
61
- />
62
- </a>
63
-
64
- <a
65
- href="http://wordpress.com/press-this.php?u={{ page.url }}&quote=&s="
66
- target="_blank"
67
- title="Publish on WordPress"
68
- onclick="window.open('http://wordpress.com/press-this.php?u=' + encodeURIComponent(document.URL) + '&quote=' + encodeURIComponent(document.title)); return false;"
69
- >
70
- <img
71
- alt="Publish on WordPress"
72
- src="https://github.com/casjaysdev-sites/static.casjay.net/raw/main/default-icons/social/wordpress-48x48.png"
73
- />
74
- </a>
75
-
76
- <a
77
- href="https://pinboard.in/popup_login/?url={{ page.url }}&title=&description={{ page.title }}"
78
- target="_blank"
79
- title="Save to Pinboard"
80
- onclick="window.open('https://pinboard.in/popup_login/?url=' + encodeURIComponent(document.URL) + '&title=' + encodeURIComponent(document.title)); return false;"
81
- >
82
- <img
83
- alt="Save to Pinboard"
84
- src="https://github.com/casjaysdev-sites/static.casjay.net/raw/main/default-icons/social/pinboard-48x48.png"
85
- />
86
- </a>
3
+ <a href="{{ site.feed.path | prepend: site.baseurl }}"><img alt="RSS Feed" src="https://casjaysdev-sites.github.io/static/default-icons/social/rss-48x48.png"/></a>
4
+ <a href="{{ site.github.repository_url }}" target="_blank" title="Github"><img alt="Tweet" src="https://casjaysdev-sites.github.io/static/default-icons/social/github-48x48.png"/></a>
5
+ <a href="http://www.tumblr.com/share?v=3&u={{ page.url }}&quote=&s=" target="_blank" title="Post to Tumblr" onclick="window.open('http://www.tumblr.com/share?v=3&u=' + encodeURIComponent(document.URL) + '&quote=' + encodeURIComponent(document.title)); return false;"><img alt="Post to Tumblr" src="https://casjaysdev-sites.github.io/static/default-icons/social/tumblr-48x48.png"/></a>
6
+ <a href="http://pinterest.com/pin/create/button/?url={{ page.url }}&description=" target="_blank" title="Pin it" onclick="window.open('http://pinterest.com/pin/create/button/?url=' + encodeURIComponent(document.URL) + '&description=' + encodeURIComponent(document.title)); return false;"><img alt="Pin it" src="https://casjaysdev-sites.github.io/static/default-icons/social/pinterest-48x48.png"/></a>
87
7
  <br />
8
+ <a href="http://www.linkedin.com/shareArticle?mini=true&url={{ page.url }}&title=&summary=&source={{ page.url }}" target="_blank" title="Share on LinkedIn" onclick="window.open('http://www.linkedin.com/shareArticle?mini=true&url=' + encodeURIComponent(document.URL) + '&title=' + encodeURIComponent(document.title)); return false;"><img alt="Share on LinkedIn" src="https://casjaysdev-sites.github.io/static/default-icons/social/linkedin-48x48.png"/></a>
9
+ <a href="http://wordpress.com/press-this.php?u={{ page.url }}&quote=&s=" target="_blank" title="Publish on WordPress" onclick="window.open('http://wordpress.com/press-this.php?u=' + encodeURIComponent(document.URL) + '&quote=' + encodeURIComponent(document.title)); return false;"><img alt="Publish on WordPress" src="https://casjaysdev-sites.github.io/static/default-icons/social/wordpress-48x48.png"/></a>
10
+ <a href="https://pinboard.in/popup_login/?url={{ page.url }}&title=&description={{ page.title }}" target="_blank" title="Save to Pinboard" onclick="window.open('https://pinboard.in/popup_login/?url=' + encodeURIComponent(document.URL) + '&title=' + encodeURIComponent(document.title)); return false;"><img alt="Save to Pinboard" src="https://casjaysdev-sites.github.io/static/default-icons/social/pinboard-48x48.png" /></a>
88
11
  </div>
12
+ <!-- begin social block --->
@@ -1,82 +1,54 @@
1
- <div class="social-links">
2
- <p class="mx-auto" style="width: 200px">
1
+ <div class="social-links" style="width: auto;align-items: center;">
2
+ {% if site.social_links.enabled == true %}
3
+ <!-- begin social links block --->
4
+ <div>
3
5
  Social Links: <br />
4
- {% if site.social-links.rss %}
5
- <a href="{{ site.feed.path | prepend: site.baseurl }}">
6
- <i class="svg-icon rss"></i>
7
- </a>
8
- {% endif %} {% if site.social-links.github %}
9
- <a href="https://github.com/{{ site.social-links.github }}" target="_blank">
10
- <i class="svg-icon github"></i>
11
- </a>
12
- {% endif %} {% if site.social-links.dribbble %}
13
- <a
14
- href="https://dribbble.com/{{ site.social-links.dribbble }}"
15
- target="_blank"
16
- >
17
- <i class="svg-icon dribbble"></i>
18
- </a>
19
- {% endif %} {% if site.social-links.facebook %}
20
- <a
21
- href="https://www.facebook.com/{{ site.social-links.facebook }}"
22
- target="_blank"
23
- >
24
- <i class="svg-icon facebook"></i
25
- ></a>
26
- {% endif %} {% if site.social-links.flickr %}
27
- <a
28
- href="https://www.flickr.com/{{ site.social-links.flickr }}"
29
- target="_blank"
30
- >
31
- <i class="svg-icon flickr"></i>
32
- </a>
33
- {% endif %} {% if site.social-links.instagram %}
34
- <a
35
- href="https://instagram.com/{{ site.social-links.instagram }}"
36
- target="_blank"
37
- >
38
- <i class="svg-icon instagram"></i>
39
- </a>
40
- {% endif %} {% if site.social-links.linkedin %}
41
- <a
42
- href="https://www.linkedin.com/in/{{ site.social-links.linkedin }}"
43
- target="_blank"
44
- target="_blank"
45
- >
46
- <i class="svg-icon linkedin"></i>
47
- </a>
48
- {% endif %} {% if site.social-links.pinterest %}
49
- <a
50
- href="https://www.pinterest.com/{{ site.social-links.pinterest }}"
51
- target="_blank"
52
- >
53
- <i class="svg-icon pinterest"></i>
54
- </a>
55
- {% endif %} {% if site.social-links.twitter %}
56
- <a
57
- href="https://www.twitter.com/{{ site.social-links.twitter }}"
58
- target="_blank"
59
- >
60
- <i class="svg-icon twitter"></i>
61
- </a>
62
- {% endif %} {% if site.social-links.stackoverflow %}
63
- <a
64
- href="http://stackoverflow.com/{{ site.social-links.stackoverflow }}"
65
- target="_blank"
66
- >
67
- <i class="svg-icon stackoverflow"></i></a
68
- >{% endif %} {% if site.social-links.youtube %}
69
- <a
70
- href="https://youtube.com/{{ site.social-links.youtube }}"
71
- target="_blank"
72
- >
73
- <i class="svg-icon youtube"></i>
74
- </a>
75
- {% endif %} {% if site.social-links.email %}
76
- <a href="mailto:{{ site.social-links.email }}" target="_blank">
77
- <i class="svg-icon email"></i>
78
- </a>
6
+ {% if site.social_links.rss %}
7
+ <a href="{{ site.feed.path | prepend: site.baseurl }}"><i class="svg-icon rss"></i></a>
8
+ {% endif %}
9
+ {% if site.social_links.github %}
10
+ <a href="https://github.com/{{ site.social_links.github }}" target="_blank"><i class="svg-icon github"></i></a>
79
11
  {% endif %}
80
- <br />
81
- </p>
12
+ {% if site.social_links.linkedin %}
13
+ <a href="https://www.linkedin.com/in/{{ site.social_links.linkedin }}" target="_blank"><i class="svg-icon linkedin"></i></a>
14
+ {% endif %}
15
+ {% if site.social_links.stackoverflow %}
16
+ <a href="https://stackoverflow.com/users/{{ site.social_links.stackoverflow }}" target="_blank"><i class="svg-icon stackoverflow"></i></a>
17
+ {% endif %}
18
+ {% if site.social_links.twitter %}
19
+ <a href="https://www.twitter.com/{{ site.social_links.twitter }}" target="_blank"><i class="svg-icon twitter"></i></a>
20
+ {% endif %}
21
+ {% if site.social_links.youtube %}
22
+ <a href="https://youtube.com/{{ site.social_links.youtube }}" target="_blank"><i class="svg-icon youtube"></i></a>
23
+ {% endif %}
24
+ {% if site.social_links.dribbble %}
25
+ <a href="https://dribbble.com/{{ site.social_links.dribbble }}" target="_blank"><i class="svg-icon dribbble"></i></a>
26
+ {% endif %}
27
+ {% if site.social_links.facebook %}
28
+ <a href="https://www.facebook.com/{{ site.social_links.facebook }}" target="_blank"><i class="svg-icon facebook"></i></a>
29
+ {% endif %}
30
+ {% if site.social_links.flickr %}
31
+ <a href="https://www.flickr.com/{{ site.social_links.flickr }}" target="_blank"><i class="svg-icon flickr"></i></a>
32
+ {% endif %}
33
+ {% if site.social_links.instagram %}
34
+ <a href="https://instagram.com/{{ site.social_links.instagram }}" target="_blank"><i class="svg-icon instagram"></i></a>
35
+ {% endif %}
36
+ {% if site.social_links.pinterest %}
37
+ <a href="https://www.pinterest.com/{{ site.social_links.pinterest }}" target="_blank"><i class="svg-icon pinterest"></i></a>
38
+ {% endif %}
39
+ {% if site.social_links.email %}
40
+ <a href="mailto:{{ site.social_links.email }}" target="_blank"><i class="svg-icon email"></i></a>
41
+ </div>
42
+ <br />
43
+ {% endif %}
44
+ <!-- Social Links -->
45
+ {% if site.options.sharethis == true %}
46
+ <div>
47
+ Share This:<br />
48
+ {% include casjaysdev/sharethis.html %}
49
+ </div>
50
+ {% endif %}
51
+ <!-- End Social Links-->
82
52
  </div>
53
+ <!-- end social links block --->
54
+ {% endif %}
@@ -1,35 +1,18 @@
1
- {% if site.statuscounter.id %}
1
+ {% if site.status_counter.enabled == true and site.status_counter.site_id %}
2
+ <!-- begin status counter block --->
2
3
  <div class="statcounter">
3
4
  <script type="text/javascript">
4
- var sc_project = "{{ site.statuscounter.id }}";
5
+ var sc_project = "{{ site.status_counter.site_id }}";
5
6
  var sc_invisible = 0;
6
- var sc_security = "{{ site.statuscounter.code }}";
7
- var scJsHost =
8
- "https:" == document.location.protocol
9
- ? "https://secure."
10
- : "http://www.";
11
- document.write(
12
- "<sc" +
13
- "ript type='text/javascript' src='" +
14
- scJsHost +
15
- "statcounter.com/counter/counter.js'></" +
16
- "script>"
17
- );
7
+ var sc_security = "{{ site.status_counter.site_code }}";
8
+ var scJsHost = "https:" == document.location.protocol ? "https://secure." : "http://www.";
9
+ document.write("<sc" + "ript type='text/javascript' src='" + scJsHost + "statcounter.com/counter/counter.js'></" + "script>");
18
10
  </script>
19
11
  <noscript>
20
12
  <div class="statcounter">
21
- <a
22
- title="web stats"
23
- href="https://statcounter.com/p{{ site.statuscounter.id }}/summary/?guest=1"
24
- target="_blank"
25
- >
26
- <img
27
- class="statcounter"
28
- src="//c.statcounter.com/{{ site.statuscounter.id }}/0/{{ site.statuscounter.code }}/0/"
29
- alt="web stats"
30
- /></a>
13
+ <a title="web stats" href="https://statcounter.com/p{{ site.status_counter.site_id }}/summary/?guest=1" target="_blank"> <img class="statcounter" src="//c.statcounter.com/{{ site.status_counter.site_id }}/0/{{ site.status_counter.site_code }}/0/" alt="web stats"/></a>
31
14
  </div>
32
15
  </noscript>
33
- <br />
34
16
  </div>
17
+ <!-- end status counter block --->
35
18
  {% endif %}
@@ -1,14 +1,12 @@
1
- {% if site.options.engine == true %}
2
- <div class="text-center" style="color: royalblue">
1
+ {% if site.engine.enabled == true %}
2
+ <!-- begin engine block --->
3
+ <div class="text-center" style="color: royalblue;">
3
4
  <br />
4
- Made with 💜💜💜💜💜💜 by <br />
5
- <a href="http://github.com/casjay" target="_blank" rel="noopener">
6
- Jason M. Hempstead (Casjay)</a
7
- ><br />
8
- This site is powered by an
9
- <a href="{{ site.engine.url }}" target="_blank" rel="noopener">
10
- open source </a
11
- >theme
5
+ Made with 💜💜💜💜💜💜 by
6
+ <br />
7
+ <a href="http://github.com/casjay" target="_blank" rel="noopener">Jason M. Hempstead (Casjay)</a>
8
+ <br />
9
+ This site is powered by an <a href="{{ site.engine.url }}" target="_blank" rel="noopener">open source </a>theme
12
10
  </div>
13
- <br />
11
+ <!-- end engine block --->
14
12
  {% endif %}
@@ -1,4 +1,5 @@
1
- {% if site.discord.enable == true %}
1
+ {% if site.discord.enabled == true %}
2
+ <!-- begin discord bot block --->
2
3
  <script src="https://cdn.jsdelivr.net/npm/@widgetbot/crate@3" async defer>
3
4
  new Crate({
4
5
  server: '{{ site.discord.server }}',
@@ -7,4 +8,5 @@
7
8
  })
8
9
  crate.notify()
9
10
  </script>
11
+ <!-- end discord bot block --->
10
12
  {% endif %}
@@ -1,10 +1,10 @@
1
1
  {% if site.disqus.enabled == true %}
2
+ <!-- begin disqus block --->
2
3
  <hr width:75%; margin-left:12.5% !important; margin-right:12.5% !important; />
3
4
  <div class="comments">
4
5
  <div id="disqus_thread"></div>
5
6
  <script type="text/javascript">
6
7
  var disqus_shortname = "{{ site.disqus.shortcode }}";
7
-
8
8
  (function () {
9
9
  var dsq = document.createElement("script");
10
10
  dsq.type = "text/javascript";
@@ -16,11 +16,7 @@
16
16
  ).appendChild(dsq);
17
17
  })();
18
18
  </script>
19
- <noscript
20
- >Please enable JavaScript to view the
21
- <a href="http://disqus.com/?ref_noscript"> comments powered by Disqus.</a>
22
- </noscript>
19
+ <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript"> comments powered by Disqus.</a></noscript>
23
20
  </div>
24
- {% else %}
25
- <!-- Disqus is disabled -->
21
+ <!-- end disqus block --->
26
22
  {% endif %}