forest-time-jekyll 0.2.2 → 0.2.3

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: d7dc75cc9c0b25a33244b05769d930f06d9b3fe5c3d667d4112e9e2f241d2ddf
4
- data.tar.gz: 48bd7ec6ce769da171dc546523b889a0802d548164407d656f5ec888fc43c3d3
3
+ metadata.gz: ee17009555c46ac8561a6979be2530ef84db847e935cb917ab803db606bdc1de
4
+ data.tar.gz: 40757a38a9e346fa5577d17228e8878b27b20c1923264e958b750101490d2e88
5
5
  SHA512:
6
- metadata.gz: 1aff02ad89294d53f68fd03c75e27008872c76108c495e23d43e3c0cd959ec5954bb940721ce852649f298136225469a9e9d5960efaa7bd5559715c71b0e65ab
7
- data.tar.gz: 368314730e8c54b87361588d3ee524b25312208cfdf859d8f3e38afc39625ae551a6f1f13dbe28a66b73e50560d925d5e58fc3a5c5b97f6b4321c729cdd53679
6
+ metadata.gz: 22285c96bb54a252d297f303a258132dd50b520ab27c09c956d3e7c29b5236c524528aba8f60e8a034b4d9c0148728773b2bc748fd9cccb722ecc1e9493146a6
7
+ data.tar.gz: 03dbc61822b8e434f0ae1eed236d61ed8a4c6242b36e1fc768378d7a81f8c094f9c7ebf2f647871e1754fcc247f2335f774b1fc7ae6a474c86ed8c6373048e75
data/_data/ui-text.yml CHANGED
@@ -4,6 +4,7 @@ home : "Home"
4
4
  back_to_home : "Back to home"
5
5
  about : "About"
6
6
  and : "and"
7
+ emailPlaceholder : "address@site.com"
7
8
  onn : "on" # for some reason "on" does not show up when used... !?
8
9
  of : "of"
9
10
  here : "here"
@@ -15,6 +16,8 @@ not_found_page : "Oh, snap! Looks like this one doesn't exist anymore..."
15
16
  oldPostNotice : "Dear reader, this piece was moved here from an older address. If you notice something wrong, let me know " # will be followed by a "here" link
16
17
  noComments : "Yup, there's no comment section, but I can always be contacted " # will be followed by a "here" link
17
18
  next : "Next"
19
+ newsletterNotice : "Get the latest news straight to your inbox:"
20
+ subscribe : "Subscribe"
18
21
  xml_feed : "XML feed"
19
22
 
20
23
  months:
@@ -0,0 +1,21 @@
1
+ {% if site.mailchimp %}
2
+ <!-- Begin Mailchimp Signup Form -->
3
+ <link href="//cdn-images.mailchimp.com/embedcode/horizontal-slim-10_7.css" rel="stylesheet" type="text/css">
4
+ <style type="text/css">#mc_embed_signup { clear: left; padding: 30px 20px; }</style>
5
+ <div id="mc_embed_signup" class="alert alert-custom">
6
+ <label style="text-align: center;">{{ site.data.ui-text.newsletterNotice }}</label>
7
+ <form action="{{ site.mailchimp.url }}" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form"
8
+ class="validate" target="_blank" novalidate>
9
+ <div id="mc_embed_signup_scroll">
10
+ <input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="{{ site.data.ui-text.emailPlaceholder }}"
11
+ required>
12
+ <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
13
+ <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_98f741605c166ec8337ac5bf8_e09f313f36"
14
+ tabindex="-1" value=""></div>
15
+ <div class="clear"><input type="submit" value="{{ site.data.ui-text.subscribe }}" name="subscribe" id="mc-embedded-subscribe"
16
+ class="button"></div>
17
+ </div>
18
+ </form>
19
+ </div>
20
+ <!--End mc_embed_signup-->
21
+ {% endif %}
data/_layouts/post.html CHANGED
@@ -39,5 +39,7 @@ layout: default
39
39
 
40
40
  <div id="content"> {{ content }} </div>
41
41
 
42
+ {% include subscribe-form.html %}
43
+
42
44
  {% include comments.html %}
43
45
  </article>
data/_sass/main.scss CHANGED
@@ -571,7 +571,7 @@ a.phantom {
571
571
  padding: .75rem 1.25rem;
572
572
  margin-bottom: 3rem;
573
573
  border: 1px solid transparent;
574
- border-radius: .15rem;
574
+ border-radius: .17rem;
575
575
  margin-top: 60px;
576
576
  }
577
577
 
@@ -579,4 +579,9 @@ a.phantom {
579
579
  color: #717171;
580
580
  background-color: #f6f6f6;
581
581
  border-color: #e4e4e4;
582
+ }
583
+
584
+ .alert-custom {
585
+ border: 1px solid #edf4f8;
586
+ background: #f4f8fb;
582
587
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forest-time-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claudiu Constantin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-29 00:00:00.000000000 Z
11
+ date: 2018-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -69,6 +69,7 @@ files:
69
69
  - _includes/image.html
70
70
  - _includes/navigation.html
71
71
  - _includes/oldPostNotice.html
72
+ - _includes/subscribe-form.html
72
73
  - _layouts/default.html
73
74
  - _layouts/home.html
74
75
  - _layouts/page.html