Initial commit
This commit is contained in:
11
src/Template/Layout/rss/default.ctp
Normal file
11
src/Template/Layout/rss/default.ctp
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
if (!isset($channel)) :
|
||||
$channel = [];
|
||||
endif;
|
||||
if (!isset($channel['title'])) :
|
||||
$channel['title'] = $this->fetch('title');
|
||||
endif;
|
||||
|
||||
echo $this->Rss->document(
|
||||
$this->Rss->channel([], $channel, $this->fetch('content'))
|
||||
);
|
||||
Reference in New Issue
Block a user