From c7dd66bfe2e32430f9b1a3126c67014e40d8405e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sat, 20 Apr 2019 11:50:57 +0200 Subject: Fix links for non-HTML output formats They were not correct for regular pages. Fixes #5877 --- resources/page/page_paths.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources/page') diff --git a/resources/page/page_paths.go b/resources/page/page_paths.go index 89616d421..fd231e72b 100644 --- a/resources/page/page_paths.go +++ b/resources/page/page_paths.go @@ -235,7 +235,7 @@ func CreateTargetPaths(d TargetPathDescriptor) (tp TargetPaths) { pagePath = pjoin(pagePath, d.Type.BaseName+d.Type.MediaType.FullSuffix()) } - if isUgly && !isHtmlIndex(pagePath) { + if !isHtmlIndex(pagePath) { link = pagePath } -- cgit v1.2.3