5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 02:46:21 +00:00

Merge branch 'issue-16291' of 0xacab.org:sutty/sutty into panel.testing.sutty.nl

This commit is contained in:
maki 2024-05-31 10:33:45 -03:00
commit fccfbc225b

View file

@ -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