jekyll-theme-consulting 0.10.6 → 0.10.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37ee0b2db3e3d8f52b751a575ca96ae422803c6331449ccc6db21bf8e5992f7c
4
- data.tar.gz: 944e65b0385226d3183eff1bd604d92f6d93153d9e8fdeff4dbf7e9288179fda
3
+ metadata.gz: 25d552050b2d05762db8ecf58d509d65da879cf89b85570ae5644cd05d6c538f
4
+ data.tar.gz: b36f8c7b30c1bdd552d4f3832380cf03248ae00b08749dc3da2819edbe2a2c57
5
5
  SHA512:
6
- metadata.gz: eeb1cf9d5d85fa5b241ecbe94538ac6c60d705548096ca758b3f8c18f336624946c0751dc6e022585801380bfc987f493ef98c82ab482ddd3a88629cdee37ff4
7
- data.tar.gz: 74de75686d4508d26a40ef3df06abe78634ebd494aa6bb1709aaba1b7730e26874e570799fd1163c0d2f9fb838ed383b07cafdf37fe700c703b0329a455085c7
6
+ metadata.gz: a8a8b8dfb1af347c02956982e9f191724344cba838369ab9626896a4aca2c8162e82bdd137e72e0605a7b22ef339783765d51f89d96d486f24fe77b65d50cde9
7
+ data.tar.gz: 30bd53bd2a3a2daed2bd7a1b58599ca91404bfefa1a751d2277bbe7e2a8c34f3b032b72c54de5aae430061704b8afe419b8aa54260036ae47a8a9008fc7c19ab
@@ -55,9 +55,9 @@
55
55
 
