summaryrefslogtreecommitdiff
path: root/fai_gestion/src/Template/Layout/rss/default.ctp
diff options
context:
space:
mode:
Diffstat (limited to 'fai_gestion/src/Template/Layout/rss/default.ctp')
-rw-r--r--fai_gestion/src/Template/Layout/rss/default.ctp11
1 files changed, 11 insertions, 0 deletions
diff --git a/fai_gestion/src/Template/Layout/rss/default.ctp b/fai_gestion/src/Template/Layout/rss/default.ctp
new file mode 100644
index 0000000..8269be2
--- /dev/null
+++ b/fai_gestion/src/Template/Layout/rss/default.ctp
@@ -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'))
+);