OER-WEB-TEAM / design-system--drupal-theme

1 stars 0 forks source link

Template files assume layout of <header> and <footer> #54

Closed AlexVanK closed 5 months ago

AlexVanK commented 5 months ago

This is a problem:

currently the layout of header and footer is copied straight from the page.html.twig structure of the website and pasted as static html. Instead it needs to be included or the website won't reflect structural changes that may come.

image

AlexVanK commented 5 months ago

Fixed,

has become this:

image

AlexVanK commented 5 months ago

Correction: the above way doesn't allow for include files to be overwritten in child (active theme).

Following trick allows for that: image

AlexVanK commented 5 months ago

Patched yet again! This was painful

image