diff --git a/documentation/content/Advanced Features/clean-url.md b/documentation/content/Advanced Features/clean-url.md index 60d944b0..a419eb41 100644 --- a/documentation/content/Advanced Features/clean-url.md +++ b/documentation/content/Advanced Features/clean-url.md @@ -51,3 +51,11 @@ For pages, set PAGE_URL = "{slug}" PAGE_SAVE_AS = "{slug}.html" ``` + +## Search + +For search page, set + +```python +SEARCH_URL = "search" +``` diff --git a/documentation/pelicanconf.py b/documentation/pelicanconf.py index cdefeea1..41b5ec70 100644 --- a/documentation/pelicanconf.py +++ b/documentation/pelicanconf.py @@ -58,6 +58,7 @@ TAGS_URL = "tags" CATEGORIES_URL = "categories" ARCHIVES_URL = "archives" +SEARCH_URL = "search" # Feeds AUTHOR_FEED_ATOM = None diff --git a/templates/404.html b/templates/404.html index 97bc0dfb..a556d6c6 100644 --- a/templates/404.html +++ b/templates/404.html @@ -20,7 +20,8 @@
Sorry, but the page you are looking for cannot be found. It seems that the page you were trying to reach doesn't exist, or may be it has just moved, or it no longer exists.
The best thing to do is to use the search form or start again from the home page.