jekyll-formspree 0.0.3 → 0.0.5
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/lib/jekyll-formspree.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: caedaa1af4d5537104595c48bb832648558c81d1169f15200c10db6ae164398d
|
4
|
+
data.tar.gz: e68e5b622fffc30a4c8b47b62a46aa2f353bcc877572dfb679cd08e3c7605d25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60476016dd492397effc0278843af8309666974e64e9ac4300568944da2591173d756f329a52baab0697fd25b9f96475d9108d6a6fe3ce7d2d5be53039884ca0
|
7
|
+
data.tar.gz: 7b2a00f39195071525a92c875c01d53a03381fa684940e8b53e618d020db8d449b150b04593dd07c85e0f618e0252b705750ded6354a9e9ebb444ec2ff798605
|
data/lib/jekyll-formspree.rb
CHANGED
@@ -15,7 +15,7 @@ class Formspree < Liquid::Tag
|
|
15
15
|
tmpl = File.read tmpl_path
|
16
16
|
tmpl = (Liquid::Template.parse tmpl).render site.site_payload.merge!({"formspree_id" => @formspree_id})
|
17
17
|
else
|
18
|
-
%Q{<form action="https://formspree.io/#{ @formspree_id }" method="POST"
|
18
|
+
%Q{<style>.form-container { max-width: 100%; } .form-container input { position: relative; top: 0; left: 0; width: 100%; height: 20px; padding: 0 ; } .form-container textarea { position: relative; top: 0; left: 0; width: 100%; height: 80px; padding: 0; } </style> <form action="https://formspree.io/#{ @formspree_id }" method="POST" class='form-container'> <label>Your email:</label><br /><input type="text" name="_replyto" /> <label>Your message:</label><br /><textarea name="message"></textarea> <button type="submit">Send</button> </form>}
|
19
19
|
end
|
20
20
|
end
|
21
21
|
|