You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But href is built in navigation.ts, using this code:
href: getPermalink('/contact'),
So getPermalink and trimSlash do not return the same value, for 'contact, getPermalink will return '/contact/', but the 'trimSlash' line will return '/contact'. I believe 'currentPath' sould be built the same as navigation.ts:
Hello,
Using site option trailingSlash, I believe there is a mistake in Header.astro at this line:
Later in the page there is this code:
But href is built in navigation.ts, using this code:
So
getPermalink
andtrimSlash
do not return the same value, for 'contact, getPermalink will return '/contact/', but the 'trimSlash' line will return '/contact'. I believe 'currentPath' sould be built the same as navigation.ts:The text was updated successfully, but these errors were encountered: