You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
group :jekyll_plugins do
gem 'octopress-multilingual'
end
and I've run:
$ bundle
Setting octopress-multilingual
Finally I've been following the Setup section but, after I've set lang: it as default language, and lang: en for the other pages or posts, when I put in a page:
page {{ page.lang }}
post {{ post.lang }}
or in a post:
page {{ page.lang }}
post {{ post.lang }}
the output for Italian pages and posts is always:
page it
post
and the output for English pages and posts is always:
page en
post
so it seems:
{{ page.lang }} always works for both pages and posts.
{{ post.lang }} never works for both pages and posts.
Thanks,
Tarin
The text was updated successfully, but these errors were encountered:
Setting Octopress
I've installed and configured Octopress as described at:
Installing octopress-multilingual
Then I've installed:
and I've run:
Setting octopress-multilingual
Finally I've been following the Setup section but, after I've set
lang: it
as default language, andlang: en
for the other pages or posts, when I put in a page:or in a post:
the output for Italian pages and posts is always:
and the output for English pages and posts is always:
so it seems:
{{ page.lang }}
always works for both pages and posts.{{ post.lang }}
never works for both pages and posts.Thanks,
Tarin
The text was updated successfully, but these errors were encountered: