steve-for-jekyll 1.2 → 1.2.1

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: 4c837ff93e1e9855f712da1f580559ef04530333c4c63e9a3bb37042c6d8cee4
4
- data.tar.gz: 66c3123e4f2e17afb3b89527c5aa7660e36e7061f957b1d362277634b944f7c8
3
+ metadata.gz: a389c90db2e3b245518de6435f252af866364407c443d230dfb86650b973c080
4
+ data.tar.gz: 14d3da3cde1ab5f98dcaeac45902130ac2c3a8c72f46fc6ead1a1b9206506a4d
5
5
  SHA512:
6
- metadata.gz: d0e4cb6d03cd8f10500dd0b154e5887d122bfd191c738f9831e9b2f74c0d0cd90729fe68bc623c15d7ca5f3be559c2f099e26e395cd7d05d80929e5788e5c3fd
7
- data.tar.gz: 8d74ce76512ce06fbe249c2b09d793ae1617de1068c35d8fe4290ac6e8c831c0a6e498d39ab20d15b997b27e6f5f2999e9eaf15b4ed37d3a9cec0fe0943fcff7
6
+ metadata.gz: 75c4d5035590b6ab7d5a8d9f7ff4dab748d1e3c07529cca8d4f3b62433e6a5e822e4c5f95d5c6f3869b832f9fd36ac1919e912b6a7a7442684297aeca0d1bfce
7
+ data.tar.gz: a8d8815a88553274381f432e1c40bbb3bf68179615bdb757e499bae6ac02a062aca96fac4f7138125885e218c2200d4702f8808f3527ef4618d5d6b840b0cf05
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
@@ -26,201 +26,7 @@ Or install it yourself as:
26
26
 
27
27
  $ gem install steve
28
28
 
