feed: set tagline as subtitle. fixes #2239

This commit is contained in:
Andreas Gohr 2024-01-26 10:10:02 +01:00
parent fe9d054b30
commit 1136941dd7
2 changed files with 2 additions and 0 deletions

View File

@ -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';

View File

@ -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);