diff --git a/themes/gohugoioTheme/layouts/showcase/single.html b/themes/gohugoioTheme/layouts/showcase/single.html index 0ea5d7a55..382ce3486 100644 --- a/themes/gohugoioTheme/layouts/showcase/single.html +++ b/themes/gohugoioTheme/layouts/showcase/single.html @@ -55,7 +55,7 @@ Showcase: {{ .Title }}

{{.Title}}

{{ with .Params.siteURL }} - {{ . | replaceRE "^https?://([^/]+).*" "$1"}} {{ partial "svg/link-ext.svg" (dict "size" "10") }} + {{ . | replaceRE "^https?://(www\\.)?([^/]+).*" "$2"}} {{ partial "svg/link-ext.svg" (dict "size" "10") }} {{ end }} {{ with .Params.siteSource }} source {{ partial "svg/link-ext.svg" (dict "size" "10") }}