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:
parent
10fcc82fbf
commit
9a91fbc4ad
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue