removed same article from related
This commit is contained in:
parent
0c80aa9ee5
commit
e7257ec518
|
@ -1,8 +1,10 @@
|
|||
{{ if and (.Site.Params.enableRelatedArticles | default false) .Params.tags }}
|
||||
{{ $postsList :=
|
||||
where (
|
||||
where (
|
||||
where site.RegularPages "Params.tags" "!=" nil
|
||||
) "Params.tags" "intersect" .Params.tags
|
||||
) "Permalink" "ne" .Permalink
|
||||
}}
|
||||
<div class="relatedArticlesContainer">
|
||||
<hr />
|
||||
|
|
Loading…
Reference in New Issue