From 735508cdec2ec8502c7dc11a896dab31bf7fb2f8 Mon Sep 17 00:00:00 2001 From: Badri Sunderarajan Date: Tue, 14 Mar 2023 19:20:36 +0530 Subject: [PATCH] Show related-tag posts in "read more" section Thanks to the new tutorial released by Ghost: https://ghost.org/tutorials/read-next/ --- package.json | 2 +- post.hbs | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index e835033..a15def6 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "weflock", "description": "Snipette theme with Analog vibes, derived from Casper", "demo": "https://snipettemag.com", - "version": "1.2.0", + "version": "1.2.1", "engines": { "ghost": ">=4.0.0" }, diff --git a/post.hbs b/post.hbs index 1d8a7f5..fa9e679 100644 --- a/post.hbs +++ b/post.hbs @@ -100,8 +100,12 @@ into the {body} tag of the default.hbs template --}} {{/unless}} +{{/post}} +{{!-- I don't know why we had to have this block outside the +"post" block, but that's the way the cookie crumbled. --}} +{{#is "post"}} {{!-- Read more links, just above the footer --}} - -{{/post}} +{{/is}} \ No newline at end of file