summaryrefslogtreecommitdiffstats
path: root/lib/output/base.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/output/base.js')
-rw-r--r--lib/output/base.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/output/base.js b/lib/output/base.js
index f10f015..9c2153d 100644
--- a/lib/output/base.js
+++ b/lib/output/base.js
@@ -185,7 +185,7 @@ Output.prototype.onRelativeLink = function(currentPage, href) {
href = currentPage.relative(href);
// Replace .md by .html
- href = this.outputUrl(href);
+ href = this.toURL(href);
}
return href;
@@ -263,7 +263,7 @@ Output.prototype.outputPath = function(filename, ext) {
// Filename for output
// /test/index.html -> /test/
-Output.prototype.outputUrl = function(filename, ext) {
+Output.prototype.toURL = function(filename, ext) {
var href = this.outputPath(filename, ext);
if (path.basename(href) == 'index.html' && this.opts.directoryIndex) {