I would like to use dynamic variables for my jekyll + liquid installation. I want to dynamically access the _config.yml file using the dynamic variable names.
It is best explained with an example:
Page:
---
layout: default
title: title_homepage
---
Default Layout:
{{ site.locales[site.default_locale].page.title }}
_config.yml:
default_locale: "en"
locales:
en:
title_homepage: "This is my homepage title!"
pirate:
title_homepage: "Yaaawwwr. Homepage title."
So how can I access the _config.yml with a dynamic variable name?