diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-09 19:19:19 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-09 19:19:19 -0500 |
commit | f1b364abf455b3654580718972a77572ca29be02 (patch) | |
tree | 875108b3c8c3ca8af7c8430f37f78be00a91684f /lib/siteutil.rb | |
parent | 955387e6af782e1dabd4d68ad12904263c4e8023 (diff) |
Implement tag pages (finally!)
Diffstat (limited to 'lib/siteutil.rb')
-rw-r--r-- | lib/siteutil.rb | 2 |
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) |