In MVC there's the concept of Partial Views which helps refactor common code that can be reused by other Views.
Is there a similar concept in SXA Scriban?
Ideal example:
List of Links Template:
{{ for i_links in i_datasource.FooterLinks.children }}
{{ render "Custom Partial" i_datasource }}
{{ end }}
Custom Partial:
<h6>{{ i_datasource.Title }}</h6>
{{ i_datasource.text }}
{{ i_datasource.link }}
It would be good to declare this Custom Partial
in a global scope for the current site so it's not tied to any rendering variant.