56
56
  const sendContactMessage = function() {
57
57
  const formData = new FormData();
58
- formData.append('name', encodeURIComponent(nameInputElement.value));
59
- formData.append('email', encodeURIComponent(emailInputElement.value));
60
- formData.append('message', encodeURIComponent(messageInputElement.value));
58
+ formData.append('name', encodeURI(nameInputElement.value));
59
+ formData.append('email', encodeURI(emailInputElement.value));
60
+ formData.append('message', encodeURI(messageInputElement.value));
61
61
  formData.append('token', grecaptcha.getResponse(recaptchaWidget));
62
62
 
63
63
  fetch("{{ '/contact.php' | absolute_url }}", {
@@ -11,15 +11,15 @@ $contact_name = $contact_email = $contact_message = $token = $contact_ip = "";
11
11
 
12
12
  if ($_SERVER["REQUEST_METHOD"] == "POST") {
13
13
  if (has_required_data($_POST)) {
14
- $contact_name = filter_var(
14
+ $contact_name = urldecode(filter_var(
15
15
  $_POST["name"],
16
- FILTER_SANITIZE_FULL_SPECIAL_CHARS);
17
- $contact_email = filter_var(
16
+ FILTER_SANITIZE_FULL_SPECIAL_CHARS));
17
+ $contact_email = urldecode(filter_var(
18
18
  $_POST["email"],
19
- FILTER_SANITIZE_EMAIL);
20
- $contact_message = filter_var(
19
+ FILTER_SANITIZE_EMAIL));
20
+ $contact_message = urldecode(filter_var(
21
21
  $_POST["message"],
22
- FILTER_SANITIZE_FULL_SPECIAL_CHARS);
22
+ FILTER_SANITIZE_FULL_SPECIAL_CHARS));
23
23
  $token = filter_var(
24
24
  $_POST["token"],
25
25
  FILTER_SANITIZE_URL);
@@ -74,10 +74,10 @@ function send_mail ($name, $email, $message, $ip) {
74
74
  "{{ page.mail.subject | default: 'Contact request' }}",
75
75
  (
76
76
  "{{ page.mail.intro | default: mail-intro }}<br>\r\n"
77
- ."Ip: ".$ip."<br>\r\n"
78
- ."Name: ".$name."<br>\r\n"
79
- ."Email: ".$email."<br>\r\n"
80
- ."Message: ".$message."<br>\r\n"),
77
+ ."Ip: ".$ip."<br><br>\r\n"
78
+ ."Name: ".$name."<br><br>\r\n"
79
+ ."Email: ".$email."<br><br>\r\n"
80
+ ."Message: ".$message."<br><br>\r\n"),
81
81
  (
82
82
  "From: ".$name
83
83
  ." <".$email.">\r\n"
@@ -2,7 +2,6 @@
2
2
  ---
3
3
  {%- assign lang = page.lang | default: site.lang | default: 'en' -%}
4
4
  {%- assign menu = site.data.menus[page.menu][lang] -%}
5
- {%- assign header = page.header | default: site.header -%}
6
5
  {%- assign title = page.title | default: site.title -%}
7
6
  {%- assign description = page.description | default: site.description -%}
8
7
  {%- assign stylesheets = page.stylesheets | default: site.stylesheets -%}
@@ -14,47 +13,13 @@
14
13
  Free for personal and commercial use under the CCA 4.0 license
15
14
  -->
16
15
  <html lang="{{ lang }}">
17
-
18
- {% include head.html title=title subtitle=subtitle %}
19
-
16
+ {% include head.html title=title description=description stylesheets=stylesheets %}
20
17
  <body>
21
-
22
- <style type="text/css">
23
- .upper-half svg {
24
- fill: rgba(10,100,130,0.4);
25
- }
26
- .lower-half svg {
27
- fill: rgba(130,0,130,0.4);
28
- }
29
- </style>
30
-
31
- <!-- Wrapper -->
32
- <div id="wrapper">
33
-
34
- <div class="upper-half" style="position: fixed; z-index: 2; top:0; left: 0; width: 100vw; height: 100vh; display: flex; flex-direction: column;">
35
- {% include waves/top.html ys=80 ye=20 x1=40 y1=80 x2=60 y2=20 cx=50 cy=50 r=4 %}
36
- </div>
37
-
38
- <div class="upper-half" style="position: fixed; z-index: 4; top:0; left: 0; width: 100vw; height: 100vh; display: flex; flex-direction: column;">
39
- {% include waves/top.html ys=70 ye=30 x1=20 y1=90 x2=40 y2=20 cx=10 cy=76 r=2%}
40
- </div>
41
-
42
- <div class="upper-half" style="position: fixed; z-index: 4; top:0; left: 0; width: 100vw; height: 100vh; display: flex; flex-direction: column;">
43
- {% include waves/top.html ys=65 ye=35 x1=15 y1=85 x2=35 y2=20 cx=10 cy=76 r=2%}
44
- </div>
45
-
46
- <div class="lower-half" style="position: fixed; z-index: 3; bottom:0; left: 0; width: 100vw; height: 100vh; display: flex; flex-direction: column;">
47
- {% include waves/bottom.html ys=80 ye=20 x1=40 y1=80 x2=60 y2=20 cx=50 cy=50 r=4 %}
48
- </div>
49
-
50
- <div class="upper-half" style="position: fixed; z-index: 1; bottom:0; left: 0; width: 100vw; height: 100vh; display: flex; flex-direction: column;">
51
- {% include waves/bottom.html ys=60 ye=80 x1=20 y1=80 x2=60 y2=100 cx=80 cy=88 r=2 %}
52
- </div>
53
-
18
+ <div>
19
+ {{ content }}
20
+ {% include sidebar.html menu=menu %}
54
21
  </div>
55
-
56
22
  {% include footer.html %}
57
-
23
+ {% include scripts.html scripts=scripts %}
58
24
  </body>
59
-
60
25
  </html>
@@ -49,7 +49,7 @@ $palette: (
49
49
  border-bg: transparentize(#e6ebed, 0.75),
50
50
  border-inverted: #ffffff,
51
51
  border-bg-inverted: #ffffff,
52
- accent: #6666ff,
52
+ accent: #0000ff,
53
53
  accent-cp: #ffdd44,
54
54
  accent-inverted: #ffffff,
55
55
  accent-cp-inverted: #6666ff,
@@ -121,7 +121,7 @@
121
121
  width: inherit;
122
122
  height: inherit;
123
123
  margin-left: (-0.875em / 2);
124
- font-size: 2rem;
124
+ font-size: 1.5rem;
125
125
  line-height: inherit;
126
126
  text-indent: 0;
127
127
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-consulting
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.6
4
+ version: 0.10.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Moodule
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-12 00:00:00.000000000 Z
11
+ date: 2020-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll