jekyll-multiple-languages-plugin icon indicating copy to clipboard operation
jekyll-multiple-languages-plugin copied to clipboard

Including translated strings in YAML Front Matter does not work

Open sithamet opened this issue 3 years ago • 0 comments

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

sithamet avatar Aug 05 '20 16:08 sithamet