We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52d0b0d commit 9b53365Copy full SHA for 9b53365
resources/js/Components/Layout.jsx
@@ -253,7 +253,7 @@ export default function Layout({ meta, children }) {
253
</div>
254
)}
255
<a
256
- href={window.location.pathname + '.md'}
+ href={(window.location.pathname === '/' ? 'index' : window.location.pathname) + '.md'}
257
target="_blank"
258
class="mb-12 inline-block rounded border border-gray-400 px-2 py-1 text-xs font-medium uppercase hover:border-gray-500"
259
>
0 commit comments