psu-libraries / psulib_base

Drupal Base Theme
0 stars 0 forks source link

184 add ability to display site name in header #185

Closed zipymonkey closed 11 hours ago

zipymonkey commented 2 days ago

This adds a new block component and uses this for the system brand block. The output should NOT change at all but the component allows for us to display the site name next to the logo and to update the logo so that it links to another site (i.e. psu.edu for policy or libraries.psu.edu for the intranet site).

You can test the different options by changing the props in templates/block/block--system-branding-block.html.twig and the clearing the cache.

With the title enabled it will look like this:

https://github.com/user-attachments/assets/b1eca85a-37fa-4fbd-81e9-71d36572c892