We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 223cf8f commit a94e775Copy full SHA for a94e775
src/utils/rss.js
@@ -40,7 +40,7 @@ exports.generateRssFeed = function () {
40
const files = filesByOldest.reverse();
41
42
for (const filePath of files) {
43
- const id = path.basename(filePath);
+ const id = filePath.split('/').slice(-1).join('');
44
if (id !== 'index.md') {
45
const content = fs.readFileSync(filePath, 'utf-8');
46
const {data} = matter(content);
0 commit comments