How to hide blog posts with certain tags with correct pagination #2667
-
Hi all, I've been briefly tinkering with alfolio for the past month, and for context, I have zero Ruby/Jekyll background. I am trying to hide alfolio post list for my future reference, to which I can (add {% if post.tags contains "sample-post" %}{% continue %}{% endif %} to this line). FYI, my temporary solution in the end is to just delete all old posts, but I feel a great pity, since it's such a good raw material to reference to in case that I forgot (which is most likely happening). Note: I also don't want to disable the pagination. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
One solution would be to move these posts to another directory, like |
Beta Was this translation helpful? Give feedback.
The error message is clear:
Which means, the post about bibliography references the distill post using
post_url
, butpost_url
can only find posts that are in_posts/
. You can either modify this post or delete it.