mirror of
https://github.com/dzeiocom/markblog.git
synced 2025-06-20 06:29:20 +00:00
@ -80,10 +80,11 @@ PortfolioIndex.getInitialProps = async (context: NextPageContext) => {
|
||||
if (!post.isStarted) {
|
||||
await post.fetch()
|
||||
}
|
||||
const tags = []
|
||||
if (!post.header) {
|
||||
continue
|
||||
}
|
||||
|
||||
const tags = []
|
||||
for (const tg of post.header.tags || []) {
|
||||
tags.push(tg.toLowerCase())
|
||||
}
|
||||
|
Reference in New Issue
Block a user