diff --git a/app/views/posts/index.haml b/app/views/posts/index.haml index 0a868890..0e054eb8 100644 --- a/app/views/posts/index.haml +++ b/app/views/posts/index.haml @@ -129,7 +129,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