Hi guys,
Any ideas on which is the best way to get the version number of the active theme using Twig ? My best attempt so far is:
TWIG
{% set themeobj = grav['themes'] %}
{% set themeinfo = themeobj.get(config.system.pages.theme).blueprints %}
<p id="theme-about">{{ themeinfo.name }} {{ themeinfo.version }}<p>
But it doesn't feel very idiomatic. I'm maybe missing something here.
Thank you very much for your time and help,