mostrar los layouts de verdad

This commit is contained in:
f 2020-04-14 14:48:12 -03:00
parent 6db0f3b97b
commit 2e3640e58b
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' value: @posts.length - i, class: 'reorder'
%td %td
%small %small
= link_to @site.i18n.dig('layouts', layout.to_s) || layout.to_s.humanize, = link_to @site.i18n.dig('layouts', post.layout.name.to_s) || post.layout.name.to_s.humanize,
site_posts_path(@site, layout: post.layout.name) site_posts_path(@site, layout: post.layout.name)
%br/ %br/
= link_to post.title.value, = link_to post.title.value,