Skip to content

Commit

Permalink
Correct the name of the search page location.
Browse files Browse the repository at this point in the history
content/page/search.md does not work since the search form's action url is "search/?q=xx" not the "page/search/?q=xx".

I also don't think we should change the search.html layout since page/ is a too general name for a section and can be used for other purpose.
  • Loading branch information
incfly committed Aug 5, 2018
1 parent 4afc203 commit ebdf3cd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions exampleSite/content/docs/search-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ Follow the following steps for enabling search in your site.

First of all, you'll need to create a search page.

Create a markdown file under `/content/page/` directory with the filename `search`. If your site is multilingual, you can include language code in the filename. For example:

- `/content/page/search.md`
- `/content/page/search.en.md`
Create a markdown file under `/content/search/` directory with the filename `_index.md`.

Add the following options in the frontmatter:

Expand Down

0 comments on commit ebdf3cd

Please sign in to comment.