feed: set tagline as subtitle. fixes #2239
This commit is contained in:
parent
fe9d054b30
commit
1136941dd7
|
@ -22,6 +22,7 @@ class FeedCreator
|
|||
|
||||
$this->feed = new \UniversalFeedCreator();
|
||||
$this->feed->title = $this->options->get('title');
|
||||
$this->feed->description = $this->options->get('subtitle');
|
||||
$this->feed->link = DOKU_URL;
|
||||
$this->feed->syndicationURL = DOKU_URL . 'feed.php';
|
||||
$this->feed->cssStyleSheet = DOKU_URL . 'lib/exe/css.php?s=feed';
|
||||
|
|
|
@ -98,6 +98,7 @@ class FeedCreatorOptions
|
|||
if ($this->options['namespace']) {
|
||||
$this->options['title'] .= ' - ' . $this->options['namespace'];
|
||||
}
|
||||
$this->options['subtitle'] = $conf['tagline'];
|
||||
|
||||
$this->options = array_merge($this->options, $options);
|
||||
|
||||
|
|
Loading…
Reference in New Issue