From 974f4f9bc865c0d03db9e9732119ad873ea8f637 Mon Sep 17 00:00:00 2001 From: Saivann Date: Fri, 11 Apr 2014 12:28:52 -0400 Subject: [PATCH] Add temporary workaround for broken /heartbleed/ link --- _plugins/alerts.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_plugins/alerts.rb b/_plugins/alerts.rb index 60b6a8f9..bb5867f1 100644 --- a/_plugins/alerts.rb +++ b/_plugins/alerts.rb @@ -37,6 +37,8 @@ module Jekyll 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