Use blog layout for alerts with clear RSS feeds

This commit is contained in:
Saivann 2015-07-04 13:15:29 -04:00
parent a1b7f4f533
commit 7748504b94
No known key found for this signature in database
GPG key ID: 5780F5D31B5577B0
4 changed files with 31 additions and 15 deletions

View file

@ -30,6 +30,7 @@ module Jekyll
self.read_yaml(File.join(base, srcdir), src)
self.data['lang'] = lang
self.data['date'] = date
self.data['path'] = srcdir+'/'+src
self.data['layout'] = 'alert'
if dstdir == ''
self.data['canonical'] = '/en/alert/' + src.split('.')[0]