Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

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

Open
sithamet opened this issue Aug 5, 2020 · 0 comments
Open

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

sithamet opened this issue Aug 5, 2020 · 0 comments

Comments

@sithamet
Copy link

sithamet commented Aug 5, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant