From ce21ddabe3c47129460d1616ecaa1cfc3171b67d Mon Sep 17 00:00:00 2001 From: maki Date: Fri, 31 May 2024 10:21:51 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20filtrar=20por=20art=C3=ADculo=20#16291?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/posts/index.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/posts/index.haml b/app/views/posts/index.haml index 3cd8103e..2c259064 100644 --- a/app/views/posts/index.haml +++ b/app/views/posts/index.haml @@ -122,7 +122,7 @@ %span.badge.badge-primary= I18n.t('posts.attributes.draft.label') %br %small - = link_to @site.layouts[post.layout].humanized_name, site_posts_path(@site, **@filter_params.merge(layout: post.layout)) + = link_to @site.layouts[post.layout].humanized_name, site_posts_path(@site, **@filter_params.merge(layout: [post.layout])) - post.front_matter['categories']&.each do |category| = link_to site_posts_path(@site, **@filter_params.merge(category: category)) do %span{ lang: post.locale, dir: dir }= category