steve-for-jekyll 1.2.2 → 1.2.3

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: 938078277c4889e23800a3fb856b64f9c7b4a128fe35ebee9582c7b14f1dc2c4
4
- data.tar.gz: 33fb95f23406ea85b899bd12f12a99989d45b6f6d83910d05660ccd5640e8de9
3
+ metadata.gz: e87119114d1f441071fbe94c334abc58673c3c70a08e2c7ba315eb44baedbde5
4
+ data.tar.gz: 2a3bdc55940356dace3924e4333a0925ddfc239194621df0e23bc46b4d371932
5
5
  SHA512:
6
- metadata.gz: 1bcc7e393f0abf93701a82319266ac27d2ae5347b759e9060c5f85b93ac7f25ea8cea1fa5d36c0a380103625d4220bd46cdc0893dfad4beae720b58931621bb2
7
- data.tar.gz: 11430b86ce07eb2066435c8b73801b8d53824d0550f84320f70e42d00fa831fe3b281e86b38011062e0b1bf65fb3db54a98b4f91dd78e9ce05c6a305c23ecf7a
6
+ metadata.gz: af56818816a30fae6c0c0688352da8df6815724d08c52507425831fb8308328b3fbe3d64593a96289c99f2805dc5101af633eb81ae2078462cb1c9a2c6feece9
7
+ data.tar.gz: b90721b845235bcdec5f8c74f4543bcdbfe3d9a8b0563c1ae8abb67bb3a7ed42c67db6d054d045e08a41cdb74ead6bafbbfbbdea98b1554ede898dc467f10353
data/404.html CHANGED
@@ -1,9 +1,9 @@
1
- ---
2
- layout: page
3
- title: 404
4
- permalink: /404.html
5
- ---
6
-
7
- {{ site.steve.page_404 | markdownify }}
8
-
9
- {% include search-form.html %}
1
+ ---
2
+ layout: page
3
+ title: 404
4
+ permalink: /404.html
5
+ ---
6
+
7
+ {{ site.steve.page_404 | markdownify }}
8
+
9
+ {% include search-form.html %}
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
@@ -1,46 +1,46 @@
1
- # Steve for Jekyll
2
-
3
- Steve is a charming and fun blog theme for [Jekyll](https://jekyllrb.com/), the static site generator. It's developed by [@arthrfrts](https://github.com/arthrfrts) to be used on the [Esporo](https://esporo.net/) websites — but feel free to use it in any project you may find it fitting.
4
-
5
- See it in action on the [demo site](https://esporo.github.io/steve).
6
-
7
- ## Installation
8
-
9
- Add this line to your Jekyll site's `Gemfile`:
10
-
11
- ```ruby
12
- gem "steve-for-jekyll"
13
- ```
14
-
15
- And add this line to your Jekyll site's `_config.yml`:
16
-
17
- ```yaml
18
- theme: steve-for-jekyll
19
- ```
20
-
21
- And then execute:
22
-
23
- $ bundle
24
-
25
- Or install it yourself as:
26
-
27
- $ gem install steve
28
-
29
- Steve will work out-of-the-box when installed, but it has plenty of options for you to make it yours. [Refer to the theme documentation](https://github.com/esporo/steve/wiki) to learn how to add menus, comments, change your theme style or set up Steve's options.
30
-
31
- ## Contributing
32
-
33
- Bug reports and pull requests are welcome on GitHub at <https://github.com/esporo/steve>. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
34
-
35
- ## Development
36
-
37
- To set up your environment to develop this theme, run `bundle install`.
38
-
39
- 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.
40
-
41
- When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
42
- To add a custom directory to your theme-gem, please edit the regexp in `steve-for-jekyll.gemspec` accordingly.
43
-
44
- ## License
45
-
46
- The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
1
+ # Steve for Jekyll
2
+
3
+ Steve is a charming and fun blog theme for [Jekyll](https://jekyllrb.com/), the static site generator. It's developed by [@arthrfrts](https://github.com/arthrfrts) to be used on the [Esporo](https://esporo.net/) websites &mdash; but feel free to use it in any project you may find it fitting.
4
+
5
+ See it in action on the [demo site](https://esporo.github.io/steve).
6
+
7
+ ## Installation
8
+
9
+ Add this line to your Jekyll site's `Gemfile`:
10
+
11
+ ```ruby
12
+ gem "steve-for-jekyll"
13
+ ```
14
+
15
+ And add this line to your Jekyll site's `_config.yml`:
16
+
17
+ ```yaml
18
+ theme: steve-for-jekyll
19
+ ```
20
+
21
+ And then execute:
22
+
23
+ $ bundle
24
+
25
+ Or install it yourself as:
26
+
27
+ $ gem install steve
28
+
29
+ Steve will work out-of-the-box when installed, but it has plenty of options for you to make it yours. [Refer to the theme documentation](https://github.com/esporo/steve/wiki) to learn how to add menus, comments, change your theme style or set up Steve's options.
30
+
31
+ ## Contributing
32
+
33
+ Bug reports and pull requests are welcome on GitHub at <https://github.com/esporo/steve>. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
34
+
35
+ ## Development
36
+
37
+ To set up your environment to develop this theme, run `bundle install`.
38
+
39
+ 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.
40
+
41
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
42
+ To add a custom directory to your theme-gem, please edit the regexp in `steve-for-jekyll.gemspec` accordingly.
43
+
44
+ ## License
45
+
46
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/_config.yml CHANGED
@@ -8,7 +8,7 @@ email: steve-support@esporo.net
8
8
  lang: en
9
9
 
10
10
  url: ""
11
- baseurl: "/steve/"
11
+ baseurl: "/steve"
12
12
 
13
13
  # Theme settings
14
14
  steve:
@@ -81,7 +81,6 @@ plugins:
81
81
  - jekyll-sitemap
82
82
  - jekyll-paginate
83
83
  - jekyll-archives
84
- - jekyll-loading-lazy
85
84
 
86
85
  # Plugin: jekyll-archives
87
86
  jekyll-archives:
@@ -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 %}
@@ -1,57 +1,57 @@
1
- <article class="content post">
2
- <header class="content-header">
3
- {% if post.category %}
4
- <div class="content-meta">
5
- {%- assign category_slug = post.category | slugify -%}
6
- {%- assign category_url = site.jekyll-archives.permalinks.category -%}
7
-
8
- <a
9
- href="{{ category_url | replace: ':name', category_slug | relative_url }}"
10
- rel="tag"
11
- >
12
- {{- post.category -}}
13
- </a>
14
- </div>
15
- {% endif %}
16
-
17
- {% if post.title != "" %}
18
- <h2 class="content-title">
19
- <a href="{{ post.url | relative_url }}" rel="bookmark">{{ post.title }}</a>
20
- </h2>
21
- {% endif %}
22
-
23
- <div class="content-meta">
24
- <a class="content-date" href="{{ post.url | relative_url }}" rel="bookmark">
25
- <time datetime="{{ post.date | date_to_xmlschema }}">
26
- {{ post.date | date: site.steve.date_formats.post }}
27
- </time>
28
- </a>
29
-
30
- {% if post.author %}
31
- {% assign author = site.data.authors[post.author] %}
32
-
33
- {% if author.url %}
34
- <a class="content-author" href="{{ author.url }}" rel="author">
35
- {{ author.name }}
36
- </a>
37
- {% else %}
38
- <a class="content-author" href="{{ post.author | prepend: 'https://twitter.com/' }}" rel="author">
39
- {{ post.author }}
40
- </a>
41
- {% endif %}
42
- {% endif %}
43
- </div>
44
- </header>
45
-
46
- {% if post.image %}
47
- <figure class="content-cover">
48
- <img src="{{ post.image.url | default: post.image }}" alt="{{ post.image.alt | default: '' }}" />
49
- </figure>
50
- {% endif %}
51
-
52
- {% unless include.full_post == false %}
53
- <div class="content-body">
54
- {{ post.content }}
55
- </div>
56
- {% endunless %}
57
- </article>
1
+ <article class="content post">
2
+ <header class="content-header">
3
+ {% if post.category %}
4
+ <div class="content-meta">
5
+ {%- assign category_slug = post.category | slugify -%}
6
+ {%- assign category_url = site.jekyll-archives.permalinks.category -%}
7
+
8
+ <a
9
+ href="{{ category_url | replace: ':name', category_slug | relative_url }}"
10
+ rel="tag"
11
+ >
12
+ {{- post.category -}}
13
+ </a>
14
+ </div>
15
+ {% endif %}
16
+
17
+ {% if post.title != "" %}
18
+ <h2 class="content-title">
19
+ <a href="{{ post.url | relative_url }}" rel="bookmark">{{ post.title }}</a>
20
+ </h2>
21
+ {% endif %}
22
+
23
+ <div class="content-meta">
24
+ <a class="content-date" href="{{ post.url | relative_url }}" rel="bookmark">
25
+ <time datetime="{{ post.date | date_to_xmlschema }}">
26
+ {{ post.date | date: site.steve.date_formats.post }}
27
+ </time>
28
+ </a>
29
+
30
+ {% if post.author %}
31
+ {% assign author = site.data.authors[post.author] %}
32
+
33
+ {% if author.url %}
34
+ <a class="content-author" href="{{ author.url }}" rel="author">
35
+ {{ author.name }}
36
+ </a>
37
+ {% else %}
38
+ <a class="content-author" href="{{ post.author | prepend: 'https://twitter.com/' }}" rel="author">
39
+ {{ post.author }}
40
+ </a>
41
+ {% endif %}
42
+ {% endif %}
43
+ </div>
44
+ </header>
45
+
46
+ {% if post.image %}
47
+ <figure class="content-cover">
48
+ <img src="{{ post.image.url | default: post.image }}" alt="{{ post.image.alt | default: '' }}" />
49
+ </figure>
50
+ {% endif %}
51
+
52
+ {% unless include.full_post == false %}
53
+ <div class="content-body">
54
+ {{ post.content }}
55
+ </div>
56
+ {% endunless %}
57
+ </article>
@@ -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 %}
@@ -1,5 +1,5 @@
1
- {% comment %}
2
- Create a file like this and add your own custom content that should be shown at the bottom of your website.
3
- {% endcomment %}
4
-
5
- {{ site.description }}
1
+ {% comment %}
2
+ Create a file like this and add your own custom content that should be shown at the bottom of your website.
3
+ {% endcomment %}
4
+
5
+ {{ site.description }}
@@ -1,11 +1,11 @@
1
- {% if site.data.links %}
2
- <ul class="external-links">
3
- {% for link in site.data.links %}
4
- <li class="link">
5
- <a href="{{ link.url }}" {% if link.external %} rel="external" {% endif %}>
6
- {{ link.title }}
7
- </a>
8
- </li>
9
- {% endfor %}
10
- </ul>
11
- {% endif %}
1
+ {% if site.data.links %}
2
+ <ul class="external-links">
3
+ {% for link in site.data.links %}
4
+ <li class="link">
5
+ <a href="{{ link.url }}" {% if link.external %} rel="external" {% endif %}>
6
+ {{ link.title }}
7
+ </a>
8
+ </li>
9
+ {% endfor %}
10
+ </ul>
11
+ {% endif %}
@@ -1,11 +1,11 @@
1
- <footer class="colophon">
2
- <div class="site-info">
3
- <h5>
4
- <a href="{{ site.url }}">{{ site.title }}</a>
5
- </h5>
6
-
7
- {% include footer/custom-text.html %}
8
- </div>
9
-
10
- {% include footer/links.html %}
11
- </footer>
1
+ <footer class="colophon">
2
+ <div class="site-info">
3
+ <h5>
4
+ <a href="{{ site.url }}">{{ site.title }}</a>
5
+ </h5>
6
+
7
+ {% include footer/custom-text.html %}
8
+ </div>
9
+
10
+ {% include footer/links.html %}
11
+ </footer>
data/_includes/head.html CHANGED
@@ -1,9 +1,9 @@
1
- <head>
2
- <meta charset="utf-8" />
3
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
4
-
5
- {% seo %}
6
-
7
- <link rel="stylesheet" href="{{ '/assets/css/screen.css' | relative_url }}" />
8
- {% feed_meta %}
9
- </head>
1
+ <head>
2
+ <meta charset="utf-8" />
3
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
4
+
5
+ {% seo %}
6
+
7
+ <link rel="stylesheet" href="{{ '/assets/css/screen.css' | relative_url }}" />
8
+ {% feed_meta %}
9
+ </head>
@@ -1,12 +1,12 @@
1
- {% if site.data.menu %}
2
- <nav class="site-menu">
3
- {% for item in site.data.menu %}
4
- <a class="menu-item" href="{{ item.url }}"
5
- {% if item.external %} rel="external" {% endif %}
6
- {% if item.color %} style="background-color: {{ item.color }}" {% endif %}
7
- >
8
- {{ item.title }}
9
- </a>
10
- {% endfor %}
11
- </nav>
12
- {% endif %}
1
+ {% if site.data.menu %}
2
+ <nav class="site-menu">
3
+ {% for item in site.data.menu %}
4
+ <a class="menu-item" href="{{ item.url }}"
5
+ {% if item.external %} rel="external" {% endif %}
6
+ {% if item.color %} style="background-color: {{ item.color }}" {% endif %}
7
+ >
8
+ {{ item.title }}
9
+ </a>
10
+ {% endfor %}
11
+ </nav>
12
+ {% endif %}
@@ -1,17 +1,17 @@
1
- {% capture site_branding %}
2
- <a href="{{ "/" | relative_url }}">
3
- {% if site.logo %}
4
- <img class="logo" src="{{ site.logo }}" alt="{{ site.title }}" />
5
- {% else %}
6
- {{ site.title }}
7
- {% endif %}
8
- </a>
9
- {% endcapture %}
10
-
11
- <header class="masthead">
12
- {% if page.title %}
13
- <p class="site-title">{{ site_branding }}</p>
14
- {% else %}
15
- <h1 class="site-title">{{ site_branding }}</h1>
16
- {% endif %} {% include header/menu.html %}
17
- </header>
1
+ {% capture site_branding %}
2
+ <a href="{{ "/" | relative_url }}">
3
+ {% if site.logo %}
4
+ <img class="logo" src="{{ site.logo }}" alt="{{ site.title }}" />
5
+ {% else %}
6
+ {{ site.title }}
7
+ {% endif %}
8
+ </a>
9
+ {% endcapture %}
10
+
11
+ <header class="masthead">
12
+ {% if page.title %}
13
+ <p class="site-title">{{ site_branding }}</p>
14
+ {% else %}
15
+ <h1 class="site-title">{{ site_branding }}</h1>
16
+ {% endif %} {% include header/menu.html %}
17
+ </header>