summaryrefslogtreecommitdiff
path: root/lib/siteutil.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/siteutil.rb')
-rw-r--r--lib/siteutil.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/siteutil.rb b/lib/siteutil.rb
index 3f36ff2..0c0bb69 100644
--- a/lib/siteutil.rb
+++ b/lib/siteutil.rb
@@ -17,7 +17,7 @@ module Sitegen
while true
a = 'out'+path
b = ('out'+path+'/index.html').gsub('//', '/')
- page = @mk[a] || @mk[b]
+ page = @local[a] || @local[b]
bc.unshift("<a href=\"#{url.route_to(page.url)}\">#{page.atom_title}</a>")
break if path == "/"
path = File::dirname(path)