Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and github-actions[bot] committed Dec 10, 2023
1 parent 0f19c2d commit 115ebab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
? window.scrollTo({
top: 0,
behavior: "smooth"
})
})
: goto("/");
}}
>
Expand Down
4 changes: 2 additions & 2 deletions src/routes/sitemap.xml/+server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ const routes = getRoutes("src/routes").map(route => {
route.path === ""
? 1
: new Date(route.lastMod).getTime() > Date.now() - 7 * 24 * 60 * 60 * 1000
? 0.8
: 0.7,
? 0.8
: 0.7,
// Set the change frequency to weekly, unless the page has not been modified in the last month, in which case it is monthly
changeFreq:
new Date(route.lastMod).getTime() > Date.now() - 30 * 24 * 60 * 60 * 1000
Expand Down

0 comments on commit 115ebab

Please sign in to comment.