{"action":"created","issue":{"url":"https://api.github.com/repos/vwochnik/jekyll-language-plugin/issues/12","labels_url":"https://api.github.com/repos/vwochnik/jekyll-language-plugin/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/vwochnik/jekyll-language-plugin/issues/12/comments","events_url":"https://api.github.com/repos/vwochnik/jekyll-language-plugin/issues/12/events","html_url":"https://github.com/vwochnik/jekyll-language-plugin/issues/12","id":127651414,"number":12,"title":"Duplicate posts are listed","user":{"login":"mbmasuda","id":1646132,"avatar_url":"https://avatars.githubusercontent.com/u/1646132?v=3","gravatar_id":"","url":"https://api.github.com/users/mbmasuda","html_url":"https://github.com/mbmasuda","followers_url":"https://api.github.com/users/mbmasuda/followers","following_url":"https://api.github.com/users/mbmasuda/following{/other_user}","gists_url":"https://api.github.com/users/mbmasuda/gists{/gist_id}","starred_url":"https://api.github.com/users/mbmasuda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbmasuda/subscriptions","organizations_url":"https://api.github.com/users/mbmasuda/orgs","repos_url":"https://api.github.com/users/mbmasuda/repos","events_url":"https://api.github.com/users/mbmasuda/events{/privacy}","received_events_url":"https://api.github.com/users/mbmasuda/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vwochnik/jekyll-language-plugin/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"vwochnik","id":373255,"avatar_url":"https://avatars.githubusercontent.com/u/373255?v=3","gravatar_id":"","url":"https://api.github.com/users/vwochnik","html_url":"https://github.com/vwochnik","followers_url":"https://api.github.com/users/vwochnik/followers","following_url":"https://api.github.com/users/vwochnik/following{/other_user}","gists_url":"https://api.github.com/users/vwochnik/gists{/gist_id}","starred_url":"https://api.github.com/users/vwochnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vwochnik/subscriptions","organizations_url":"https://api.github.com/users/vwochnik/orgs","repos_url":"https://api.github.com/users/vwochnik/repos","events_url":"https://api.github.com/users/vwochnik/events{/privacy}","received_events_url":"https://api.github.com/users/vwochnik/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-01-20T10:24:50Z","updated_at":"2016-01-22T13:13:06Z","closed_at":"2016-01-22T13:13:06Z","body":"In `jekyll-language-plugin/example/index.html` there is the following code:\r\n\r\n    <ul>\r\n    {% for post in site.posts %}\r\n      {% if post.language == page.language %}\r\n        <li><a href=\"{{ site.baseurl }}{{ post.url }}\">{{ post.title }}</a></li>\r\n      {% endif %}\r\n    {% endfor %}\r\n    </ul>\r\n\r\nWhen rendered on my system, the `Welcome to Jekyll!` post is displayed twice on both the English and German pages.  On the German page, the `Willkommen bei Jekyll!` post is displayed once.\r\n\r\nI am using Jekyll 3.0.0 on Mac OS X El Capitan 10.11.2 (15C50).\r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/vwochnik/jekyll-language-plugin/issues/comments/173917044","html_url":"https://github.com/vwochnik/jekyll-language-plugin/issues/12#issuecomment-173917044","issue_url":"https://api.github.com/repos/vwochnik/jekyll-language-plugin/issues/12","id":173917044,"user":{"login":"vwochnik","id":373255,"avatar_url":"https://avatars.githubusercontent.com/u/373255?v=3","gravatar_id":"","url":"https://api.github.com/users/vwochnik","html_url":"https://github.com/vwochnik","followers_url":"https://api.github.com/users/vwochnik/followers","following_url":"https://api.github.com/users/vwochnik/following{/other_user}","gists_url":"https://api.github.com/users/vwochnik/gists{/gist_id}","starred_url":"https://api.github.com/users/vwochnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vwochnik/subscriptions","organizations_url":"https://api.github.com/users/vwochnik/orgs","repos_url":"https://api.github.com/users/vwochnik/repos","events_url":"https://api.github.com/users/vwochnik/events{/privacy}","received_events_url":"https://api.github.com/users/vwochnik/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T13:13:06Z","updated_at":"2016-01-22T13:13:06Z","body":"I am very sorry. I have been able to reproduce the bug and you are indeed correct. While the English post is listed twice, there is only one file for the German translation. I have already made a fix 02baa82."}}