I have a landing page that customize for each school we sell to. The landing page template currently has the following:
{% assign SchoolName = page_title %}
{% include SchoolName %}
and that renders a snippet named for the school. I create a snippet with the school name and custom information.
If I use {% render SchoolName %}
it does not work because render doesn’t like variables.
Is there a better/not deprecated/best practice way to do this?
My snippets have a little bit of JS which work as snippets but not if I fully customize the landing page