mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-07-20 04:45:11 -05:00
The subtitle script injected the 'Machine Learning Systems' link as a sibling of the logo <img>, which sits inside Quarto's <a class="sidebar-logo-link"> wrapper. That nested our anchor inside the logo anchor (invalid HTML), so clicking it fired the outer logo link (./index.html) instead of navigating to the book. Insert the subtitle after the logo anchor as a child of .sidebar-header so the link works. The version chip keys off subtitle.parentNode and is fixed by the same move.