💄 Allow slash as post divider
This commit is contained in:
@ -50,7 +50,7 @@ export default defineEventHandler(async (event) => {
|
||||
.use(rehypeStringify)
|
||||
.process(post.body.content)
|
||||
|
||||
const slug = post.alias ? `/posts/${post.area_alias}:${post.alias}` : `/posts/${post.id}`
|
||||
const slug = post.alias ? `/posts/${post.area_alias}/${post.alias}` : `/posts/${post.id}`
|
||||
|
||||
feed.addItem({
|
||||
date: new Date(post.published_at),
|
||||
|
Reference in New Issue
Block a user