especificar el idioma tambien en los posts

This commit is contained in:
f 2018-02-27 18:24:27 -03:00
parent 10fcc82fbf
commit 9a91fbc4ad
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7

View file

@ -26,11 +26,11 @@
- direction = post.get_front_matter(:dir) - direction = post.get_front_matter(:dir)
%tr %tr
%td{class: direction} %td{class: direction}
= link_to post.title, site_post_path(@site, post) = link_to post.title, site_post_path(@site, post, lang: @lang)
%br %br
%small %small
- post.categories.each do |c| - post.categories.each do |c|
= link_to c, site_posts_path(@site, category: c), = link_to c, site_posts_path(@site, category: c, lang: @lang),
data: { toggle: 'tooltip' }, title: t('help.category') data: { toggle: 'tooltip' }, title: t('help.category')
%td %td
- if post.translations - if post.translations