summaryrefslogtreecommitdiff
path: root/_includes/similar-posts.liquid
diff options
context:
space:
mode:
authorAdam Carpenter <gitlab@53hor.net>2019-06-12 19:44:53 -0400
committerAdam Carpenter <gitlab@53hor.net>2019-06-12 19:44:53 -0400
commit9caf57c3b642391325e9e70e03cead529f02516f (patch)
tree075cb63b607994edee1231a819186c945ca8358e /_includes/similar-posts.liquid
parent775a6ea8ed0665bcb2a3de432aca80da57184424 (diff)
downloadcobalt-site-9caf57c3b642391325e9e70e03cead529f02516f.tar.xz
cobalt-site-9caf57c3b642391325e9e70e03cead529f02516f.zip
Updated posts, removed lunr, fixed similar/all post list layout bug.
Diffstat (limited to '_includes/similar-posts.liquid')
-rw-r--r--_includes/similar-posts.liquid1
1 files changed, 1 insertions, 0 deletions
diff --git a/_includes/similar-posts.liquid b/_includes/similar-posts.liquid
index 0dddca2..9a7e33a 100644
--- a/_includes/similar-posts.liquid
+++ b/_includes/similar-posts.liquid
@@ -9,6 +9,7 @@
if post.categories
and page.categories
and page.title != post.title
+ and page.categories.first
and post.categories contains page.categories.first
%}
<li>