幽灵博客不创建 RSS 提要
Ghost blog not creating RSS feed
当我尝试导航到“/rss”url 时,Ghost FAQs suggest that my ghost blog's rss feed can be found at 'exampleblog.com/rss'. However my blog 抛出 404。关于我可能出错的地方有什么建议吗?
如果有帮助,博客托管在 github 个页面上。这是我在 config.js 中的制作设置:
// ### Production
// When running Ghost in the wild, use the production environment
// Configure your URL and mail settings here
production: {
url: 'http://markbennett.io',
mail: {
transport: 'SMTP',
options: {
service: 'Mailgun',
auth: {
user: '[removed]', // mailgun username
pass: '[removed]' // mailgun password
}
}
},
database: {
client: 'sqlite3',
connection: {
filename: path.join(__dirname, '/content/data/ghost.db')
},
debug: false
},
server: {
// Host to be passed to node's `net.Server#listen()`
host: '127.0.0.1',
// Port to be passed to node's `net.Server#listen()`, for iisnode set this to `process.env.PORT`
port: '2368'
}
}
您的 RSS 似乎在 http://markbennett.io/rss/index.rss。确保更新模板文件,并确保更新 <head>
.
中 rss <link>
标签的 href
当我尝试导航到“/rss”url 时,Ghost FAQs suggest that my ghost blog's rss feed can be found at 'exampleblog.com/rss'. However my blog 抛出 404。关于我可能出错的地方有什么建议吗?
如果有帮助,博客托管在 github 个页面上。这是我在 config.js 中的制作设置:
// ### Production
// When running Ghost in the wild, use the production environment
// Configure your URL and mail settings here
production: {
url: 'http://markbennett.io',
mail: {
transport: 'SMTP',
options: {
service: 'Mailgun',
auth: {
user: '[removed]', // mailgun username
pass: '[removed]' // mailgun password
}
}
},
database: {
client: 'sqlite3',
connection: {
filename: path.join(__dirname, '/content/data/ghost.db')
},
debug: false
},
server: {
// Host to be passed to node's `net.Server#listen()`
host: '127.0.0.1',
// Port to be passed to node's `net.Server#listen()`, for iisnode set this to `process.env.PORT`
port: '2368'
}
}
您的 RSS 似乎在 http://markbennett.io/rss/index.rss。确保更新模板文件,并确保更新 <head>
.
<link>
标签的 href