casjaysdev-jekyll-theme 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +3 -0
- data/Gemfile.lock +207 -42
- data/LICENSE.md +13 -675
- data/README.md +6 -5
- data/_config.yml +33 -12
- data/_includes/casjays-footer.html +8 -0
- data/_includes/casjaysdev/clock.html +5 -0
- data/_includes/casjaysdev/theme.html +0 -2
- data/_includes/image-gallery.html +2 -2
- data/_includes/nav/top.html +2 -2
- data/_includes/themes/hacker/meta.html +2 -2
- data/_layouts/default.html +1 -1
- data/_layouts/errors.html +1 -1
- data/_layouts/post.html +2 -2
- data/_pages/contact.html +19 -3
- data/assets/css/hacker.css +16 -11
- data/assets/js/fetch-url.js +1 -1
- data/blog/index.html +8 -8
- data/casjaysdev-jekyll-theme.gemspec +2 -2
- data/error/404.html +1 -1
- data/error/500.html +1 -1
- data/templates/year-month-day-name.image.md +1 -1
- data/version.txt +1 -1
- metadata +4 -9
data/README.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
### My Jekyll Theme
|
|
1
|
+
### My Jekyll Theme
|
|
2
|
+
|
|
3
|
+
[](https://travis-ci.org/casjay-templates/jekyll-site) [](https://rubygems.org/gems/casjaysdev-jekyll-theme) [](https://rubygems.org/gems/casjaysdev-jekyll-theme)
|
|
4
|
+
|
|
2
5
|
|
|
3
|
-
|
|
6
|
+
jekyll-casjaysdev theme for my sites
|
|
4
7
|
|
|
5
|
-
jekyll-casjaysdev theme
|
|
6
|
-
|
|
7
|
-
Uses the jekyll-casjaysdev theme - [jekyll-casjaysdev](https://github.com/casjay-themes/jekyll-casjaysdev)
|
|
8
|
+
Uses the jekyll-casjaysdev theme - [jekyll-casjaysdev](https://github.com/casjay-themes/jekyll-casjaysdev)
|
data/_config.yml
CHANGED
|
@@ -12,6 +12,9 @@ tagline: "Serve it!"
|
|
|
12
12
|
# URL of your avatar or profile pic (you could use your GitHub profile pic)
|
|
13
13
|
avatar: "https://avatars2.githubusercontent.com/u/43266386?s=200&v=4"
|
|
14
14
|
|
|
15
|
+
# full domain name IE: httmp://mysite.com
|
|
16
|
+
url:
|
|
17
|
+
|
|
15
18
|
# full URI IE: /mysite { Do not add trailing / }
|
|
16
19
|
baseurl: ""
|
|
17
20
|
|
|
@@ -22,23 +25,42 @@ author:
|
|
|
22
25
|
|
|
23
26
|
# set url for the contact form
|
|
24
27
|
form:
|
|
25
|
-
submit_url: https://
|
|
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"
|
|
26
48
|
|
|
27
49
|
# only set one of columns_ to enabled
|
|
28
50
|
# set a custom theme - includes/themes
|
|
29
51
|
# hacker
|
|
30
52
|
custom_theme:
|
|
31
53
|
name: hacker
|
|
32
|
-
columns: "
|
|
33
|
-
footer: casjays-footer.html
|
|
34
|
-
header: casjays-header.html
|
|
54
|
+
columns: "3"
|
|
55
|
+
footer: "casjays-footer.html"
|
|
56
|
+
header: "casjays-header.html"
|
|
35
57
|
nav:
|
|
36
58
|
bar: true
|
|
37
59
|
external: true
|
|
38
60
|
internal: true
|
|
39
|
-
top: nav/top.html
|
|
40
|
-
right: nav/sidebars/right.html
|
|
41
|
-
left: nav/sidebars/left.html
|
|
61
|
+
top: "nav/top.html"
|
|
62
|
+
right: "nav/sidebars/right.html"
|
|
63
|
+
left: "nav/sidebars/left.html"
|
|
42
64
|
|
|
43
65
|
# set default timezone
|
|
44
66
|
timezone: America/New_York
|
|
@@ -52,8 +74,8 @@ excerpt_separator: "\n\n"
|
|
|
52
74
|
# Set social media urls
|
|
53
75
|
share-this:
|
|
54
76
|
rss: true
|
|
55
|
-
code: 5acc08103368f4001495b647
|
|
56
|
-
repo: https://github.com/
|
|
77
|
+
code: "5acc08103368f4001495b647"
|
|
78
|
+
repo: "https://github.com/casjay-templates/jekyll-site"
|
|
57
79
|
email:
|
|
58
80
|
enabled:
|
|
59
81
|
footer: true
|
|
@@ -101,7 +123,8 @@ options:
|
|
|
101
123
|
rocketchat: true
|
|
102
124
|
piwik: true
|
|
103
125
|
discord: true
|
|
104
|
-
|
|
126
|
+
clock: true
|
|
127
|
+
|
|
105
128
|
# // TODO: Blog settings advanced feature
|
|
106
129
|
blog:
|
|
107
130
|
enabled:
|
|
@@ -240,8 +263,6 @@ exclude:
|
|
|
240
263
|
- .keep
|
|
241
264
|
- .gitkeep
|
|
242
265
|
|
|
243
|
-
# full domain name IE: httmp://mysite.com
|
|
244
|
-
url:
|
|
245
266
|
#webrick:
|
|
246
267
|
# headers:
|
|
247
268
|
# Access-Control-Allow-Origin: "*"
|
|
@@ -19,11 +19,19 @@
|
|
|
19
19
|
{% include casjaysdev/theme.html %}
|
|
20
20
|
{% endif %}
|
|
21
21
|
<!-- End theme Code -->
|
|
22
|
+
|
|
23
|
+
<!-- clock -->
|
|
24
|
+
{% if site.options.clock == true %}
|
|
25
|
+
{% include casjaysdev/clock.html %}
|
|
26
|
+
{% endif %}
|
|
27
|
+
<!-- End clock-->
|
|
28
|
+
|
|
22
29
|
<!-- Begin last updated -->
|
|
23
30
|
<span style="color: skyblue;">
|
|
24
31
|
Last update on: {{ site.time | date: '%B %d, %Y at %H:%M' }}
|
|
25
32
|
</span>
|
|
26
33
|
<!-- End last updated -->
|
|
34
|
+
|
|
27
35
|
<!--Begin Statcounter Code -->
|
|
28
36
|
{% if site.options.statcounter == true %}
|
|
29
37
|
{% include casjaysdev/statcounter.html %}
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
|
|
29
29
|
</style>
|
|
30
30
|
|
|
31
|
-
<div class="row justify-content-md-center">
|
|
31
|
+
<div class="row justify-content-md-center h-100 mb-3">
|
|
32
32
|
{% for file in site.static_files %}
|
|
33
33
|
{% if file.path contains include.folder %}
|
|
34
34
|
{% if file.extname == '.jpg' or file.extname == '.jpeg' or file.extname == '.JPG' or file.extname == '.JPEG' %}
|
|
35
35
|
{% assign filenameparts = file.path | split: "/" %}
|
|
36
36
|
{% assign filename = filenameparts | last | replace: file.extname,"" %}
|
|
37
37
|
|
|
38
|
-
<div class="col-md-4">
|
|
38
|
+
<div class="col-md-4 h-100">
|
|
39
39
|
<div class="thumbnail">
|
|
40
40
|
<a href="{{ file.path | prepend: site.baseurl }}" title="{{ filename }}">
|
|
41
41
|
<img src="{{ file.path | prepend: site.baseurl }}" alt="{{ filename }}" title="{{ filename }}" alt="Lights"
|
data/_includes/nav/top.html
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
</a>
|
|
10
10
|
|
|
11
11
|
{% else %}
|
|
12
|
-
<a type="button" href="{{ p.url | prepend: site.baseurl }}"
|
|
13
|
-
|
|
12
|
+
<a type="button" href="{{ p.url | prepend: site.baseurl }}" class="sidebar-nav-item btn btn-primary active">{{ p.title
|
|
13
|
+
}}
|
|
14
14
|
|
|
15
15
|
</a>
|
|
16
16
|
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
<link rel="stylesheet" href="https://unpkg.com/purecss@2.0.3/build/forms-min.css" />
|
|
33
33
|
<link rel="stylesheet" href="https://static.casjay.net/default-css/github-ribbon.css" />
|
|
34
34
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css">
|
|
35
|
-
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootswatch/4.5.0/darkly/bootstrap.min.css"
|
|
35
|
+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootswatch/4.5.0/darkly/bootstrap.min.css" />
|
|
36
36
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css" />
|
|
37
37
|
|
|
38
|
-
<link rel="stylesheet" href="https://casjaysdev-sites.github.io/static.casjay.net/assets/css/hacker.css"
|
|
38
|
+
<link rel="stylesheet" href="https://casjaysdev-sites.github.io/static.casjay.net/assets/css/hacker.css" />
|
|
39
39
|
|
|
40
40
|
<script src="https://cdn.jsdelivr.net/npm/@widgetbot/crate@3" async defer></script>
|
|
41
41
|
<script src="htps://static.casjay.net/default-js/errorpages/isup.js"></script>
|
data/_layouts/default.html
CHANGED
data/_layouts/errors.html
CHANGED
data/_layouts/post.html
CHANGED
|
@@ -11,8 +11,8 @@ layout: default
|
|
|
11
11
|
</div>
|
|
12
12
|
<br /><br />
|
|
13
13
|
<div class="date">
|
|
14
|
-
Written by <a
|
|
15
|
-
|
|
14
|
+
Written by <a href="{{ author.url }}">{% if page.author %}{{ page.author }}{% else %}{{ site.author.name }}{%
|
|
15
|
+
endif %}</a> on
|
|
16
16
|
{{ page.date | date: '%B %d, %Y @ %H:%M' }}
|
|
17
17
|
</div>
|
|
18
18
|
<br />
|
data/_pages/contact.html
CHANGED
|
@@ -14,16 +14,32 @@ weight: 3
|
|
|
14
14
|
|
|
15
15
|
<form action="{{ site.form.submit_url }}" method="POST" class="contact-form">
|
|
16
16
|
<fieldset>
|
|
17
|
+
<input type=hidden name="print_config" value="subject,Name,message">
|
|
18
|
+
<input type=hidden name="required" value="{{ site.form.fields.required }}">
|
|
19
|
+
<input type=hidden name="recipient" value="{{ site.form.recipient }}">
|
|
20
|
+
<input type=hidden name="subject" value="{{ site.form.subject }}">
|
|
21
|
+
<input type=hidden name="title" value="{{ site.form.title }}">
|
|
22
|
+
<input type=hidden name="env_report" value="{{ site.form.env }}">
|
|
23
|
+
<input type=hidden name="background" value="{{ site.form.theme.background }}">
|
|
24
|
+
<input type=hidden name="bgcolor" value="{{ site.form.theme.bgcolor }}">
|
|
25
|
+
<input type=hidden name="text_color" value="{{ site.form.theme.text_color }}">
|
|
26
|
+
<input type=hidden name="link_color" value="{{ site.form.theme.link_color }}">
|
|
27
|
+
<input type=hidden name="vlink_color" value="{{ site.form.theme.vlink_color }}">
|
|
28
|
+
<input type=hidden name="alink_color" value="{{ site.form.theme.alink_color }}">
|
|
29
|
+
<input type=hidden name="return_link_url" value="{{ site.form.return_link.url }}">
|
|
30
|
+
<input type=hidden name="return_link_title" value="{{ site.form.return_link.title }}">
|
|
31
|
+
|
|
17
32
|
<label for="stacked-name">Your Name:</label><br />
|
|
18
|
-
<input type="text" name="name" id="stacked-name" placeholder="Your Name" required="" />
|
|
33
|
+
<input type="text" name="{{ site.form.fields.name }}" id="stacked-name" placeholder="Your Name" required="" />
|
|
19
34
|
<span class="pure-form-message">This is a required field.</span><br />
|
|
20
35
|
|
|
21
36
|
<label for="stacked-email">Your email:</label><br />
|
|
22
|
-
<input type="email" name="
|
|
37
|
+
<input type="email" name="{{ site.form.fields.email }}" id="stacked-email" placeholder="Your Email" required="" />
|
|
23
38
|
<span class="pure-form-message">This is a required field.</span><br />
|
|
24
39
|
|
|
25
40
|
<label for="stacked-message">Your Message:</label><br />
|
|
26
|
-
<textarea class="stacked-message" name="message" placeholder="What is your message?"
|
|
41
|
+
<textarea class="stacked-message" name="{{ site.form.fields.message }}" placeholder="What is your message?"
|
|
42
|
+
required=""></textarea>
|
|
27
43
|
<span class="pure-form-message">This is a required field.</span><br />
|
|
28
44
|
|
|
29
45
|
<button type="submit" class="btn btn-primary btn-lg" id="sendMessageButton">Send Message</button>
|
data/assets/css/hacker.css
CHANGED
|
@@ -424,11 +424,13 @@ hr {
|
|
|
424
424
|
|
|
425
425
|
.btn {
|
|
426
426
|
display: inline-block;
|
|
427
|
-
background: -webkit-linear-gradient(
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
427
|
+
background: -webkit-linear-gradient(
|
|
428
|
+
top,
|
|
429
|
+
rgba(40, 40, 40, 0.3),
|
|
430
|
+
rgba(35, 35, 35, 0.3) 50%,
|
|
431
|
+
rgba(10, 10, 10, 0.3) 50%,
|
|
432
|
+
rgba(0, 0, 0, 0.3)
|
|
433
|
+
);
|
|
432
434
|
padding: 8px 18px;
|
|
433
435
|
border-radius: 50px;
|
|
434
436
|
border: 2px solid rgba(0, 0, 0, 0.7);
|
|
@@ -444,11 +446,13 @@ hr {
|
|
|
444
446
|
}
|
|
445
447
|
|
|
446
448
|
.btn:hover {
|
|
447
|
-
background: -webkit-linear-gradient(
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
449
|
+
background: -webkit-linear-gradient(
|
|
450
|
+
top,
|
|
451
|
+
rgba(40, 40, 40, 0.6),
|
|
452
|
+
rgba(35, 35, 35, 0.6) 50%,
|
|
453
|
+
rgba(10, 10, 10, 0.8) 50%,
|
|
454
|
+
rgba(0, 0, 0, 0.8)
|
|
455
|
+
);
|
|
452
456
|
}
|
|
453
457
|
|
|
454
458
|
.btn .icon {
|
|
@@ -461,7 +465,8 @@ hr {
|
|
|
461
465
|
|
|
462
466
|
.btn-github .icon {
|
|
463
467
|
opacity: 0.6;
|
|
464
|
-
background: url("https://static.casjay.net/assets/images/blacktocat.png") 0 0
|
|
468
|
+
background: url("https://static.casjay.net/assets/images/blacktocat.png") 0 0
|
|
469
|
+
no-repeat;
|
|
465
470
|
}
|
|
466
471
|
|
|
467
472
|
a {
|
data/assets/js/fetch-url.js
CHANGED
data/blog/index.html
CHANGED
|
@@ -11,8 +11,8 @@ weight: 1
|
|
|
11
11
|
<br />
|
|
12
12
|
<div class="post">
|
|
13
13
|
<div class="post-title">
|
|
14
|
-
<a href="{{ post.url | prepend: site.baseurl }}" class="post-title"
|
|
15
|
-
|
|
14
|
+
<a href="{{ post.url | prepend: site.baseurl }}" class="post-title" style="font-size: 30px;">{{ post.title |
|
|
15
|
+
upcase }}</a><br>
|
|
16
16
|
</div>
|
|
17
17
|
<p>
|
|
18
18
|
<br />
|
|
@@ -28,11 +28,11 @@ weight: 1
|
|
|
28
28
|
<br />
|
|
29
29
|
<br />
|
|
30
30
|
<span class="post-date">
|
|
31
|
-
Posted by <a
|
|
32
|
-
|
|
31
|
+
Posted by <a href="{{ post.url | prepend: site.baseurl }}">{% if page.author %}{{ page.author }}{% else %}{{
|
|
32
|
+
site.author.name }}{% endif %}</a>
|
|
33
33
|
<br>on {{ post.date | date: '%B %d, %Y @ %H:%M' }}
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
<br />
|
|
35
|
+
<br />
|
|
36
36
|
<div class="post-more"><br>
|
|
37
37
|
{% if site.disqus %}
|
|
38
38
|
<a href="{{ post.url | prepend: site.baseurl }}#disqus_thread"> <i class="fa fa-comments"
|
|
@@ -42,8 +42,8 @@ weight: 1
|
|
|
42
42
|
more</a>
|
|
43
43
|
</div>
|
|
44
44
|
</div>
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
<br />
|
|
46
|
+
<br />
|
|
47
47
|
<hr />
|
|
48
48
|
{% endfor %}
|
|
49
49
|
</div>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |spec|
|
|
5
5
|
spec.name = "casjaysdev-jekyll-theme"
|
|
6
|
-
spec.version = "0.1.
|
|
6
|
+
spec.version = "0.1.6"
|
|
7
7
|
spec.authors = ["CasjaysDev"]
|
|
8
8
|
spec.email = ["gem-admin@casjaysdev.com"]
|
|
9
9
|
|
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
|
|
|
14
14
|
|
|
15
15
|
spec.files = `git ls-files -z`.split("\x0")
|
|
16
16
|
|
|
17
|
-
spec.add_runtime_dependency 'jekyll', '~> 3.8'
|
|
17
|
+
spec.add_runtime_dependency 'jekyll', '~> 3.8'
|
|
18
18
|
spec.add_runtime_dependency 'jemoji'
|
|
19
19
|
spec.add_runtime_dependency 'kramdown'
|
|
20
20
|
spec.add_runtime_dependency 'jekyll-avatar'
|
data/error/404.html
CHANGED
data/error/500.html
CHANGED
data/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
202107312357-git
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: casjaysdev-jekyll-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- CasjaysDev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-11-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -17,9 +17,6 @@ dependencies:
|
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '3.8'
|
|
20
|
-
- - ">="
|
|
21
|
-
- !ruby/object:Gem::Version
|
|
22
|
-
version: 3.8.6
|
|
23
20
|
type: :runtime
|
|
24
21
|
prerelease: false
|
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -27,9 +24,6 @@ dependencies:
|
|
|
27
24
|
- - "~>"
|
|
28
25
|
- !ruby/object:Gem::Version
|
|
29
26
|
version: '3.8'
|
|
30
|
-
- - ">="
|
|
31
|
-
- !ruby/object:Gem::Version
|
|
32
|
-
version: 3.8.6
|
|
33
27
|
- !ruby/object:Gem::Dependency
|
|
34
28
|
name: jemoji
|
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -360,6 +354,7 @@ files:
|
|
|
360
354
|
- _includes/casjays-footer.html
|
|
361
355
|
- _includes/casjays-header.html
|
|
362
356
|
- _includes/casjaysdev/ads.html
|
|
357
|
+
- _includes/casjaysdev/clock.html
|
|
363
358
|
- _includes/casjaysdev/eucookie.html
|
|
364
359
|
- _includes/casjaysdev/google.html
|
|
365
360
|
- _includes/casjaysdev/legal.html
|
|
@@ -446,7 +441,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
446
441
|
- !ruby/object:Gem::Version
|
|
447
442
|
version: '0'
|
|
448
443
|
requirements: []
|
|
449
|
-
rubygems_version: 3.1.
|
|
444
|
+
rubygems_version: 3.1.6
|
|
450
445
|
signing_key:
|
|
451
446
|
specification_version: 4
|
|
452
447
|
summary: CasjaysDev jekyll theme
|