From d7fb4fe1f575069fb62e79fc36968c86d3cc756d Mon Sep 17 00:00:00 2001 From: edisonxiang Date: Wed, 11 Sep 2019 01:11:27 +0800 Subject: [PATCH] avoid the conflict with styles --- .../layouts/partials/docs/html-head.html | 4 +-- themes/project/layouts/partials/head.html | 3 --- themes/project/layouts/partials/nav.html | 26 ------------------- themes/project/layouts/partials/scripts.html | 3 ++- themes/project/static/css/custom.css | 17 ++++++++++++ 5 files changed, 21 insertions(+), 32 deletions(-) diff --git a/themes/project/layouts/partials/docs/html-head.html b/themes/project/layouts/partials/docs/html-head.html index 1c7ef08..0db4e5a 100644 --- a/themes/project/layouts/partials/docs/html-head.html +++ b/themes/project/layouts/partials/docs/html-head.html @@ -3,9 +3,9 @@ {{ partial "docs/title" . }} | {{ .Site.Title -}} - + {{ if default true .Site.Params.BookSearch }} {{- $searchJS := resources.Get "search.js" | resources.ExecuteAsTemplate "search.js" . | resources.Minify | resources.Fingerprint }} diff --git a/themes/project/layouts/partials/head.html b/themes/project/layouts/partials/head.html index b92db6e..8a9cb8d 100644 --- a/themes/project/layouts/partials/head.html +++ b/themes/project/layouts/partials/head.html @@ -73,7 +73,4 @@ - - - diff --git a/themes/project/layouts/partials/nav.html b/themes/project/layouts/partials/nav.html index 654e30f..63019a4 100644 --- a/themes/project/layouts/partials/nav.html +++ b/themes/project/layouts/partials/nav.html @@ -1,29 +1,3 @@ - -