traducir layout en la tabla de articulos tambien
This commit is contained in:
parent
b692693c43
commit
6db0f3b97b
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@
|
|||
value: @posts.length - i, class: 'reorder'
|
||||
%td
|
||||
%small
|
||||
= link_to post.layout.name.to_s.humanize,
|
||||
= link_to @site.i18n.dig('layouts', layout.to_s) || layout.to_s.humanize,
|
||||
site_posts_path(@site, layout: post.layout.name)
|
||||
%br/
|
||||
= link_to post.title.value,
|
||||
|
|
Loading…
Reference in a new issue