29
- ## Usage
30
-
31
- Steve is made to be used with zero-configuration needed. Even so, you can customize it further with theme settings, style variables, content includes and plugin-specific configurations. We will guide you through each one of those.
32
-
33
- ### Theme settings
34
-
35
- Steve's settings are defined in your site's `_config.yml`:
36
-
37
- ```yaml
38
- steve:
39
- intensedebate_account: # get one at <https://intensedebate.com/install>
40
- archives: # Prefixes used with archive titles
41
- date: Posts from
42
- tag: More about…
43
- category: Posts filed in
44
- date_formats: # Uses <http://strftime.net>
45
- post: "%b %e, %Y" # The date format used in the post layout.
46
- archives: # The date formats for the archive layout.
47
- day: "%b %e, %Y"
48
- month: "%b, %Y"
49
- year: "%Y"
50
- page_404: |+
51
- The page you're looking for could not be found.
52
-
53
- Maybe the search can help.
54
- pagination: # Strings used in the blog- and post-pagination.
55
- next_page: "&laquo; Next"
56
- prev_page: "Previous &raquo;"
57
- prev_post: "Previous:"
58
- next_post: "Next:"
59
- post: # Strings used in the post layout.
60
- byline: "By"
61
- tags: More about…
62
- search: # Strings used in the search form.
63
- label: Search this blog
64
- placeholder: What you're looking for?
65
- submit: Go!
66
- ```
67
-
68
- The above are the default values that Steve will use. Feel free to change the ones you want. This is useful if you want to localize the theme strings or change the date formats used by the theme.
69
-
70
- ### Style variables
71
-
72
- You can change Steve's appearance with a different color scheme or typography setting custom variables. Follow these instructions:
73
-
74
- 1. Create a `screen.scss` file in `assets/css`.
75
- 2. Add the following content:
76
-
77
- ```scss
78
- ---
79
- ---
80
-
81
- @import "{{ site.theme }}";
82
- ```
83
-
84
- 3. Before the `@import` declaration, you can set the following custom SCSS variables:
85
-
86
- ```scss
87
- /*
88
- Color Scheme
89
- */
90
-
91
- $color__background-content: #fff; // posts, pages and sidebar background color.
92
- $color__background-body: #e4f0f6; // body background color:
93
- $color__text: #000112; // body text color
94
-
95
- $color__link: #4e9dd8; // color for links and accents
96
- $color__link-hover: #2361a7; // alternate color for active or focused links and accents
97
-
98
- $color__details: #939496; // color for details such as borders and shadows
99
- $color__details-lighter: #f0f1f4; // lighter alternative for details
100
- $color__details-darker: #6d6e70; // darker alternative for details
101
-
102
- /*
103
- Typography
104
- */
105
-
106
- $font__body: sans-serif; // used for the main, body typography
107
- $font__headings: sans-serif; // used for headings and feature elements
108
- $font__code: monospace; // used for pre-formatted text and code.
109
-
110
- /*
111
- Layout
112
- */
113
- $layout__container-width: 1180px; // the width of the main content (content + sidebar)
114
- $layout__gutter: 2rem; // the spacing unit between elements.
115
- ```
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.
118
-
119
- ### Content includes
120
-
121
- Steve supports two editable areas and three different menus.
122
-
123
- #### Editable areas
124
-
125
- You can add any content you want in your site's sidebar or footer.
126
-
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.
129
-
130
- #### Menus
131
-
132
- Steve has three menu positions controlled using [Jekyll data files](https://jekyllrb.com/docs/datafiles/):
133
-
134
- - `_data/menu.yml` &mdash; The main menu, above the website content.
135
- - `_data/social.yml` &mdash; The social menu, in the website sidebar.
136
- - `_data/links.yml` &mdash; And a third menu at the bottom of your website's footer.
137
-
138
- Create the respective data file for the menu you want to use. Menus are a YAML List with the following structure:
139
-
140
- ```yaml
141
- - title: "About this site" # The item title
142
- url: "/about/" # The item URL or path
143
- external: true # Optional, if the link points to an external resource.
144
- color: "#336699" # Only on `_data/menu.yml`, the background color of this menu item.
145
- icon: "<svg ...>" # Only on `_data/social.yml`, the SVG icon markup for this item -- get one in <https://simpleicons.org>
146
- ```
147
-
148
- #### Blogrolls
149
-
150
- Blogrolls are linked lists shown in your site's sidebar.Like menus, you can set up as any blogrolls as you want using the `_data/blogroll.yml` data file.
151
-
152
- ```yaml
153
- - title: Blogroll # The blogroll title shown in the sidebar
154
- links: # The list of links in this blogroll
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"
161
- - title: Blogroll 2
162
- links:
163
- - title: Link 1
164
- url: "https://example.com"
165
- - title: Link 2
166
- url: "https://example.net"
167
- - title: Link 3
168
- url: "https://example.org"
169
- ```
170
-
171
- ### Plugin-specific settings
172
-
173
- Steve uses the following Jekyll plugins to create sitemaps, RSS feeds, archives and much more.
174
-
175
- - [jekyll-feed](https://github.com/jekyll/jekyll-feed) &mdash; generates the RSS feed.
176
- - [jekyll-seo-map](https://github.com/jekyll/jekyll-seo-tag) &mdash; generates site's OpenGraph and SEO meta tags.
177
- - [jekyll-sitemap](https://github.com/jekyll/jekyll-sitemap) &mdash; generates the XML sitemap.
178
- - [jekyll-paginate](https://github.com/jekyll/jekyll-paginate) &mdash; paginates the home post list.
179
- - [jekyll-archives](https://github.com/jekyll/jekyll-archives) &mdash; generates the archives by date, tag and category.
180
- - [jekyll-loading-lazy](https://github.com/gildesmarais/jekyll-loading-lazy) &mdash; adds `loading="lazy"` to all images and frames on your pages and posts.
181
-
182
- While Steve sets initial configurations for these plugins, you may want to change them in your `_config.yml`. Please refer to these plugins documentations for further reading about how to change their config options.
183
-
184
- ### Comments
185
-
186
- Steve supports [Staticman](https://staticman.net)-powered comments, and provides initial settings from our own `staticman.yml` config file. You can create your own settings at any time, but keep in mind that Steve looks for the following fields when submitting comments:
187
-
188
- - `name`
189
- - `email`
190
- - `website`
191
- - `message`
192
-
193
- [Follow these instructions](https://staticman.net/docs/getting-started.html) to set up your Staticman instance.
194
-
195
- You can also customize your comments' section and submit form adding the `site.comments` object in your `_config.yml`:
196
-
197
- ```yaml
198
- comments:
199
- title: Comments
200
- form_title: New Comment
201
- date_format: "%b %e, %Y @ %l:%M %P"
202
- staticman_endpoint: # Get yours on <https://staticman.net>
203
- notice: |+ # Accepts Markdown
204
- Please be nice in the comments.
205
-
206
- Comments are moderated, so it can take a while for your's to show up.
207
-
208
- Also, you can use [Markdown](https://daringfireball.net/projects/markdown).
209
- fields:
210
- name:
211
- label: Name
212
- placeholder: "John Appleseed"
213
- email:
214
- label: Email address
215
- placeholder: "your@email.net"
216
- website:
217
- label: Website
218
- placeholder: "https://john.blog/"
219
- message:
220
- label: Message
221
- placeholder: Your comment message
222
- submit: Submit Comment
223
- ```
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.
224
30
 
225
31
  ## Contributing
226
32
 
@@ -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,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
- <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
@@ -2,15 +2,7 @@
2
2
  <meta charset="utf-8" />
3
3
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
4
4
 
5
- <title>
6
- {%- if page.title -%}
7
- {{ page.title }} ({{ site.title }})
8
- {%- else -%}
9
- {{ site.title }} - {{ site.tagline }}
10
- {%- endif -%}
11
- </title>
12
-
13
- {% seo title=false %}
5
+ {% seo %}
14
6
 
15
7
  <link rel="stylesheet" href="{{ '/assets/css/screen.css' | relative_url }}" />
16
8
  {% feed_meta %}
@@ -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>
@@ -1,13 +1,13 @@
1
- <form action="//duckduckgo.com" method="get" {% if include.class %}class="{{ include.class }}"{% endif %}>
2
- <label for="search_terms">{{ site.steve.search.label }}</label>
3
-
4
- <div class="search-controls">
5
-
6
- <input id="search_terms" placeholder="{{ site.steve.search.placeholder }}" type="search" name="q" required />
7
- <input type="hidden" name="sites" value="{{ site.url | remove: 'https://' }}" />
8
- <button type="submit">
9
- {{ site.steve.search.submit }}
10
- </button>
11
-
12
- </div>
13
- </form>
1
+ <form action="//duckduckgo.com" method="get" {% if include.class %}class="{{ include.class }}"{% endif %}>
2
+ <label for="search_terms">{{ site.steve.search.label }}</label>
3
+
4
+ <div class="search-controls">
5
+
6
+ <input id="search_terms" placeholder="{{ site.steve.search.placeholder }}" type="search" name="q" required />
7
+ <input type="hidden" name="sites" value="{{ site.url | remove: 'https://' }}" />
8
+ <button type="submit">
9
+ {{ site.steve.search.submit }}
10
+ </button>
11
+
12
+ </div>
13
+ </form>
@@ -1,21 +1,21 @@
1
- ---
2
- layout: blog
3
- ---
4
-
5
- <header class="archive-header">
6
- {% if page.date %}
7
- <h1>
8
- {{ site.steve.archives.date }}<br />
9
- <strong>{{ page.date | date: site.steve.date_formats.archives[page.type] }}</strong>
10
- </h1>
11
- {% else %}
12
- <h1>
13
- {{ site.steve.archives[page.type] }}<br />
14
- <strong>{{ page.title }}</strong>
15
- </h1>
16
- {% endif %}
17
- </header>
18
-
19
- {% for post in page.posts %}
20
- {% include blog/post.html full_post=false %}
21
- {% endfor %}
1
+ ---
2
+ layout: blog
3
+ ---
4
+
5
+ <header class="archive-header">
6
+ {% if page.date %}
7
+ <h1>
8
+ {{ site.steve.archives.date }}<br />
9
+ <strong>{{ page.date | date: site.steve.date_formats.archives[page.type] }}</strong>
10
+ </h1>
11
+ {% else %}
12
+ <h1>
13
+ {{ site.steve.archives[page.type] }}<br />
14
+ <strong>{{ page.title }}</strong>
15
+ </h1>
16
+ {% endif %}
17
+ </header>
18
+
19
+ {% for post in page.posts %}
20
+ {% include blog/post.html full_post=false %}
21
+ {% endfor %}
@@ -1,18 +1,18 @@
1
- <!doctype html>
2
- <html lang="{{ page.lang | default: site.lang }}">
3
- {% include head.html %}
4
-
5
- <body class="{{ page.layout | prepend: 'layout-' }}">
6
- {% include header.html %}
7
-
8
- <main class="container">
9
- {{ content }}
10
- </main>
11
-
12
- {% include footer.html %}
13
-
14
- {% if content contains "iframe" %}
15
- <script src="{% link assets/js/responsive-videos.js %}"></script>
16
- {% endif %}
17
- </body>
18
- </html>
1
+ <!doctype html>
2
+ <html lang="{{ page.lang | default: site.lang }}">
3
+ {% include head.html %}
4
+
5
+ <body class="{{ page.layout | prepend: 'layout-' }}">
6
+ {% include header.html %}
7
+
8
+ <main class="container">
9
+ {{ content }}
10
+ </main>
11
+
12
+ {% include footer.html %}
13
+
14
+ {% if content contains "iframe" %}
15
+ <script src="{% link assets/js/responsive-videos.js %}"></script>
16
+ {% endif %}
17
+ </body>
18
+ </html>
data/_layouts/home.html CHANGED
@@ -1,23 +1,23 @@
1
- ---
2
- layout: blog
3
- ---
4
-
5
- {% for post in paginator.posts %}
6
- {% include blog/post.html %}
7
- {% endfor %}
8
-
9
- {% if paginator.total_pages > 1 %}
10
- <nav class="content-navigation">
11
- {% if paginator.previous_page %}
12
- <a class="nav-link prev-link" href="{{ paginator.previous_page_path | relative_url }}" rel="prev">
13
- {{ site.steve.pagination.next_page }}
14
- </a>
15
- {% endif %}
16
-
17
- {% if paginator.next_page %}
18
- <a class="nav-link next-link" href="{{ paginator.next_page_path | relative_url }}" rel="next">
19
- {{ site.steve.pagination.prev_page }}
20
- </a>
21
- {% endif %}
22
- </nav>
23
- {% endif %}
1
+ ---
2
+ layout: blog
3
+ ---
4
+
5
+ {% for post in paginator.posts %}
6
+ {% include blog/post.html %}
7
+ {% endfor %}
8
+
9
+ {% if paginator.total_pages > 1 %}
10
+ <nav class="content-navigation">
11
+ {% if paginator.previous_page %}
12
+ <a class="nav-link prev-link" href="{{ paginator.previous_page_path | relative_url }}" rel="prev">
13
+ {{ site.steve.pagination.next_page }}
14
+ </a>
15
+ {% endif %}
16
+
17
+ {% if paginator.next_page %}
18
+ <a class="nav-link next-link" href="{{ paginator.next_page_path | relative_url }}" rel="next">
19
+ {{ site.steve.pagination.prev_page }}
20
+ </a>
21
+ {% endif %}
22
+ </nav>
23
+ {% endif %}