jekyll-language-plugin icon indicating copy to clipboard operation
jekyll-language-plugin copied to clipboard

Post with no language error

Open marzsv opened this issue 8 years ago • 3 comments

When I have a post without a the language key defined in the front-matter, my site stops working properly. e.g.: when I try to list all my posts titles it only shows me one of my posts, the one without language in the front-matter.

Is this the intended behavior ? Do I have to define a language for every post or maybe I should use defaults?

marzsv avatar Dec 14 '16 22:12 marzsv

Maybe this helps: https://github.com/vwochnik/jekyll-language-plugin/issues/1

escapedcat avatar Dec 15 '16 03:12 escapedcat

Thanks @escapedcat 👍 , that issue is some how related to what I'm saying in the issue description. But my issue/question is more related to the error that happens when a post has no language key in the front-matter.

marzsv avatar Dec 15 '16 06:12 marzsv

If you have language-specific stuff in the post layout, you have to specify a language for every post, otherwise the site stops working.

vwochnik avatar Apr 07 '18 14:04 vwochnik