Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
clement2323 committed Oct 23, 2024
1 parent 892cbb8 commit e4a9a13
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/departement/[departement].md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
title: [departement]
---

```js
// Get the department from the URL parameter
const departement = new URL(window.location.href).pathname.split('/').pop();
Expand Down

0 comments on commit e4a9a13

Please sign in to comment.