diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-12-23 09:52:05 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-12-27 12:01:54 +0100 |
commit | 88b5bbd5329a87046979e222a9ccf74eda59df3c (patch) | |
tree | 20cb12d2b79dc47142ec7b79a93523147348e287 /livereload | |
parent | d1b89f5c7cb3d1031d74014b4b2150a434bf557e (diff) |
hugolib: Fix IsTranslated for "old" node types
The new logic for creating Page objects from old node types
didn't include itself in the translation logic, so
`IsTranslated` returned falsely false for sites with only two languages.
The `AllTranslations` method also returned too few pages in that case.
This commit fixes that.
Fixes #2812
Diffstat (limited to 'livereload')
0 files changed, 0 insertions, 0 deletions