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 +4 -4
- data/_includes/post-heading.html +1 -1
- data/_includes/sidebar.html +5 -5
- data/_layouts/post.html +9 -5
- data/_sass/blog.scss +19 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38eb6c30a2812da2b22060e3b2ba294bb2f33141ef4946c60f426580ddfb496b
|
4
|
+
data.tar.gz: b6edf002a188e6308de967c1926c473edf70b9c9183b77b4c922d1bdaa7231f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2aa26463e596da4e4056bd6ae4071722d82ac1ad30e695999449e4902eec8c95443879a197732dcc3f22818a1282b1bc4656ed8fe0902f2b877c3715e20112c4
|
7
|
+
data.tar.gz: 24cd05bd3887b106e42a7e38c555d50f3096f5445a08152ce326a07da7ec0bcdc412a2d1e604bbfe19a6bc26ad4ceaad289b8cae2a8193f5e96790a8a396b7c0
|
data/_includes/post-heading.html
CHANGED
data/_includes/sidebar.html
CHANGED
@@ -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.
|
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-
|
11
|
+
date: 2023-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|