diff --git a/layouts/_default/single.html b/layouts/_default/single.html index ca96ed4..f49b464 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -157,7 +157,10 @@

{{ (.Title) }}

  • {{ if (hasPrefix . "http") }} {{ $url := (urls.Parse .) }} - {{ $url.Host }} + {{ $path := (delimit ((split ($url.Path) "/") | last 2) "/") }} + + {{ ($url.Host) }} {{ with ($path) }}({{ . }}){{ end }} + {{ else }} {{ . }} {{ end }}