Skip to content

Commit

Permalink
Fix links
Browse files Browse the repository at this point in the history
  • Loading branch information
mskelton committed Sep 9, 2024
1 parent d754107 commit e2a1599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/markdown/MarkdownLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { AnchorHTMLAttributes } from "react"
import { siteMeta } from "lib/siteMeta"

function normalizeHref(href: string) {
return href.startsWith(siteMeta.url) ? href.replace(siteMeta.url, "") : ""
return href.startsWith(siteMeta.url) ? href.replace(siteMeta.url, "") : href
}

export interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {}
Expand Down

0 comments on commit e2a1599

Please sign in to comment.