jekyll-theme-recipe 0.1.13 → 0.2.0

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/_layouts/post.html +4 -0
  3. data/_sass/blog.scss +19 -0
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 91a1bc8cc5ed2e376abbf215956391cc293029aae2cc415a3846240f5dd31293
4
- data.tar.gz: 6188c9afea38f00d4172b642ac82b91164a4a7d4c697dc7aed8adedac6ad4b13
3
+ metadata.gz: 38eb6c30a2812da2b22060e3b2ba294bb2f33141ef4946c60f426580ddfb496b
4
+ data.tar.gz: b6edf002a188e6308de967c1926c473edf70b9c9183b77b4c922d1bdaa7231f0
5
5
  SHA512:
6
- metadata.gz: 667f48eba97e76e0eeaa7d34aaf8f6fda72a35113969db682f829d46ba886a53f7cee99f205b30e19dfaf8cfac4faa9aedb3ee3c6309e1c88002dd8109a03ae4
7
- data.tar.gz: 3e9ddcd68594d912053842fe836a67b6c457a7f9c520afd88309ccc1da10ed77ac30188a1efa9cab7a853e96b9bb2a4bd2e15383b59813979c6be072aed3e9de
6
+ metadata.gz: 2aa26463e596da4e4056bd6ae4071722d82ac1ad30e695999449e4902eec8c95443879a197732dcc3f22818a1282b1bc4656ed8fe0902f2b877c3715e20112c4
7
+ data.tar.gz: 24cd05bd3887b106e42a7e38c555d50f3096f5445a08152ce326a07da7ec0bcdc412a2d1e604bbfe19a6bc26ad4ceaad289b8cae2a8193f5e96790a8a396b7c0
data/_layouts/post.html CHANGED
@@ -21,6 +21,10 @@ layout: default
21
21
  <div class="ingredients">
22
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">
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-recipe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hanno Witzleb