- πΊπΈUnited States ben.hamelin Adirondack Mountains, NY
Updated Twig doc links
Updated: Comment #N
Twig has this concept of template include and extends. Currently we have to specify the complete path to a template file to include it. This fact, makes this feature of twig unusable for contrib module and themes.
Add a twig namespace for each module and theme (somewhere in CoreServiceProvider::registerTwig).
Syntax in templates without namespaces.
{% extends "core/themes/bartik/templates/node.html.twig" %}
Syntax in templates namespaces.
{% extends "@bartik/node.html.twig" %}
Implementations, Tests, Docs
None.
None. We do not use include or extends in our templates atm.
Fixed
8.0 β°οΈ
theme system
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Updated Twig doc links