mirror of
https://0xacab.org/sutty/sutty
synced 2024-09-04 15:41:24 +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)
|
- 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
|
||||||
|
|
Loading…
Reference in a new issue