diff --git a/_config.yml b/_config.yml index 58d048a..22aef3f 100644 --- a/_config.yml +++ b/_config.yml @@ -21,6 +21,9 @@ baseurl: "/just-the-docs/" # the subpath of your site, e.g. /blog permalink: pretty exclude: ["node_modules/", "*.gemspec", "*.gem", "Gemfile", "Gemfile.lock", "package.json", "script/", "LICENSE.txt", "lib/", "bin/", "README.md", "Rakefile"] +# Enable or disable the site search +search_enabled: true + # Aux links for the upper right navigation aux_links: "Just the Docs on GitHub": diff --git a/_includes/head.html b/_includes/head.html index 8aae2cf..cbd41f9 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -4,7 +4,9 @@ {{ page.title }} - {{ site.title }} + {% if site.search_enabled != nil %} + {% endif %} diff --git a/_layouts/default.html b/_layouts/default.html index fe76346..cc76786 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -16,7 +16,8 @@