steve-for-jekyll 1.0.2 → 1.0.3
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.
- checksums.yaml +4 -4
- data/404.html +9 -0
- data/LICENSE.txt +21 -21
- data/README.md +21 -21
- data/_config.yml +70 -70
- data/_includes/blog/custom-widgets.html +3 -3
- data/_includes/blog/post.html +43 -43
- data/_includes/blog/sidebar.html +42 -42
- data/_includes/footer.html +11 -11
- data/_includes/footer/custom-text.html +5 -5
- data/_includes/header.html +17 -17
- data/_includes/header/menu.html +12 -12
- data/_includes/search-form.html +13 -13
- data/_layouts/archive.html +21 -21
- data/_layouts/default.html +18 -18
- data/_layouts/home.html +23 -23
- data/_layouts/page.html +15 -15
- data/_layouts/post.html +92 -92
- data/_sass/steve-for-jekyll.scss +51 -51
- data/_sass/steve/_base.scss +222 -222
- data/_sass/steve/_layout.scss +397 -397
- data/assets/css/screen.scss +34 -34
- data/assets/js/responsive-videos.js +79 -79
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30db961533c03e5fc57450d2c60ed9bfb0eb0fb2db2458fe18d1feb6bfd6c7d9
|
4
|
+
data.tar.gz: 8a5ca288b685b1615a4a81533d3133529053230375d423df62c5c39465b3f4ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8eb77604f98315bccef6cc7a5ed5ebcceebfdcb247d95ff252dabc317a6cbcd11b79b3715de976ac728962835360a34eef889a57d0706a42219eec80152bf2b5
|
7
|
+
data.tar.gz: 9e72a82ba9e616b20310c69748bf61b173caeed4fa856fb87a2bae4c39ee8f4bef6f46c27744a472242676ded7205352561bea9fe8117d0b557a37217b4e46b2
|
data/404.html
ADDED
data/LICENSE.txt
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2021 Arthur Freitas
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2021 Arthur Freitas
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
CHANGED
@@ -73,12 +73,14 @@ You can change Steve's appearance with a different color scheme or typography se
|
|
73
73
|
|
74
74
|
1. Create a `screen.scss` file in `assets/css`.
|
75
75
|
2. Add the following content:
|
76
|
-
```scss
|
77
|
-
---
|
78
|
-
---
|
79
76
|
|
80
|
-
|
81
|
-
|
77
|
+
```scss
|
78
|
+
---
|
79
|
+
---
|
80
|
+
|
81
|
+
@import "{{ site.theme }}";
|
82
|
+
```
|
83
|
+
|
82
84
|
3. Before the `@import` declaration, you can set the following custom SCSS variables:
|
83
85
|
|
84
86
|
```scss
|
@@ -105,12 +107,11 @@ $font__body: sans-serif; // used for the main, body typography
|
|
105
107
|
$font__headings: sans-serif; // used for headings and feature elements
|
106
108
|
$font__code: monospace; // used for pre-formatted text and code.
|
107
109
|
|
108
|
-
|
109
110
|
/*
|
110
111
|
Layout
|
111
112
|
*/
|
112
113
|
$layout__container-width: 1180px; // the width of the main content (content + sidebar)
|
113
|
-
$layout__gutter: 2rem
|
114
|
+
$layout__gutter: 2rem; // the spacing unit between elements.
|
114
115
|
```
|
115
116
|
|
116
117
|
You can change the values to any variable you want. Steve will replace the default values set by the theme with the ones you choose. Be sure that the variable definitions are **above** your `@import "{{ site.theme }}"` declaration.
|
@@ -123,16 +124,16 @@ Steve supports two editable areas and three different menus.
|
|
123
124
|
|
124
125
|
You can add any content you want in your site's sidebar or footer.
|
125
126
|
|
126
|
-
|
127
|
-
|
127
|
+
- Create a `custom-widgets.html` file in `_includes/blog/` to add custom content to your site's sidebar.
|
128
|
+
- Create a `custom-text.html` file in `_includes/footer` to add custom content to your site's footer.
|
128
129
|
|
129
130
|
#### Menus
|
130
131
|
|
131
132
|
Steve has three menu positions controlled using [Jekyll data files](https://jekyllrb.com/docs/datafiles/):
|
132
133
|
|
133
|
-
|
134
|
-
|
135
|
-
|
134
|
+
- `_data/menu.yml` — The main menu, above the website content.
|
135
|
+
- `_data/social.yml` — The social menu, in the website sidebar.
|
136
|
+
- `_data/links.yml` — And a third menu at the bottom of your website's footer.
|
136
137
|
|
137
138
|
Create the respective data file for the menu you want to use. Menus are a YAML List with the following structure:
|
138
139
|
|
@@ -151,12 +152,12 @@ Blogrolls are linked lists shown in your site's sidebar.Like menus, you can set
|
|
151
152
|
```yaml
|
152
153
|
- title: Blogroll # The blogroll title shown in the sidebar
|
153
154
|
links: # The list of links in this blogroll
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
155
|
+
- title: Link 1
|
156
|
+
url: "https://example.com"
|
157
|
+
- title: Link 2
|
158
|
+
url: "https://example.net"
|
159
|
+
- title: Link 3
|
160
|
+
url: "https://example.org"
|
160
161
|
- title: Blogroll 2
|
161
162
|
links:
|
162
163
|
- title: Link 1
|
@@ -165,7 +166,7 @@ Blogrolls are linked lists shown in your site's sidebar.Like menus, you can set
|
|
165
166
|
url: "https://example.net"
|
166
167
|
- title: Link 3
|
167
168
|
url: "https://example.org"
|
168
|
-
```
|
169
|
+
```
|
169
170
|
|
170
171
|
### Plugin-specific settings
|
171
172
|
|
@@ -190,9 +191,8 @@ To set up your environment to develop this theme, run `bundle install`.
|
|
190
191
|
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
191
192
|
|
192
193
|
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
193
|
-
To add a custom directory to your theme-gem, please edit the regexp in `steve.gemspec` accordingly.
|
194
|
+
To add a custom directory to your theme-gem, please edit the regexp in `steve-for-jekyll.gemspec` accordingly.
|
194
195
|
|
195
196
|
## License
|
196
197
|
|
197
198
|
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
198
|
-
|
data/_config.yml
CHANGED
@@ -1,70 +1,70 @@
|
|
1
|
-
# Site info
|
2
|
-
title: Steve for Jekyll
|
3
|
-
tagline: Charming and fun blog theme.
|
4
|
-
description: Steve is a charming and fun blog theme for Jekyll websites.
|
5
|
-
|
6
|
-
email: steve-support@esporo.net
|
7
|
-
|
8
|
-
lang: en
|
9
|
-
|
10
|
-
url: ""
|
11
|
-
baseurl: "/steve/"
|
12
|
-
|
13
|
-
# Theme settings
|
14
|
-
steve:
|
15
|
-
intensedebate_account: # get one at <https://intensedebate.com/install>
|
16
|
-
archives: # Prefixes used with archive titles
|
17
|
-
date: Posts from
|
18
|
-
tag: More about…
|
19
|
-
category: Posts filed in
|
20
|
-
date_formats: # Uses <http://strftime.net>
|
21
|
-
post: "%b %e, %Y"
|
22
|
-
archives:
|
23
|
-
day: "%b %e, %Y"
|
24
|
-
month: "%b, %Y"
|
25
|
-
year: "%Y"
|
26
|
-
page_404: |+
|
27
|
-
The page you're looking for could not be found.
|
28
|
-
|
29
|
-
Maybe the search can help.
|
30
|
-
pagination:
|
31
|
-
next_page: "« Next"
|
32
|
-
prev_page: "Previous »"
|
33
|
-
prev_post: "Previous:"
|
34
|
-
next_post: "Next:"
|
35
|
-
post:
|
36
|
-
byline: "By"
|
37
|
-
tags: More about…
|
38
|
-
search:
|
39
|
-
label: Search this blog
|
40
|
-
placeholder: What you're looking for?
|
41
|
-
submit: Go!
|
42
|
-
|
43
|
-
|
44
|
-
# Build settings
|
45
|
-
markdown: kramdown
|
46
|
-
permalink: "/:year/:month/:day/:title/"
|
47
|
-
|
48
|
-
theme: steve-for-jekyll
|
49
|
-
|
50
|
-
paginate: 6
|
51
|
-
paginate_path: "/page/:num/"
|
52
|
-
|
53
|
-
plugins:
|
54
|
-
- jekyll-feed
|
55
|
-
- jekyll-seo-tag
|
56
|
-
- jekyll-sitemap
|
57
|
-
- jekyll-paginate
|
58
|
-
- jekyll-archives
|
59
|
-
|
60
|
-
# Plugin: jekyll-archives
|
61
|
-
jekyll-archives:
|
62
|
-
enabled: all
|
63
|
-
layout: archive
|
64
|
-
slug_mode: default
|
65
|
-
permalinks:
|
66
|
-
day: "/:year/:month/:day/"
|
67
|
-
month: "/:year/:month/"
|
68
|
-
year: "/:year/"
|
69
|
-
category: "/:name/"
|
70
|
-
tag: "/tag/:name/"
|
1
|
+
# Site info
|
2
|
+
title: Steve for Jekyll
|
3
|
+
tagline: Charming and fun blog theme.
|
4
|
+
description: Steve is a charming and fun blog theme for Jekyll websites.
|
5
|
+
|
6
|
+
email: steve-support@esporo.net
|
7
|
+
|
8
|
+
lang: en
|
9
|
+
|
10
|
+
url: ""
|
11
|
+
baseurl: "/steve/"
|
12
|
+
|
13
|
+
# Theme settings
|
14
|
+
steve:
|
15
|
+
intensedebate_account: # get one at <https://intensedebate.com/install>
|
16
|
+
archives: # Prefixes used with archive titles
|
17
|
+
date: Posts from
|
18
|
+
tag: More about…
|
19
|
+
category: Posts filed in
|
20
|
+
date_formats: # Uses <http://strftime.net>
|
21
|
+
post: "%b %e, %Y"
|
22
|
+
archives:
|
23
|
+
day: "%b %e, %Y"
|
24
|
+
month: "%b, %Y"
|
25
|
+
year: "%Y"
|
26
|
+
page_404: |+
|
27
|
+
The page you're looking for could not be found.
|
28
|
+
|
29
|
+
Maybe the search can help.
|
30
|
+
pagination:
|
31
|
+
next_page: "« Next"
|
32
|
+
prev_page: "Previous »"
|
33
|
+
prev_post: "Previous:"
|
34
|
+
next_post: "Next:"
|
35
|
+
post:
|
36
|
+
byline: "By"
|
37
|
+
tags: More about…
|
38
|
+
search:
|
39
|
+
label: Search this blog
|
40
|
+
placeholder: What you're looking for?
|
41
|
+
submit: Go!
|
42
|
+
|
43
|
+
|
44
|
+
# Build settings
|
45
|
+
markdown: kramdown
|
46
|
+
permalink: "/:year/:month/:day/:title/"
|
47
|
+
|
48
|
+
theme: steve-for-jekyll
|
49
|
+
|
50
|
+
paginate: 6
|
51
|
+
paginate_path: "/page/:num/"
|
52
|
+
|
53
|
+
plugins:
|
54
|
+
- jekyll-feed
|
55
|
+
- jekyll-seo-tag
|
56
|
+
- jekyll-sitemap
|
57
|
+
- jekyll-paginate
|
58
|
+
- jekyll-archives
|
59
|
+
|
60
|
+
# Plugin: jekyll-archives
|
61
|
+
jekyll-archives:
|
62
|
+
enabled: all
|
63
|
+
layout: archive
|
64
|
+
slug_mode: default
|
65
|
+
permalinks:
|
66
|
+
day: "/:year/:month/:day/"
|
67
|
+
month: "/:year/:month/"
|
68
|
+
year: "/:year/"
|
69
|
+
category: "/:name/"
|
70
|
+
tag: "/tag/:name/"
|
@@ -1,3 +1,3 @@
|
|
1
|
-
{% comment %}
|
2
|
-
Add your custom sidebar widgets here!
|
3
|
-
{% endcomment %}
|
1
|
+
{% comment %}
|
2
|
+
Add your custom sidebar widgets here!
|
3
|
+
{% endcomment %}
|
data/_includes/blog/post.html
CHANGED
@@ -1,43 +1,43 @@
|
|
1
|
-
<article class="content post">
|
2
|
-
<header class="content-header">
|
3
|
-
{% if post.title != "" %}
|
4
|
-
<h2 class="content-title">
|
5
|
-
<a href="{{ post.url | relative_url }}" rel="bookmark">{{ post.title }}</a>
|
6
|
-
</h2>
|
7
|
-
{% endif %}
|
8
|
-
|
9
|
-
<div class="content-meta">
|
10
|
-
<a class="content-date" href="{{ post.url | relative_url }}" rel="bookmark">
|
11
|
-
<time datetime="{{ post.date | date_to_xmlschema }}">
|
12
|
-
{{ post.date | date: site.steve.date_formats.post }}
|
13
|
-
</time>
|
14
|
-
</a>
|
15
|
-
|
16
|
-
{% if post.author %}
|
17
|
-
{% assign author = site.data.authors[post.author] %}
|
18
|
-
|
19
|
-
{% if author.url %}
|
20
|
-
<a class="content-author" href="{{ author.url }}" rel="author">
|
21
|
-
{{ author.name }}
|
22
|
-
</a>
|
23
|
-
{% else %}
|
24
|
-
<a class="content-author" href="{{ post.author | prepend: 'https://twitter.com/' }}" rel="author">
|
25
|
-
{{ post.author }}
|
26
|
-
</a>
|
27
|
-
{% endif %}
|
28
|
-
{% endif %}
|
29
|
-
</div>
|
30
|
-
</header>
|
31
|
-
|
32
|
-
{% if post.image %}
|
33
|
-
<figure class="content-cover">
|
34
|
-
<img src="{{ post.image.url | default: post.image }}" alt="{{ post.image.alt | default: '' }}" />
|
35
|
-
</figure>
|
36
|
-
{% endif %}
|
37
|
-
|
38
|
-
{% unless include.full_post == false %}
|
39
|
-
<div class="content-body">
|
40
|
-
{{ post.content }}
|
41
|
-
</div>
|
42
|
-
{% endunless %}
|
43
|
-
</article>
|
1
|
+
<article class="content post">
|
2
|
+
<header class="content-header">
|
3
|
+
{% if post.title != "" %}
|
4
|
+
<h2 class="content-title">
|
5
|
+
<a href="{{ post.url | relative_url }}" rel="bookmark">{{ post.title }}</a>
|
6
|
+
</h2>
|
7
|
+
{% endif %}
|
8
|
+
|
9
|
+
<div class="content-meta">
|
10
|
+
<a class="content-date" href="{{ post.url | relative_url }}" rel="bookmark">
|
11
|
+
<time datetime="{{ post.date | date_to_xmlschema }}">
|
12
|
+
{{ post.date | date: site.steve.date_formats.post }}
|
13
|
+
</time>
|
14
|
+
</a>
|
15
|
+
|
16
|
+
{% if post.author %}
|
17
|
+
{% assign author = site.data.authors[post.author] %}
|
18
|
+
|
19
|
+
{% if author.url %}
|
20
|
+
<a class="content-author" href="{{ author.url }}" rel="author">
|
21
|
+
{{ author.name }}
|
22
|
+
</a>
|
23
|
+
{% else %}
|
24
|
+
<a class="content-author" href="{{ post.author | prepend: 'https://twitter.com/' }}" rel="author">
|
25
|
+
{{ post.author }}
|
26
|
+
</a>
|
27
|
+
{% endif %}
|
28
|
+
{% endif %}
|
29
|
+
</div>
|
30
|
+
</header>
|
31
|
+
|
32
|
+
{% if post.image %}
|
33
|
+
<figure class="content-cover">
|
34
|
+
<img src="{{ post.image.url | default: post.image }}" alt="{{ post.image.alt | default: '' }}" />
|
35
|
+
</figure>
|
36
|
+
{% endif %}
|
37
|
+
|
38
|
+
{% unless include.full_post == false %}
|
39
|
+
<div class="content-body">
|
40
|
+
{{ post.content }}
|
41
|
+
</div>
|
42
|
+
{% endunless %}
|
43
|
+
</article>
|
data/_includes/blog/sidebar.html
CHANGED
@@ -1,42 +1,42 @@
|
|
1
|
-
{% include search-form.html class="widget -search" %}
|
2
|
-
|
3
|
-
{% capture custom_widgets %}
|
4
|
-
{% include blog/custom-widgets.html %}
|
5
|
-
{% endcapture %}
|
6
|
-
|
7
|
-
{% assign custom_widgets = custom_widgets | strip | strip_newlines | normalize_whitespace %}
|
8
|
-
|
9
|
-
{% if site.data.social or site.data.blogroll or custom_widgets != "" %}
|
10
|
-
<aside class="widget -sidebar">
|
11
|
-
{% if site.data.social %}
|
12
|
-
<ul class="social-links">
|
13
|
-
{% for link in site.data.social %}
|
14
|
-
<li class="link">
|
15
|
-
<a href="{{ link.url }}" rel="external">
|
16
|
-
{{ link.icon }}
|
17
|
-
</a>
|
18
|
-
</li>
|
19
|
-
{% endfor %}
|
20
|
-
</ul>
|
21
|
-
{% endif %}
|
22
|
-
{% if site.data.blogroll %}
|
23
|
-
{% for blogroll in site.data.blogroll %}
|
24
|
-
<section class="blogroll">
|
25
|
-
<h4 class="blogroll-title">{{ blogroll.title }}</h4>
|
26
|
-
|
27
|
-
<ul class="blogroll-list">
|
28
|
-
{% for link in blogroll.links %}
|
29
|
-
<li class="link">
|
30
|
-
<a href="{{ link.url }}" {% if link.external %} rel="external" {% endif %}>
|
31
|
-
{{ link.title }}
|
32
|
-
</a>
|
33
|
-
</li>
|
34
|
-
{% endfor %}
|
35
|
-
</ul>
|
36
|
-
</section>
|
37
|
-
{% endfor %}
|
38
|
-
{% endif %}
|
39
|
-
|
40
|
-
{{ custom_widgets }}
|
41
|
-
</aside>
|
42
|
-
{% endif %}
|
1
|
+
{% include search-form.html class="widget -search" %}
|
2
|
+
|
3
|
+
{% capture custom_widgets %}
|
4
|
+
{% include blog/custom-widgets.html %}
|
5
|
+
{% endcapture %}
|
6
|
+
|
7
|
+
{% assign custom_widgets = custom_widgets | strip | strip_newlines | normalize_whitespace %}
|
8
|
+
|
9
|
+
{% if site.data.social or site.data.blogroll or custom_widgets != "" %}
|
10
|
+
<aside class="widget -sidebar">
|
11
|
+
{% if site.data.social %}
|
12
|
+
<ul class="social-links">
|
13
|
+
{% for link in site.data.social %}
|
14
|
+
<li class="link">
|
15
|
+
<a href="{{ link.url }}" rel="external">
|
16
|
+
{{ link.icon }}
|
17
|
+
</a>
|
18
|
+
</li>
|
19
|
+
{% endfor %}
|
20
|
+
</ul>
|
21
|
+
{% endif %}
|
22
|
+
{% if site.data.blogroll %}
|
23
|
+
{% for blogroll in site.data.blogroll %}
|
24
|
+
<section class="blogroll">
|
25
|
+
<h4 class="blogroll-title">{{ blogroll.title }}</h4>
|
26
|
+
|
27
|
+
<ul class="blogroll-list">
|
28
|
+
{% for link in blogroll.links %}
|
29
|
+
<li class="link">
|
30
|
+
<a href="{{ link.url }}" {% if link.external %} rel="external" {% endif %}>
|
31
|
+
{{ link.title }}
|
32
|
+
</a>
|
33
|
+
</li>
|
34
|
+
{% endfor %}
|
35
|
+
</ul>
|
36
|
+
</section>
|
37
|
+
{% endfor %}
|
38
|
+
{% endif %}
|
39
|
+
|
40
|
+
{{ custom_widgets }}
|
41
|
+
</aside>
|
42
|
+
{% endif %}
|