diff options
Diffstat (limited to 'themes/danix-xyz-hacker')
| -rw-r--r-- | themes/danix-xyz-hacker/layouts/partials/sidebar.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/danix-xyz-hacker/layouts/partials/sidebar.html b/themes/danix-xyz-hacker/layouts/partials/sidebar.html index f80c2cf..dc263e6 100644 --- a/themes/danix-xyz-hacker/layouts/partials/sidebar.html +++ b/themes/danix-xyz-hacker/layouts/partials/sidebar.html @@ -13,7 +13,7 @@ {{ partial "social-share.html" (dict "page" . "mode" "sidebar") }} <!-- Related posts widget (articles only) --> - {{ if and .Site.Params.relatedPosts (eq .Type "articles") }} + {{ if and .Site.Params.relatedPosts (eq .Section "articles") }} {{ $related := first 5 (.Site.RegularPages.Related .) }} <hr class="sidebar-hr"> <div class="sidebar-widget"> |
