Having ‘global’ parts would be a great addition to this:
code snippets that are configured once on the ‘office level’ and can be reused in all templates.
This would greatly improve the application of the DRY-principle in Silverfin (Don’t Repeat Yourself).
Translations, for example, could be defined once and applied in multiple places, instead of the current way of having to define (and maintain) each translation multiple times, i.e. in each template it is used in.
We have other use cases for these hypothetical ‘global parts’, where we currently have duplicated Liquid-code in multiple templates…
Just a suggestion
Unfortunately it will never be possile to adjust tags or make custom tags in liquid. Parts are only used to store a block of code, which you can call upon (as many times as you want) in another part.
You can also find more information about parts on our read me site.