diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html index 6b352e5f0..f9d764769 100644 --- a/layouts/_default/_markup/render-link.html +++ b/layouts/_default/_markup/render-link.html @@ -5,4 +5,6 @@ {{ $title = replace $title "https://github.com/" "" }} {{ $title = replace $title "/issues/" "#" }} {{ $title = replace $title "/pull/" "#" }} -{{ $title | safeHTML }} + +// This is a custom link resolver that resolves both internal and external links, thanks to @cmd-ntrf for the helpful fix. +{{ $title | safeHTML }}