From eaf1247911cf438a9cffe1bd727f9b1450d81f08 Mon Sep 17 00:00:00 2001 From: Patrick Marsceill Date: Sun, 16 Dec 2018 15:22:51 -0500 Subject: [PATCH] Auto focus main content for keyboard scrolling --- _layouts/default.html | 4 ++-- _sass/layout.scss | 4 ++++ assets/js/just-the-docs.js | 7 +++++++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index ae57564..158fac3 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -20,7 +20,7 @@ {% if site.search_enabled != nil %} -
+
{% unless page.url == "/" %} {% if page.parent %}