Skip to content

Commit 4d209ab

Browse files
authored
Merge pull request #33 from QuLogic/redir-search
Make search go to stable docs instead of the mostly-empty brochure site
2 parents f7f99c3 + 9e6ae82 commit 4d209ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/Caddyfile.j2

+2
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ http://{{ caddy.addresses.main }}, http://{{ ansible_fqdn }} {
8080

8181
# redirect the objects.inv
8282
redir /objects.inv /stable/objects.inv permanent
83+
# Make search go to the actual docs instead of the mostly-empty brochure site.
84+
redir /search.html /stable/search.html?{query} temporary
8385

8486
# Place the brochure site at the top level.
8587
@brochure file {

0 commit comments

Comments
 (0)