Bjørn Erik Pedersen
b3daa1f4bf
hugolib: Fix .IsTranslated with identical filenames
...
This commit refines the key used to map translations:
* Use `translationKey` set in front matter
* Fall back to path + base filename (i.e. the filename without extension and language code)
Note that the Page Kinde will be prepended to both cases above. It does not make sense to have a section as translation for the home page.
Fixes #2699
2017-11-17 19:46:32 +01:00
..
2017-06-13 18:42:45 +02:00
2017-06-13 18:42:45 +02:00
2017-06-13 18:42:45 +02:00
2017-06-13 19:12:10 +02:00
2017-08-09 20:13:02 +02:00
2017-11-17 11:01:46 +01:00
2017-06-13 18:42:45 +02:00
2017-06-13 19:12:10 +02:00
2017-09-25 08:59:02 +02:00
2017-06-13 18:42:45 +02:00
2017-08-07 20:19:24 +02:00
2017-06-13 18:42:45 +02:00
2017-09-29 16:23:16 +02:00
2017-06-13 18:42:45 +02:00
2017-06-13 18:42:45 +02:00
2017-06-13 18:42:45 +02:00
2017-11-17 11:01:46 +01:00
2017-10-14 13:40:43 +02:00
2017-11-17 11:01:46 +01:00
2017-11-17 11:01:46 +01:00
2017-06-13 18:42:45 +02:00
2017-11-17 11:01:46 +01:00
2017-06-13 18:47:17 +02:00
2017-06-13 18:42:45 +02:00
2017-11-11 09:39:43 +01:00
2017-11-17 11:01:46 +01:00
2017-06-20 11:04:14 +02:00
2017-11-17 11:01:46 +01:00
2017-06-13 18:42:45 +02:00
2017-11-17 19:46:32 +01:00
2017-06-13 18:47:17 +02:00
2017-11-17 19:46:32 +01:00
2017-09-06 00:20:02 +02:00
2017-09-06 00:20:02 +02:00
2017-11-11 09:39:43 +01:00
2017-09-29 16:23:16 +02:00
2017-09-07 16:21:33 +02:00
2017-09-06 00:20:02 +02:00
2017-06-13 18:42:45 +02:00
2017-11-17 11:01:46 +01:00
2017-07-04 09:11:49 +02:00
2017-06-13 18:42:45 +02:00
2017-06-13 18:42:45 +02:00
2017-06-13 18:42:45 +02:00
2017-10-29 20:46:57 +01:00
2017-07-04 09:12:44 +02:00
2017-10-18 16:46:55 +02:00
2017-09-13 12:32:06 +02:00
2017-06-13 19:12:10 +02:00
2017-11-17 11:01:46 +01:00
2017-08-17 09:43:39 +02:00
2017-08-17 09:43:39 +02:00
2017-10-13 13:18:23 +02:00
2017-06-13 18:42:45 +02:00
2017-11-17 11:01:46 +01:00
2017-06-13 18:42:45 +02:00
2017-06-13 18:42:45 +02:00
2017-11-07 23:42:47 +01:00
2017-06-13 18:42:45 +02:00
2017-06-13 18:42:45 +02:00
2017-06-13 21:22:47 +02:00
2017-11-17 19:46:32 +01:00