We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
When I run my blog on Development Mode, the related posts are as expected. Only the posts with the same tags are shown.
tags
But when I push it to Production Mode, it doesn't work. The Related Posts section show the last posts instead of the related posts.
I installed the jekyll-tagging-related-posts with gem.
jekyll-tagging-related-posts
gem
My _config.yml:
_config.yml
plugins: - jekyll/tagging - jekyll-tagging-related_posts
And my HTML:
{% if site.related_posts.size >= 1 %} <div> <h3>Related Posts</h3> <ul> {% for related_post in site.related_posts limit: 5 %} <li><a href="{{ related_post.url }}">{{ related_post.title }}</a></li> {% endfor %} </ul> </div> {% endif %}
And My Post Header:
--- layout: post title: My Post Title category: Category A tags: [aaa, bbb, ccc] ---
What am I missing here? Can anybody help me, please?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
When I run my blog on Development Mode, the related posts are as expected. Only the posts with the same
tags
are shown.But when I push it to Production Mode, it doesn't work. The Related Posts section show the last posts instead of the related posts.
I installed the
jekyll-tagging-related-posts
withgem
.My
_config.yml
:And my HTML:
And My Post Header:
What am I missing here? Can anybody help me, please?
The text was updated successfully, but these errors were encountered: