jekyll-theme-recipe 0.1.12 → 0.2.0

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: 42bc84fae1561d2b537b0de51888a09ea0c7fd9a012310e2ee2498220002b27f
4
- data.tar.gz: 3a2a16eefda80a6678f41369b9b0e26852bdc0a746d1a7f3d4f0e9979acd8463
3
+ metadata.gz: 38eb6c30a2812da2b22060e3b2ba294bb2f33141ef4946c60f426580ddfb496b
4
+ data.tar.gz: b6edf002a188e6308de967c1926c473edf70b9c9183b77b4c922d1bdaa7231f0
5
5
  SHA512:
6
- metadata.gz: 341da0b85dc15a8cfe18cfe4c3830712c130883e83d2fef8c7c74c1459e91b4cf52892b250e2d9ebdd18991c50176b8e03d00570c2e1ee23f10e3e8c466ba2d7
7
- data.tar.gz: 66985dff41a141486177bdb4960cf803e18c974fa452b08af8261b07099c5fa1cbcc33ef67543ddcd574ce0fe16dd35688eaebe3e5a932225c1017e2160d7793
6
+ metadata.gz: 2aa26463e596da4e4056bd6ae4071722d82ac1ad30e695999449e4902eec8c95443879a197732dcc3f22818a1282b1bc4656ed8fe0902f2b877c3715e20112c4
7
+ data.tar.gz: 24cd05bd3887b106e42a7e38c555d50f3096f5445a08152ce326a07da7ec0bcdc412a2d1e604bbfe19a6bc26ad4ceaad289b8cae2a8193f5e96790a8a396b7c0
@@ -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,16 @@ 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
+ {% if page.recipe.utensils_markdown %}
25
+ <h2>{{ site.data.i18n.post.utensils_title }}</h2>
26
+ {{ page.recipe.utensils_markdown | markdownify }}
27
+ {% endif %}
24
28
  </div>
25
29
 
26
30
  <div class="directions">
27
- <h2>{{ site.data.post.directions_title }}</h2>
31
+ <h2>{{ site.data.i18n.post.directions_title }}</h2>
28
32
  {{ page.recipe.directions_markdown | markdownify }}
29
33
  </div>
30
34
  </div>
@@ -39,9 +43,9 @@ layout: default
39
43
  </div>
40
44
 
41
45
  <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>
46
+ <h2>{{ site.data.i18n.post.more_recipes_title }}</h2>
47
+ <p>{{ site.data.i18n.post.more_recipes_markdown | markdownify }}</p>
48
+ <div class="button"><a href="{{ site.baseurl }}/recipes">{{ site.data.i18n.post.more_recipes_button }}</a></div>
45
49
  </div>
46
50
  {% if site.disqus_shortname and page.comments %}
47
51
  <div id="disqus_thread"></div>
data/_sass/blog.scss CHANGED
@@ -41,6 +41,25 @@
41
41
  display: flex;
42
42
  }
43
43
 
44
+ // ingredients
45
+ tr {
46
+ vertical-align: top;
47
+ & td:first-of-type{
48
+ &:before {
49
+ content: '\00bb';
50
+ color: #{$recipe_color};
51
+ padding-right: 0.5em;
52
+ }
53
+ }
54
+
55
+ // alternative measurements
56
+ em {
57
+ color: rgba(0, 0, 0, 0.45);
58
+ white-space: pre; // newline
59
+ font-style: normal;
60
+ }
61
+ }
62
+
44
63
  ul {
45
64
  padding: 0;
46
65
  li {
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.12
4
+ version: 0.2.0
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