docs: update readme and posts

This commit is contained in:
Timothy Lin
2021-07-11 23:35:19 +08:00
parent e66018ba56
commit c50abde4fa
7 changed files with 52 additions and 15 deletions

View File

@ -26,7 +26,7 @@ const siteMetadata = require('../data/siteMetadata')
.replace('.js', '')
.replace('.mdx', '')
.replace('.md', '')
.replace('/index.xml', '')
.replace('/feed.xml', '')
const route = path === '/index' ? '' : path
if (page === `pages/404.js` || page === `pages/blog/[...slug].js`) {
return