mirror of
https://github.com/linkedin/school-of-sre
synced 2026-01-03 07:08:02 +00:00
[Fatal] Nav bar js override
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
{% block libs %}
|
||||
<script async defer data-domain="linkedin.github.io" src="https://tracking.eskratch.com/js/plausible.js"></script>
|
||||
<script>document.addEventListener("DOMContentLoaded", function() {
|
||||
if (document.getElementById("nav-3").checked!=true && window.innerWidth>900)
|
||||
document.getElementById("nav-2").checked=true;
|
||||
});</script>
|
||||
{% endblock %}
|
||||
{% set site_url = config.site_url | default(nav.homepage.url, true) | url %}
|
||||
{% if not config.use_directory_urls and site_url[0] == site_url[-1] == "." %}
|
||||
|
||||
Reference in New Issue
Block a user