mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Use blog layout for alerts with clear RSS feeds
This commit is contained in:
parent
a1b7f4f533
commit
7748504b94
4 changed files with 31 additions and 15 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue