dyreschlock / schlock-website

Personal Website code to be run locally or generate a static website hosted through github pages.
http://theschlock.com/
0 stars 0 forks source link

Ignore some Categories in Previous Next related Posts #60

Closed dyreschlock closed 1 year ago

dyreschlock commented 1 year ago

The bottom of every posts lists Next and Previous links to more posts. These related posts are collected from both Categories and Keywords. Currently, it will search through the lowest category, then search through the highest priority keyword to find related posts.

This is a slight problem with the 'Game Specific' or 'Review' category. Posts in this category is really only related by Type, not by Content. So, if something has a matching keyword in Game Specific, it'll show up over something in a different category that matches the content better.

Add in an exception that will ignore the 'Review' category when finding related posts.

dyreschlock commented 1 year ago

This is working