From b9e22bb8f2f5216e2e7f1a89e1f9173ba04de95c Mon Sep 17 00:00:00 2001 From: Onur Aslan Date: Wed, 15 Jun 2016 17:25:28 +0300 Subject: [PATCH] Use light theme when javascript is disabled mdBook is setting theme (by adding a class attribute to body tag) with javascript. Page is not using any theme by default and page is not using any styling unless javascript is enabled. This patch is adding class attribute to body tag and making mdBook to use `light` theme when javascript is disabled. Fixes: #144 --- src/theme/index.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/theme/index.hbs b/src/theme/index.hbs index d0665675..5f9d94d7 100644 --- a/src/theme/index.hbs +++ b/src/theme/index.hbs @@ -31,7 +31,7 @@ } - +