Hi,
Using the official Source theme, I am having problems hiding certain posts from the Read More carousel at the bottom of post pages.
I have:
- Created an internal tag to hide posts
hash-hide
. - Added it to the post.hbs template as follows:
{{#if @custom.show_related_articles}}
{{#get "posts" include="authors" filter="id:-{{post.id}}" filter="tag:-{{hash-hide}} limit="4" as |next|}}
{{#if next}}
...
However, the test post that I have made, still shows up there, as seen in this screenshot:
I can’t seem to figure why the test post isn’t being hidden when I give it the internal hash-hide tag, can anyone who knows more about Ghost theming tell me what I have done wrong please?
Here are the system details for my ghost installation.
System Details:
I am self hosting ghost on a private VPS. My site is accessible via www.jaytelford.me.
- Ghost Version: 5.82.11
- Environment: production
- Node: v18.20.2
- Database: mysql8 – 8.0.36-2
VPS Details:
- OS: Ubuntu 24.04 LTS
- Kernel: GNU/Linux 6.8.0-31-generic x86_64
—
Thanks
Jay