1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00
Files
gohugoio-hugo/hugolib
Bjørn Erik Pedersen 88b5bbd532 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
2016-12-27 12:01:54 +01:00
..
2016-09-18 19:16:39 +02:00
2016-09-06 18:32:20 +03:00
2016-11-22 09:57:03 +01:00
2016-06-25 17:57:05 -05:00
2016-09-06 18:32:18 +03:00
2016-09-06 18:32:16 +03:00
2016-11-22 09:57:03 +01:00
2016-10-12 16:54:29 +02:00
2016-11-22 09:57:03 +01:00
2016-02-06 13:09:52 +01:00
2016-09-12 10:56:16 +02:00
2016-11-23 09:13:00 +01:00
2016-11-22 09:57:03 +01:00
2016-11-23 18:32:17 +01:00
2016-10-28 14:46:33 +02:00
2016-11-23 18:32:17 +01:00
2016-10-13 13:51:16 +02:00
2016-11-22 09:57:03 +01:00
2016-11-22 09:57:03 +01:00