Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'resources/page')
-rw-r--r--resources/page/page_paths.go2
1 files changed, 1 insertions, 1 deletions
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
}