Open taringamberini opened 9 years ago
I've just deployed my octopress multilingual site at https://taringamberini.github.io and you can find my octopress site sources on the source branch.
In case somebody wanted to reproduce the issued error feel free to test on my sources:
$ git clone https://github.com/taringamberini/taringamberini.github.io.git
$ cd taringamberini.github.io/
$ git checkout source
$ rake generate (or to get more info: jekyll build --trace)
$ rake preview
I'm available for any questions or tests, Tarin
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