casjaysdev-jekyll-theme 0.1.7 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -1
  3. data/CNAME +1 -1
  4. data/Gemfile +25 -2
  5. data/Gemfile.lock +39 -20
  6. data/_config.yml +105 -67
  7. data/_includes/casjays-footer.html +61 -65
  8. data/_includes/casjays-header.html +2 -3
  9. data/_includes/casjaysdev/ads.html +24 -1
  10. data/_includes/casjaysdev/clock.html +16 -5
  11. data/_includes/casjaysdev/eucookie.html +36 -27
  12. data/_includes/casjaysdev/google.html +30 -16
  13. data/_includes/casjaysdev/legal.html +45 -25
  14. data/_includes/casjaysdev/piwik.html +22 -15
  15. data/_includes/casjaysdev/rocketchat.html +20 -10
  16. data/_includes/casjaysdev/sharethis.html +36 -17
  17. data/_includes/casjaysdev/socialfooter.html +79 -29
  18. data/_includes/casjaysdev/sociallinks.html +82 -39
  19. data/_includes/casjaysdev/statcounter.html +34 -19
  20. data/_includes/casjaysdev/theme.html +6 -3
  21. data/_includes/casjaysdev/widgetbot.html +1 -8
  22. data/_includes/disqus.html +16 -10
  23. data/_includes/github.html +7 -3
  24. data/_includes/image-gallery.html +27 -50
  25. data/_includes/nav/external.html +5 -3
  26. data/_includes/nav/internal.html +4 -6
  27. data/_includes/nav/sidebars/right.html +1 -2
  28. data/_includes/nav/top.html +13 -13
  29. data/_includes/read_time.html +3 -2
  30. data/_includes/themes/blank/layouts/default.html +2 -2
  31. data/_includes/themes/hacker/layouts/default.html +50 -55
  32. data/_includes/themes/hacker/meta.html +79 -28
  33. data/_layouts/default.html +3 -6
  34. data/_layouts/errors.html +1 -8
  35. data/_layouts/page.html +1 -4
  36. data/_layouts/post.html +29 -29
  37. data/_pages/about/index.html +14 -0
  38. data/_pages/blog/index.html +57 -0
  39. data/_pages/contact/index.html +173 -0
  40. data/_pages/gallery/index.html +15 -0
  41. data/_pages/index.html +12 -3
  42. data/_pages/rss/index.xml +35 -0
  43. data/_posts/2020-07-31-new-deploy.md +2 -0
  44. data/assets/css/base.css +123 -0
  45. data/assets/css/bootstrap/bootstrap-icons.css +2018 -0
  46. data/assets/css/bootstrap/darkly.css +10523 -0
  47. data/assets/css/bootstrap/font-awesome.css +9 -0
  48. data/assets/css/errorpages/errorpages.css +337 -0
  49. data/assets/css/gh/ribbon.css +124 -0
  50. data/assets/css/hacker.css +1 -4
  51. data/assets/css/other/forms-min.css +7 -0
  52. data/assets/js/errorpages/homepage.js +4 -0
  53. data/assets/js/errorpages/isup.js +4 -0
  54. data/assets/js/errorpages/loaddomain.js +4 -0
  55. data/assets/js/fetch-url.js +8 -5
  56. data/assets/js/gh-blog.js +20 -20
  57. data/assets/js/posts.js +24 -20
  58. data/assets/js/utils/bootstrap.bundle.min.js +7 -0
  59. data/assets/js/utils/fetch.min.js +1 -0
  60. data/assets/js/utils/popper.min.js +5 -0
  61. data/casjaysdev-jekyll-theme.gemspec +35 -35
  62. data/error/404.html +34 -22
  63. data/error/500.html +34 -21
  64. data/favicon.ico +0 -0
  65. data/images/gallery/126880.jpg +0 -0
  66. data/images/gallery/Octocat.png +0 -0
  67. data/templates/year-month-day-name.blank.md +5 -3
  68. data/templates/year-month-day-name.image.md +5 -3
  69. data/templates/year-month-day-name.link.md +5 -3
  70. data/templates/year-month-day-name.video.md +5 -3
  71. data/templates/year-month-day-name.yt.html +10 -4
  72. metadata +137 -111
  73. data/_pages/about.html +0 -8
  74. data/_pages/contact.html +0 -70
  75. data/_pages/gallery.html +0 -9
  76. data/_posts/2020-07-31-Updated-Theming-Engine.md +0 -12
  77. data/blog/index.html +0 -49
  78. data/version.txt +0 -1
  79. /data/{blog → _pages/blog}/catergories/catergories.html +0 -0
  80. /data/{blog → _pages/blog}/tags/tags.html +0 -0
  81. /data/images/{powered_by_jekyll.jpg → gallery/powered_by_jekyll.jpg} +0 -0
data/_layouts/post.html CHANGED
@@ -3,41 +3,41 @@ layout: default
3
3
  ---
4
4
 
5
5
  <div class="container">
6
- <article class="post">
7
- <h1>{{ page.title }}</h1>
8
-
9
- <div class="entry">
10
- {{ content }}
11
- </div>
12
- <br /><br />
13
- <div class="date">
14
- Written by <a href="{{ author.url }}">{% if page.author %}{{ page.author }}{% else %}{{ site.author.name }}{%
15
- endif %}</a> on
16
- {{ page.date | date: '%B %d, %Y @ %H:%M' }}
17
- </div>
18
- <br />
19
- </article>
20
-
6
+ <div class="card border-success mb-3">
7
+ <article class="post">
8
+ <h1>{{ page.title }}</h1>
9
+ <div class="entry">
10
+ {{ content }}
11
+ </div>
12
+ <br /><br />
13
+ <div class="date">
14
+ Written by <a href="{{ page.site }}">{% if page.author %}{{ page.author }}{% else %}{{ site.author.name }}{%
15
+ endif %}</a> on {{ page.date | date: '%B %d, %Y @ %H:%M' }}
16
+ </div>
17
+ <br />
18
+ </article>
19
+ </div>
21
20
  <div class="paginate">
22
21
  <a class="btn btn-primary" href="{{ page.previous.url | prepend: site.baseurl }}" data-toggle="tooltip"
23
- data-placement="top" title="{{ page.previous.title }}">&larr; Previous<span class="d-none d-md-inline">
24
- Post</span></a>
22
+ data-placement="top" title="{{ page.previous.title }}">
23
+ &larr; Previous <span class="d-none d-md-inline">Post</span></a>
25
24
 
26
25
  <a class="btn btn-primary" href="{{ page.next.url | prepend: site.baseurl }}" data-toggle="tooltip"
27
- data-placement="top" title="{{ page.next.title }}">Next<span class="d-none d-md-inline">
28
- Post</span> &rarr;</a>
26
+ data-placement="top" title="{{ page.next.title }}">
27
+ Next <span class="d-none d-md-inline">Post &rarr;</span>
28
+ </a>
29
+ <hr />
30
+ <h2>Related Posts</h2>
31
+ {% for post in site.related_posts limit:3 %}
32
+ <ul>
33
+ <li>
34
+ <h2><a href="{{ site.baseurl }}{{ post.url }}"> {{ post.title }} </a></h2>
35
+ </li>
36
+ </ul>
37
+ {% endfor %}
29
38
 
30
39
  <div>
31
- <h2>Related Posts</h2>
32
- {% for post in site.related_posts limit:3 %}
33
- <hr />
34
- <ul>
35
- <li>
36
- <h2><a href="{{ site.baseurl }}{{ post.url }}"> {{ post.title }}</a></h2>
37
- </li>
38
- </ul>
39
- {% endfor %}
40
40
  </div>
41
+ {% include disqus.html %}
41
42
  </div>
42
- {% include disqus.html %}
43
43
  </div>
@@ -0,0 +1,14 @@
1
+ ---
2
+ layout: default
3
+ title: About
4
+ permalink: /about/
5
+ weight: 2
6
+ ---
7
+
8
+ <div class="fs-3">
9
+ <!-- begin about page -->
10
+
11
+ jekyll-casjaysdev theme
12
+
13
+ <!-- end about page -->
14
+ </div>
@@ -0,0 +1,57 @@
1
+ ---
2
+ layout: default
3
+ title: Blog
4
+ permalink: /blog/
5
+ description: Blog Posts
6
+ weight: 99
7
+ ---
8
+
9
+ {% if site.blog.enabled == true %} {% for post in site.posts %} {% if
10
+ post.author %} {% assign blog_author = post.author %} {% elsif site.author.name
11
+ %} {% assign blog_author = site.author.name %} {% endif %} {% if post.site %} {%
12
+ assign author_site = post.site %} {% elsif site.author.site %} {% assign
13
+ author_site = site.author.site %} {% else %} {% assign author_site = blog_author
14
+ | prepend: 'http://github.com/' %} {% endif %}
15
+ <div class="row">
16
+ <div class="col-med-3">
17
+ <div class="card border-success mb-3 vh-20">
18
+ <div class="card-header bg-transparent border-success">
19
+ <a
20
+ href="{{ post.url | prepend: site.baseurl }}"
21
+ class="post-title"
22
+ style="font-size: 30px"
23
+ >
24
+ {{ post.title | upcase }}
25
+ </a>
26
+ </div>
27
+ <div class="card-body text-danger">
28
+ <article style="font-size: 18px">
29
+ <p class="card-text">{{ post.excerpt | markdownify }}</p>
30
+ </article>
31
+ </div>
32
+ <div class="card-footer bg-transparent border-success">
33
+ <span class="post-date">
34
+ <a href="{{ post.url | prepend: site.baseurl }}">
35
+ ({% include read_time.html content=post.content %}) - Read more
36
+ <i class="fa fa-plus-circle" aria-hidden="true"> </i>
37
+ </a>
38
+ </span>
39
+ <br />
40
+ Posted by <a href="{{ author_site }}">{{ blog_author }} </a>
41
+ </div>
42
+ <br />
43
+ {{ post.date | date: '%B %d, %Y @ %H:%M' }}
44
+ <div class="card-footer bg-transparent border-danger">
45
+ {% if site.disqus %}
46
+ <a href="{{ post.url | prepend: site.baseurl }}#disqus_thread">
47
+ <i class="fa fa-comments" aria-hidden="true"></i> Comment
48
+ </a>
49
+ {% endif %}
50
+ </div>
51
+ </div>
52
+ </div>
53
+ {% endfor %}
54
+ <!-- Blog is disabled -->
55
+ {% else %}
56
+ </div>
57
+ {% endif %}
@@ -0,0 +1,173 @@
1
+ ---
2
+ layout: default
3
+ title: Contact
4
+ permalink: /contact/
5
+ description: Have questions? I have answers.
6
+ form: true
7
+ weight: 3
8
+ enabled:
9
+ ---
10
+
11
+ {% if site.form.enabled == true %}
12
+ <div class="text-center">
13
+ <h2>Want to get in touch?</h2>
14
+ <br />
15
+ <p>
16
+ Fill out the form below to send me a message<br />
17
+ and I will get back to you as soon as possible!
18
+ </p>
19
+ <br />
20
+ <fieldset>
21
+ {% if site.form.type == "formspree" %}
22
+ <form
23
+ action="{{ site.form.formspree.submit_url }}/{{ site.form.formspree.code }}"
24
+ method="POST"
25
+ >
26
+ <label for="stacked-name">Your Name:</label><br />
27
+ <input
28
+ type="text"
29
+ name="name"
30
+ id="stacked-name"
31
+ placeholder="Your Name"
32
+ required=""
33
+ />
34
+ <span class="pure-form-message">This is a required field.</span><br />
35
+
36
+ <label for="stacked-email">Your email:</label><br />
37
+ <input
38
+ type="email"
39
+ name="email"
40
+ id="stacked-email"
41
+ placeholder="Your Email"
42
+ required=""
43
+ />
44
+ <span class="pure-form-message">This is a required field.</span><br />
45
+
46
+ <label for="stacked-message">Your Message:</label><br />
47
+ <textarea
48
+ class="stacked-message"
49
+ name="message"
50
+ placeholder="What is your message?"
51
+ required=""
52
+ ></textarea>
53
+ <span class="pure-form-message">This is a required field.</span><br />
54
+ <!-- your other form fields go here -->
55
+ </form>
56
+ <!-- End Form Spree -->
57
+
58
+ {% elsif site.form.type == "formmail" %}
59
+ <form
60
+ action="{{ site.form.formmail.submit_url }}"
61
+ method="POST"
62
+ class="contact-form"
63
+ >
64
+ <input type="hidden" name="print_config" value="subject,Name,message" />
65
+ <input
66
+ type="hidden"
67
+ name="required"
68
+ value="{{ site.form.formmail.fields.required }}"
69
+ />
70
+ <input
71
+ type="hidden"
72
+ name="recipient"
73
+ value="{{ site.form.formmail.recipient }}"
74
+ />
75
+ <input
76
+ type="hidden"
77
+ name="subject"
78
+ value="{{ site.form.formmail.subject }}"
79
+ />
80
+ <input
81
+ type="hidden"
82
+ name="title"
83
+ value="{{ site.form.formmail.title }}"
84
+ />
85
+ <input
86
+ type="hidden"
87
+ name="env_report"
88
+ value="{{ site.form.formmail.env }}"
89
+ />
90
+ <input
91
+ type="hidden"
92
+ name="background"
93
+ value="{{ site.form.formmail.theme.background }}"
94
+ />
95
+ <input
96
+ type="hidden"
97
+ name="bgcolor"
98
+ value="{{ site.form.formmail.theme.bgcolor }}"
99
+ />
100
+ <input
101
+ type="hidden"
102
+ name="text_color"
103
+ value="{{ site.form.formmail.theme.text_color }}"
104
+ />
105
+ <input
106
+ type="hidden"
107
+ name="link_color"
108
+ value="{{ site.form.formmail.theme.link_color }}"
109
+ />
110
+ <input
111
+ type="hidden"
112
+ name="vlink_color"
113
+ value="{{ site.form.formmail.theme.vlink_color }}"
114
+ />
115
+ <input
116
+ type="hidden"
117
+ name="alink_color"
118
+ value="{{ site.form.formmail.theme.alink_color }}"
119
+ />
120
+ <input
121
+ type="hidden"
122
+ name="return_link_url"
123
+ value="{{ site.form.formmail.return_link.url }}"
124
+ />
125
+ <input
126
+ type="hidden"
127
+ name="return_link_title"
128
+ value="{{ site.form.formmail.return_link.title }}"
129
+ />
130
+
131
+ <label for="stacked-name">Your Name:</label><br />
132
+ <input
133
+ type="text"
134
+ name="{{ site.form.formmail.fields.name }}"
135
+ id="stacked-name"
136
+ placeholder="Your Name"
137
+ required=""
138
+ />
139
+ <span class="pure-form-message">This is a required field.</span><br />
140
+
141
+ <label for="stacked-email">Your email:</label><br />
142
+ <input
143
+ type="email"
144
+ name="{{ site.form.formmail.fields.email }}"
145
+ id="stacked-email"
146
+ placeholder="Your Email"
147
+ required=""
148
+ />
149
+ <span class="pure-form-message">This is a required field.</span><br />
150
+
151
+ <label for="stacked-message">Your Message:</label><br />
152
+ <textarea
153
+ class="stacked-message"
154
+ name="{{ site.form.formmail.fields.message }}"
155
+ placeholder="What is your message?"
156
+ required=""
157
+ ></textarea>
158
+ <span class="pure-form-message">This is a required field.</span><br />
159
+ {% endif %}
160
+
161
+ <button
162
+ type="submit"
163
+ class="btn btn-primary btn-lg"
164
+ id="sendMessageButton"
165
+ >
166
+ Send Message
167
+ </button>
168
+ </form>
169
+ </fieldset>
170
+ {% else %}
171
+ <!-- Contact form is disabled -->
172
+ </div>
173
+ {% endif %}
@@ -0,0 +1,15 @@
1
+ ---
2
+ layout: default
3
+ title: Gallery
4
+ permalink: /gallery/
5
+ weight: 4
6
+ enabled:
7
+ ---
8
+
9
+ {% if site.gallery.enabled == true %}
10
+ <div>
11
+ {% include image-gallery.htm folder="/images/gallery" %}
12
+ <!-- Gallery is disabled -->
13
+ {% else %}
14
+ </div>
15
+ {% endif %}
data/_pages/index.html CHANGED
@@ -5,6 +5,15 @@ permalink: /
5
5
  weight: 0
6
6
  ---
7
7
 
8
- Uses the jekyll-casjaysdev theme - <a href="https://github.com/casjay-themes/jekyll-casjaysdev">jekyll-casjaysdev</a>
9
- <br>
10
- Currently running the {{ site.custom_theme.name }} theme
8
+ <div class="fs-3">
9
+ <!-- begin main content -->
10
+
11
+ Uses the jekyll-casjaysdev theme -
12
+ <a href="https://github.com/casjay-templates/jekyll-site"
13
+ >jekyll-casjaysdev</a
14
+ >
15
+ <br />
16
+ Currently running the {{ site.theme }} theme
17
+
18
+ <!-- begin main content -->
19
+ </div>
@@ -0,0 +1,35 @@
1
+ ---
2
+ permalink: /rss
3
+ ---
4
+ <?xml version="1.0" encoding="UTF-8"?>
5
+ <rss version="2.0"
6
+ xmlns:atom="http://www.w3.org/2005/Atom"
7
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
8
+ xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">
9
+ <channel>
10
+ <title>{{ site.name | xml_escape }}</title>
11
+ <description>{% if site.description %}{{ site.description | xml_escape }}{% endif %}</description>
12
+ <sy:updatePeriod>{{ site.feed_update_period | default: "daily" | xml_escape }}</sy:updatePeriod>
13
+ <sy:updateFrequency>{{ site.feed_update_frequency | default: 1 | xml_escape }}</sy:updateFrequency>
14
+ <link>{{ site.url }}</link>
15
+ <atom:link href="{{ site.url }}/{{ page.path }}" rel="self" type="application/rss+xml" />
16
+ <lastBuildDate>{% for post in site.posts limit:1 %}{{ post.date | date_to_rfc822 }}{% endfor %}</lastBuildDate>
17
+ {% assign feed_items = site.feed_items | default: 10 %}
18
+ {% for post in site.posts limit:feed_items %}
19
+ <item>
20
+ <title>{{ post.title | xml_escape }}</title>
21
+ {% if post.author.name %}
22
+ <dc:creator>{{ post.author.name | xml_escape }}</dc:creator>
23
+ {% endif %}
24
+ {% if post.excerpt %}
25
+ <description>{{ post.excerpt | xml_escape }}</description>
26
+ {% else %}
27
+ <description>{{ post.content | xml_escape }}</description>
28
+ {% endif %}
29
+ <pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
30
+ <link>{{ site.url }}{{ post.url }}</link>
31
+ <guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
32
+ </item>
33
+ {% endfor %}
34
+ </channel>
35
+ </rss>
@@ -5,6 +5,8 @@ categories: [blog, ]
5
5
  tags: [dev, ]
6
6
  date: 2020-07-31 20:00
7
7
  comments: true
8
+ author: casjay
9
+ site: http://github.com/casjay
8
10
  ---
9
11
 
10
12
  Congratulations! ✔
data/assets/css/base.css CHANGED
@@ -0,0 +1,123 @@
1
+ @import url('https://fonts.googleapis.com/css?family=Fira+Sans&display=swap');
2
+
3
+ td,
4
+ th,
5
+ body {
6
+ font-family: 'Fira Sans', Verdana, Helvetica, sans-serif;
7
+ font-size: 14px;
8
+ font-weight: normal;
9
+ font-variant: normal;
10
+ text-transform: none;
11
+ text-decoration: none;
12
+ text-align: center;
13
+ align-items: center;
14
+ background-color: #333;
15
+ color: #fff;
16
+ background-image: url('../images/bg.png');
17
+ }
18
+
19
+ th {
20
+ background-color: #333;
21
+ color: #ffffff;
22
+ border-top: 1px solid #678ca0;
23
+ vertical-align: middle;
24
+ height: 50px;
25
+ }
26
+
27
+ td {
28
+ background-color: 333;
29
+ border-top: 1px solid #678ca0;
30
+ }
31
+
32
+ .box {
33
+ border: 1px solid #678ca0;
34
+ padding: 0px;
35
+ width: 100%;
36
+ background-color: #333;
37
+ margin-bottom: 10px;
38
+ width: 600px;
39
+ }
40
+
41
+ h5,
42
+ h3 {
43
+ padding: 3px;
44
+ margin-top: 0px;
45
+ margin-bottom: 0px;
46
+ background-color: #333;
47
+ color: white;
48
+ font-family: Verdana, Helvetica, sans-serif;
49
+ }
50
+
51
+ p {
52
+ text-align: center;
53
+ }
54
+
55
+ div {
56
+ text-align: center;
57
+ }
58
+
59
+ h3 {
60
+ font-size: 13px;
61
+ }
62
+
63
+ h5 {
64
+ font-size: 10px;
65
+ text-align: right;
66
+ background-color: #333;
67
+ color: #678ca0;
68
+ }
69
+
70
+ .spacer {
71
+ margin: 0px;
72
+ width: 100%;
73
+ background-color: #333;
74
+ }
75
+
76
+ .leftspacer {
77
+ margin: 0px;
78
+ padding: 5px;
79
+ width: 100%;
80
+ text-align: left;
81
+ background-color: #333;
82
+ }
83
+
84
+ .serviceup {
85
+ color: green;
86
+ }
87
+
88
+ .servicedown {
89
+ color: red;
90
+ }
91
+
92
+ p.main {
93
+ margin-top: 5px;
94
+ margin-bottom: 5px;
95
+ text-align: center;
96
+ font-size: 10px;
97
+ }
98
+
99
+ a {
100
+ text-decoration: none;
101
+ color: #5d83a9;
102
+ }
103
+
104
+ a:visited {
105
+ color: rgb(238, 130, 202);
106
+ }
107
+
108
+ a:hover {
109
+ font-style: italic;
110
+ color: #a296db !important;
111
+ }
112
+
113
+ a:active {
114
+ color: #c0f;
115
+ }
116
+
117
+ tr:hover {
118
+ background-color: #f5f5f5;
119
+ }
120
+
121
+ table {
122
+ width: 100%;
123
+ }