From b96b8754f529760057e4d2ab35dfe4d37fdc7a6e Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 9 Sep 2019 16:28:20 +0300 Subject: [PATCH] Work around the blog/index.md in the first year. --- layouts/blog-index.hbs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/layouts/blog-index.hbs b/layouts/blog-index.hbs index 99e97e9c8c632..774bf80d7f1ad 100644 --- a/layouts/blog-index.hbs +++ b/layouts/blog-index.hbs @@ -31,11 +31,17 @@ {{/if}} {{#if pagination.prev.path}}{{#if pagination.next.path}} + {{#equals (slashes pagination.next.path) 'blog/index.md'}} + {{else}} | + {{/equals}} {{/if}}{{/if}} {{#if pagination.next.path}} + {{#equals (slashes pagination.next.path) 'blog/index.md'}} + {{else}} Older > + {{/equals}} {{/if}} {{/if}}