Skip to content

Commit

Permalink
Fixes the duplicated inclusion of search.html.
Browse files Browse the repository at this point in the history
Fixes sighingnow#15.

Signed-off-by: Tao He <sighingnow@gmail.com>
  • Loading branch information
sighingnow committed Jan 22, 2022
1 parent 48f26d4 commit 4cdf2bb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion _includes/body.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h1 id="{{ page.id }}">{{ site.title | escape }}</h1>
</section>
</div>

{%- include search.html -%}
{%- include search.html -%}
</div>
</div>
</div>
Expand Down
2 changes: 0 additions & 2 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
{% endif %}
</div>

{%- include search.html -%}

<script>
var gitbook = gitbook || [];
gitbook.push(function() {
Expand Down

0 comments on commit 4cdf2bb

Please sign in to comment.