Skip to content
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.

lost search interface #24

Closed
lvscar opened this issue Jun 30, 2016 · 3 comments
Closed

lost search interface #24

lvscar opened this issue Jun 30, 2016 · 3 comments

Comments

@lvscar
Copy link

lvscar commented Jun 30, 2016

copy layouts/website from "theme-default" to my gitbook _layout directory , then using gitbook build building my book. the final result webpage lost search input interface .

theme-default version: ( master branch and 1.0.4 tag )
gitbook version: 3.1.1

@LionelCons
Copy link

Same here with theme-default master and GitBook 3.2.0 :-(

@SamyPesse
Copy link
Member

Why did you copy the folder?

This is not the right method to extend the default theme.

You can create a file _layouts/website/page.html, which extends the default theme:

{% extends template.self %}

{% block book_navigation %}
      <b>Test</b>
{% endblock %}

@LionelCons
Copy link

I did copy the folder because I wanted to modify the summary and summary.html does not have any block to override.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants