From 8674473d0c4544c3b70bee331b2c9ca44285998a Mon Sep 17 00:00:00 2001 From: Marcell Mars Date: Thu, 11 Feb 2021 03:12:11 +0100 Subject: [PATCH] fixed bug in case of inner links to non-existing sandpoint pages --- .../Dotawo/layouts/_default/_markup/render-image.html | 2 +- layouts/_default/_markup/render-image.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/customizations/Dotawo/layouts/_default/_markup/render-image.html b/customizations/Dotawo/layouts/_default/_markup/render-image.html index 6e23020..7faa3d3 100644 --- a/customizations/Dotawo/layouts/_default/_markup/render-image.html +++ b/customizations/Dotawo/layouts/_default/_markup/render-image.html @@ -34,7 +34,7 @@ {{- index (split .Destination ":") 0 -}}⁄{{- $text_link -}} {{- end -}} {{- else -}} - {{- $text_link -}}⦚{{- .Destination -}} not found + {{- $text_link -}}⦚{{- .Destination -}} not found {{- end -}} {{- else if strings.HasPrefix .Destination "audio:" -}} {{- $a_destination := (substr .Destination 6) -}} diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html index 37f740c..f1cef80 100644 --- a/layouts/_default/_markup/render-image.html +++ b/layouts/_default/_markup/render-image.html @@ -34,7 +34,7 @@ {{- index (split .Destination ":") 0 -}}⁄{{- $text_link -}} {{- end -}} {{- else -}} - {{- $text_link -}}⦚{{- .Destination -}} not found + {{- $text_link -}}⦚{{- .Destination -}} not found {{- end -}} {{- else if strings.HasPrefix .Destination "audio:" -}} {{- $a_destination := (substr .Destination 6) -}}