Query kirby version

Hi yall,

Is it possible to query the current installed Kirby version? I use $kirby->version() in a template but when setting the below in my blueprint it’s failing with an error. The docs mention a static function Kirby::version(). Am I able to use that in the query language?

quicklinks:
  label: Quick links
  type: stats
  reports:
    - label: Version
      value: {{ kirby.version }}
      theme: positive

Thanks

You’re just missing a pair of " around the query.
Should be value: "{{kirby.version}}"

Screenshot 2022-06-28 at 7.35.02 AM

Damn… That was rookie mistake. Thanks a lot! @manuelmoreale

1 Like