jekyll-theme-recipe 0.1.11 → 0.1.13

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: 84beaf17a0637326e21e3f7d201c698e6bb29a136ef1849b471f24caa47bd8c6
4
- data.tar.gz: 1cd388501ea0df543a8d8c5364aece8290bb4dac6a1af857bbe0e640b4b95114
3
+ metadata.gz: 91a1bc8cc5ed2e376abbf215956391cc293029aae2cc415a3846240f5dd31293
4
+ data.tar.gz: 6188c9afea38f00d4172b642ac82b91164a4a7d4c697dc7aed8adedac6ad4b13
5
5
  SHA512:
6
- metadata.gz: ac92402951a9be3c3f4ca3c1b01900004f14fcf0c0822279f7cf32846c5bb9b0a4a90922f45386f7838c80db138c05ccfd26cb99de760841fda0dc8570c33557
7
- data.tar.gz: ec71207df4cc6b3fa210eab3f1665d45cc5106f388d9100fe5f621331d0fdfdfe6a67bebd2a7a9b1cbb019a53d4bfb6b366d4d01dd8de7a002db0a8ddb0992fb
6
+ metadata.gz: 667f48eba97e76e0eeaa7d34aaf8f6fda72a35113969db682f829d46ba886a53f7cee99f205b30e19dfaf8cfac4faa9aedb3ee3c6309e1c88002dd8109a03ae4
7
+ data.tar.gz: 3e9ddcd68594d912053842fe836a67b6c457a7f9c520afd88309ccc1da10ed77ac30188a1efa9cab7a853e96b9bb2a4bd2e15383b59813979c6be072aed3e9de
@@ -1,6 +1,6 @@
1
1
  {% if include.post_page %}
2
2
  <div class="take-me">
3
- <a class="button" href="#recipe">{{ site.data.post.jump_recipe_button }}</a>
3
+ <a class="button" href="#recipe">{{ site.data.i18n.post.jump_recipe_button }}</a>
4
4
  </div>
5
5
  {% endif %}
6
6
  <h1>
@@ -5,7 +5,7 @@
5
5
  <img src="{{ site.baseurl }}{{ site.data.sidebar.author_image }}" alt="author" class="author">
6
6
  </a>
7
7
  </p>
8
- <p>{{ site.data.sidebar.description_markdown | markdownify }}</p>
8
+ <p>{{ site.data.i18n.sidebar.description_markdown | markdownify }}</p>
9
9
  </div>
10
10
 
11
11
  <div class="social-icons">
@@ -17,10 +17,10 @@
17
17
  </div>
18
18
 
19
19
  {% if site.newsletter_action && site.newsletter_action!=""%}<form action="{{ site.newsletter_action }}" method="post">
20
- <h3>{{ site.data.sidebar.newsletter_label }}</h3>
21
- <p>{{ site.data.sidebar.newsletter_description_markdown | markdownify }}</p>
22
- <input type="text" name="EMAIL" placeholder="{{ site.data.sidebar.newsletter_email_placeholder }}">
23
- <input type="submit" value="{{ site.data.sidebar.newsletter_email_action }}">
20
+ <h3>{{ site.data.i18n.sidebar.newsletter_label }}</h3>
21
+ <p>{{ site.data.i18n.sidebar.newsletter_description_markdown | markdownify }}</p>
22
+ <input type="text" name="EMAIL" placeholder="{{ site.data.i18n.sidebar.newsletter_email_placeholder }}">
23
+ <input type="submit" value="{{ site.data.i18n.sidebar.newsletter_email_action }}">
24
24
  </form>
25
25
  {% endif %}
26
26
  </aside>
data/_layouts/post.html CHANGED
@@ -19,12 +19,12 @@ layout: default
19
19
 
20
20
  <div class="recipe-contents">
21
21
  <div class="ingredients">
22
- <h2>{{ site.data.post.ingredients_title }}</h2>
22
+ <h2>{{ site.data.i18n.post.ingredients_title }}</h2>
23
23
  {{ page.recipe.ingredients_markdown | markdownify }}
24
24
  </div>
25
25
 
26
26
  <div class="directions">
27
- <h2>{{ site.data.post.directions_title }}</h2>
27
+ <h2>{{ site.data.i18n.post.directions_title }}</h2>
28
28
  {{ page.recipe.directions_markdown | markdownify }}
29
29
  </div>
30
30
  </div>
@@ -39,9 +39,9 @@ layout: default
39
39
  </div>
40
40
 
41
41
  <div class="cta">
42
- <h2>{{ site.data.post.more_recipes_title }}</h2>
43
- <p>{{ site.data.post.more_recipes_markdown | markdownify }}</p>
44
- <div class="button"><a href="{{ site.baseurl }}/recipes">{{ site.data.post.more_recipes_button }}</a></div>
42
+ <h2>{{ site.data.i18n.post.more_recipes_title }}</h2>
43
+ <p>{{ site.data.i18n.post.more_recipes_markdown | markdownify }}</p>
44
+ <div class="button"><a href="{{ site.baseurl }}/recipes">{{ site.data.i18n.post.more_recipes_button }}</a></div>
45
45
  </div>
46
46
  {% if site.disqus_shortname and page.comments %}
47
47
  <div id="disqus_thread"></div>
@@ -3,7 +3,7 @@ title: CSS-Stylesheet for screens
3
3
  ---
4
4
 
5
5
  // doesnt work :(, page.color seems to be nil, but actually exists
6
- $recipe_color: "{% if page.color And page.color != '' %}{{ page.color }}{% else %}{{'#ff4e4e'}}{% endif %}";
6
+ $recipe_color: "{% if page.color and page.color != '' %}{{ page.color }}{% else %}{{'#ff4e4e'}}{% endif %}";
7
7
 
8
8
  @import "variables";
9
9
  @import "elements";
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-recipe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hanno Witzleb
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-05 00:00:00.000000000 Z
11
+ date: 2023-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll