casjaysdev-jekyll-theme 0.1.6 → 0.1.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc9727fd937f3855a2dd44976a913c16d5f51e732475eb745bccb656e610851f
4
- data.tar.gz: 4cdf551fbe50eb1d6eec98e961c01532457f060e9e7d222ce6db205b059e57bd
3
+ metadata.gz: 6193ea0af273843c396be3ea5e7f969ea05da559852090d368b892c6bb782400
4
+ data.tar.gz: 0af3a956ae3eea2bc24d56f8ef3962e70ad60dbdb059d21653d75608d104a866
5
5
  SHA512:
6
- metadata.gz: f8a4a243ab065aa64370f1e7bfe418ecc91d1869646aa51ea14b2646abb18ab9ea5ba3d96190a6e104e0bc28a5a02bef66cf922f085882ad5f6bd1d806ba605f
7
- data.tar.gz: d4b0c3164b033a82e3a6f2f0a7e596306a7984df77971fb23ca8af0df13319b8403fd26164e715a8f508936146e1563bfd47e5efd8a54675fbbe1a1cdce0abbf
6
+ metadata.gz: fa28bbde61a8857eb955a4657f8bb93b327f7d743de7d119532beb727ec525a2f1982edf9502fc3bfb0550f8c60731c56cdd10b584513bf70711dbe49852de12
7
+ data.tar.gz: f5fbece7f11f758a290222b8cfcb63471f6a84451347d850a8de13ef03570c838b13db399828408b1b1c86a47f2bef05540d6d6a579235630daf69aafe87c15c
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.6)
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
@@ -25,27 +25,32 @@ author:
25
25
 
26
26
  # set url for the contact form
27
27
  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
-
28
+ type: "formspree"
29
+ formspree:
30
+ submit_url: "https://formspree.io/f"
31
+ code: "xknqkpjo"
32
+ 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"
37
+ env: "REMOTE_HOST,HTTP_USER_AGENT"
38
+ return_link:
39
+ url: "javascript: history.go(-1)"
40
+ title: "Back to Main Page"
41
+ fields:
42
+ name: "Name"
43
+ email: "Email"
44
+ message: "Message"
45
+ required: "Name,Email,Message"
46
+ theme:
47
+ background: "https://static.casjay.net/assets/images/bkg.png"
48
+ bgcolor: "#000000"
49
+ text_color: "#ffffff"
50
+ link_color: "#ffffff"
51
+ vlink_color: "#ffffff"
52
+ alink_color: "#ffffff"
53
+
49
54
  # only set one of columns_ to enabled
50
55
  # set a custom theme - includes/themes
51
56
  # hacker
data/_pages/contact.html CHANGED
@@ -8,41 +8,63 @@ weight: 3
8
8
  ---
9
9
 
10
10
  <div class="text-center">
11
- <p>Want to get in touch? Fill out the form below to send me a message and I will get back to you as soon
12
- as possible!
11
+ <p>
12
+ Want to get in touch? Fill out the form below to send me a message
13
+ and I will get back to you as soon as possible!
13
14
  </p>
14
15
 
15
- <form action="{{ site.form.submit_url }}" method="POST" class="contact-form">
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
-
16
+ <fieldset>
17
+ {% if site.form.type == "formspree" %}
18
+ <form action="{{ site.form.formspree.submit_url }}/{{ site.form.formspree.code }}" method="POST">
32
19
  <label for="stacked-name">Your Name:</label><br />
33
- <input type="text" name="{{ site.form.fields.name }}" id="stacked-name" placeholder="Your Name" required="" />
20
+ <input type="text" name="name" id="stacked-name" placeholder="Your Name" required="" />
34
21
  <span class="pure-form-message">This is a required field.</span><br />
35
22
 
36
23
  <label for="stacked-email">Your email:</label><br />
37
- <input type="email" name="{{ site.form.fields.email }}" id="stacked-email" placeholder="Your Email" required="" />
24
+ <input type="email" name="email" id="stacked-email" placeholder="Your Email" required="" />
38
25
  <span class="pure-form-message">This is a required field.</span><br />
39
26
 
40
27
  <label for="stacked-message">Your Message:</label><br />
41
- <textarea class="stacked-message" name="{{ site.form.fields.message }}" placeholder="What is your message?"
42
- required=""></textarea>
28
+ <textarea class="stacked-message" name="message" placeholder="What is your message?" required=""></textarea>
43
29
  <span class="pure-form-message">This is a required field.</span><br />
30
+ <!-- your other form fields go here -->
31
+
32
+ <!-- End Form Spree -->
33
+
34
+ {% elsif site.form.type == "formmail" %}
35
+ <form action="{{ site.form.formmail.submit_url }}" method="POST" class="contact-form">
36
+ <input type=hidden name="print_config" value="subject,Name,message">
37
+ <input type=hidden name="required" value="{{ site.form.formmail.fields.required }}">
38
+ <input type=hidden name="recipient" value="{{ site.form.formmail.recipient }}">
39
+ <input type=hidden name="subject" value="{{ site.form.formmail.subject }}">
40
+ <input type=hidden name="title" value="{{ site.form.formmail.title }}">
41
+ <input type=hidden name="env_report" value="{{ site.form.formmail.env }}">
42
+ <input type=hidden name="background" value="{{ site.form.formmail.theme.background }}">
43
+ <input type=hidden name="bgcolor" value="{{ site.form.formmail.theme.bgcolor }}">
44
+ <input type=hidden name="text_color" value="{{ site.form.formmail.theme.text_color }}">
45
+ <input type=hidden name="link_color" value="{{ site.form.formmail.theme.link_color }}">
46
+ <input type=hidden name="vlink_color" value="{{ site.form.formmail.theme.vlink_color }}">
47
+ <input type=hidden name="alink_color" value="{{ site.form.formmail.theme.alink_color }}">
48
+ <input type=hidden name="return_link_url" value="{{ site.form.formmail.return_link.url }}">
49
+ <input type=hidden name="return_link_title" value="{{ site.form.formmail.return_link.title }}">
50
+
51
+ <label for="stacked-name">Your Name:</label><br />
52
+ <input type="text" name="{{ site.form.formmail.fields.name }}" id="stacked-name" placeholder="Your Name"
53
+ required="" />
54
+ <span class="pure-form-message">This is a required field.</span><br />
55
+
56
+ <label for="stacked-email">Your email:</label><br />
57
+ <input type="email" name="{{ site.form.formmail.fields.email }}" id="stacked-email" placeholder="Your Email"
58
+ required="" />
59
+ <span class="pure-form-message">This is a required field.</span><br />
60
+
61
+ <label for="stacked-message">Your Message:</label><br />
62
+ <textarea class="stacked-message" name="{{ site.form.formmail.fields.message }}"
63
+ placeholder="What is your message?" required=""></textarea>
64
+ <span class="pure-form-message">This is a required field.</span><br />
65
+ {% endif %}
44
66
 
45
- <button type="submit" class="btn btn-primary btn-lg" id="sendMessageButton">Send Message</button>
46
- </fieldset>
67
+ <button type="submit" class="btn btn-primary btn-lg" id="sendMessageButton">Send Message</button>
68
+ </fieldset>
47
69
  </form>
48
70
  </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"
6
+ spec.version = "0.1.7"
7
7
  spec.authors = ["CasjaysDev"]
8
8
  spec.email = ["gem-admin@casjaysdev.com"]
9
9
 
data/version.txt CHANGED
@@ -1 +1 @@
1
- 202107312357-git
1
+ 202111131305-git
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: casjaysdev-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - CasjaysDev