raviriley / agency-jekyll-theme

Jekyll version of the newest Agency Bootstrap theme, plus new features: Google Analytics, Markdown support, custom pages, and more!
https://raviriley.github.io/agency-jekyll-theme-starter/
MIT License
347 stars 689 forks source link

Custom pages with language support #44

Closed BeneHa closed 2 years ago

BeneHa commented 2 years ago

Hi,

I have a question about the usage of the theme. So far I am editing _data/sitetext.yml to create content. But I want to create some other pages like legal.md based on the page layout. These should also support multiple languages, so I want to create them as yml like the sitetext.yml and not as markdown like the legal.md. Maybe I even want to base them on a custom section in _includes. How can I do this?

Thanks for your help :)

raviriley commented 2 years ago

You can add liquid to legal.md and add to sitetext to add multiple languages to the legal page. If you want to include components, you can make legal an HTML page