diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html index 536d38b2..f95ff64d 100644 --- a/layouts/_default/_markup/render-link.html +++ b/layouts/_default/_markup/render-link.html @@ -1,6 +1,4 @@ -{{- if hasPrefix .Destination "https://t.me/" -}} -@{{ slicestr .Destination 13 }} -{{- else if hasPrefix .Destination "mailto:" -}} +{{- if hasPrefix .Destination "mailto:" -}} {{- $text := replace (replace .Text "-" "--") "_" "__" -}}