Skip to content

Commit

Permalink
Add temporary workaround for broken /heartbleed/ link
Browse files Browse the repository at this point in the history
  • Loading branch information
saivann committed Apr 11, 2014
1 parent afbc4a6 commit 974f4f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _plugins/alerts.rb
Expand Up @@ -37,6 +37,8 @@ def initialize(site, base, lang, srcdir, src, dstdir, dst, date)
end
if self.data.has_key?('alias')
site.pages << AlertPage.new(site, base, lang, srcdir, src, '', self.data['alias']+'.html', date)
#FIXME temporary workaround to redirect /heartbleed/ to the appropriate alert page.
site.pages << AlertPage.new(site, base, lang, srcdir, src, '', self.data['alias']+'/index.html', date)
end
end
end
Expand Down

0 comments on commit 974f4f9

Please sign in to comment.