Skip to content

Commit

Permalink
fix search paths
Browse files Browse the repository at this point in the history
  • Loading branch information
bulbil committed Jan 26, 2024
1 parent 3b86c96 commit 8d97856
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function handleMutation(mutations, el, oldNode) {
e.preventDefault();
let searchUrl = new URL(route.origin);
searchUrl.searchParams.append("q", e.target[0].value);
searchUrl.pathname = "search";
searchUrl.pathname = "search/";
window.location = searchUrl.toString();
});

Expand Down
2 changes: 1 addition & 1 deletion pages/about.liquid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: default
title: about
permalink: /about.html
permalink: /about/
---
2 changes: 1 addition & 1 deletion pages/search.liquid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: default
title: search
permalink: /search.html
permalink: /search/
---


Expand Down

0 comments on commit 8d97856

Please sign in to comment.