5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 08:51:41 +00:00

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)
%tr
%td{class: direction}
= link_to post.title, site_post_path(@site, post)
= link_to post.title, site_post_path(@site, post, lang: @lang)
%br
%small
- 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')
%td
- if post.translations