traducir layout en la tabla de articulos tambien

This commit is contained in:
f 2020-04-13 18:01:45 -03:00
parent b692693c43
commit 6db0f3b97b
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D

View file

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