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