jekyll-theme-recipe 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -0
- data/_includes/post-heading.html +1 -1
- data/_includes/sidebar.html +4 -4
- data/_layouts/post.html +5 -5
- data/_sass/blog.scss +2 -2
- data/assets/css/screen.scss +5 -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: 59963153402a0c1b5cc0173a4e48792c1741bcdc92f471bf21e1f0dff13807d0
|
4
|
+
data.tar.gz: ca9258600cbd970479c5e552b081bce6ed1a8dc05cbae9105711def68c83e334
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16a35693d3c00123f7eb893abb0463bdcdb4824a0aeb483d76bf79361c63c70ae314d1250ab5fa6b9ad8ea27747cd45510185103a8d5514539e7f29e7498f341
|
7
|
+
data.tar.gz: 9cb1c73bbb09f10c49640d6a40c563216dc457b3d9db5c2db55be6fb95839b9fd445797597f46648b4de2dc80d6af2b33ed202c51ec4da6a3234c3b36e0f8b87
|
data/README.md
CHANGED
@@ -27,6 +27,11 @@ Food/baking blog theme for Jekyll.
|
|
27
27
|
|
28
28
|
Recipe was built with [Jekyll](http://jekyllrb.com/) version 3.5, but should support newer versions as well.
|
29
29
|
|
30
|
+
Add to your Gemfile:
|
31
|
+
~~~
|
32
|
+
gem "jekyll-theme-recipe",
|
33
|
+
~~~
|
34
|
+
|
30
35
|
Install the dependencies with [Bundler](http://bundler.io/):
|
31
36
|
|
32
37
|
~~~bash
|
@@ -39,6 +44,8 @@ Run `jekyll` commands through Bundler to ensure you're using the right versions:
|
|
39
44
|
$ bundle exec jekyll serve
|
40
45
|
~~~
|
41
46
|
|
47
|
+
!!! You need to copy the about.html, contact-success.html, contact.html, index.html and recipes.html from the github repository
|
48
|
+
|
42
49
|
## Editing
|
43
50
|
|
44
51
|
Treat is already optimised for adding, updating and removing recipes, navigation, page content, and sidebar information in CloudCannon.
|
data/_includes/post-heading.html
CHANGED
data/_includes/sidebar.html
CHANGED
@@ -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>
|
21
|
-
<p>
|
22
|
-
<input type="text" name="EMAIL" placeholder="
|
23
|
-
<input type="submit" value="
|
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 }}">
|
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>
|
22
|
+
<h2>{{ site.data.post.ingredients_title }}</h2>
|
23
23
|
{{ page.recipe.ingredients_markdown | markdownify }}
|
24
24
|
</div>
|
25
25
|
|
26
26
|
<div class="directions">
|
27
|
-
<h2>
|
27
|
+
<h2>{{ site.data.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>
|
43
|
-
<p>
|
44
|
-
<div class="button"><a href="{{ site.baseurl }}/recipes">
|
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>
|
45
45
|
</div>
|
46
46
|
{% if site.disqus_shortname and page.comments %}
|
47
47
|
<div id="disqus_thread"></div>
|
data/_sass/blog.scss
CHANGED
@@ -47,7 +47,7 @@
|
|
47
47
|
list-style-type: none;
|
48
48
|
&:before {
|
49
49
|
content: '\00bb';
|
50
|
-
color: #
|
50
|
+
color: #{$ingredients_color};
|
51
51
|
padding-right: 0.5em;
|
52
52
|
}
|
53
53
|
}
|
@@ -64,7 +64,7 @@
|
|
64
64
|
&:before {
|
65
65
|
content: counter(step-counter);
|
66
66
|
margin-right: 0px;
|
67
|
-
background-color: #
|
67
|
+
background-color: #{$directions_color};
|
68
68
|
color: white;
|
69
69
|
/* padding: 1px 7px; */
|
70
70
|
font-size: .7em;
|
data/assets/css/screen.scss
CHANGED
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.
|
4
|
+
version: 0.1.6
|
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-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|