mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 02:26:23 +00:00
Merge branch 'issue-16291' of 0xacab.org:sutty/sutty into panel.testing.sutty.nl
This commit is contained in:
commit
fccfbc225b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue