mirror of
https://github.com/typecho/typecho.git
synced 2025-04-21 02:01:52 +02:00
Fix comments feed jump error (#1491)
This commit is contained in:
parent
2014be4cd3
commit
17d9dcfa17
@ -269,6 +269,9 @@ class Archive extends Contents
|
||||
if ('/comments/' == $feedQuery || '/comments' == $feedQuery) {
|
||||
/** 专为feed使用的hack */
|
||||
$parameter->type = 'comments';
|
||||
$this->options->feedUrl = $this->options->commentsFeedUrl;
|
||||
$this->options->feedRssUrl = $this->options->commentsFeedRssUrl;
|
||||
$this->options->feedAtomUrl = $this->options->commentsFeedAtomUrl;
|
||||
} else {
|
||||
$matched = Router::match($this->request->feed, 'pageSize=10&isFeed=1');
|
||||
if ($matched instanceof Archive) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user