current_view
The current_view function return the configuration of the view being rendered.
{{ current_view }}
Note that thecurret_viewfunction isn't available when used inside of templates included using theincludeorinclude_texfunctions. You can however pass the value ofcurrent_view` as an argument to the included template:
{{ include "includes/child-template-aware-of-the-view.html" $current_view }}