kurtsson / jekyll-multiple-languages-plugin

I18n support for Jekyll and Octopress
MIT License
922 stars 203 forks source link

Including translated strings in YAML Front Matter does not work #173

Open sithamet opened 3 years ago

sithamet commented 3 years ago

Hi! Need your help in how to include different translated strings into the Front Matter

Use case: say I have an excerpt field I need to define.

using excerpt: {% t front. excerpt %} causes the building crash

I tried using liquify variables in the front matter, e.g. {{translations[site.lang]front.exceprt}}, but it renders only {}

I will be VERY GRATEFUL for any help there