Closed dagurval closed 6 years ago
@EchterAgo I didn't notice it until the updates went live, but the change in #58 broke the title. I don't know if this is the correct way to fix it, but it works. Thoughts?
I also just noticed this, will investigate.
On Feb 28, 2018 02:42, "dagurval" notifications@github.com wrote:
@EchterAgo https://github.com/echterago I didn't notice it until the updates went live, but the change in #58 https://github.com/bitcoinxt/website/pull/58 broke the title. I don't know if this is the correct way to fix it, but it works. Thoughts?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bitcoinxt/website/pull/59#issuecomment-369001200, or mute the thread https://github.com/notifications/unsubscribe-auth/AA4SeQtwLHykHp7s6Gk1PuJw6GzPzvJ6ks5tZFp2gaJpZM4SVhkr .
I think this is a bug in jekyll-multiple-languages-plugin. After the revert it is exactly how the plugin recommends to do translation in templates:
https://github.com/Anthony-Gaudino/jekyll-multiple-languages-plugin#54-i18n-in-templates
Yet it warns that the keys are missing. Maybe we should provide a fallback title/description? Or just ignore the warning?
Anyway, I think this revert is correct and should be merged.
Thanks for investigating @EchterAgo
Partial revert of #58