diff --git a/CHANGELOG.md b/CHANGELOG.md index 64f1f94..41b745e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ Code changes to `main` that are *not* in the latest release: - Fixed: erroneous parentheses in `site_nav` conditional by [@mattxwang] in [#1366] - Fixed: navigation scroll to active link regression by [@pdmosses] in [#1367] - Fixed: invalid CSS rules in head elements by [@pdmosses] in [#1368] +- Fixed: accidental disabling of forward-declared stylesheets by [@mattxwang] in [#1373] {: .warning } [#1358] moved `_includes/nav.html` to the `_includes/components` directory, @@ -51,6 +52,7 @@ Users who were overriding that file will need to adjust their sites accordingly. [#1366]: https://github.com/just-the-docs/just-the-docs/pull/1366 [#1367]: https://github.com/just-the-docs/just-the-docs/pull/1367 [#1368]: https://github.com/just-the-docs/just-the-docs/pull/1368 +[#1373]: https://github.com/just-the-docs/just-the-docs/pull/1373 [#1377]: https://github.com/just-the-docs/just-the-docs/pull/1377 ## Release v0.6.2 diff --git a/_includes/head.html b/_includes/head.html index 07ada4e..6cd1d52 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -5,7 +5,7 @@ Results in: HTML for the head element. Includes: css/activation.scss.liquid, head_custom.html. - Overwrites: + Overwrites: ga_tracking_ids, ga_property, file, favicon. Should not be cached, because included files depend on page. {%- endcomment -%} @@ -15,9 +15,9 @@ - - - + + + diff --git a/assets/js/just-the-docs.js b/assets/js/just-the-docs.js index 32324cf..b7e3655 100644 --- a/assets/js/just-the-docs.js +++ b/assets/js/just-the-docs.js @@ -38,7 +38,7 @@ function initNav() { const siteNav = document.getElementById('site-nav'); const mainHeader = document.getElementById('main-header'); const menuButton = document.getElementById('menu-button'); - + disableHeadStyleSheets(); jtd.addEvent(menuButton, 'click', function(e){ @@ -69,15 +69,19 @@ function initNav() { } // The
element is assumed to include the following stylesheets: -// 0. a to /assets/css/just-the-docs-default.css -// 1. a to /assets/css/just-the-docs-head-nav.css -// 2. a