Skip to content

Commit

Permalink
Update blog.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
laoma2053 committed Sep 22, 2024
1 parent 9eed540 commit 8582838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ const BLOG = {
// 所有支持的分享服务:link(复制链接),wechat(微信),qq,weibo(微博),email(邮件),facebook,twitter,telegram,messenger,line,reddit,whatsapp,linkedin,vkshare,okshare,tumblr,livejournal,mailru,viber,workplace,pocket,instapaper,hatena

// 文章URL前缀
POST_URL_PREFIX: process.env.NEXT_PUBLIC_POST_URL_PREFIX ?? 'article',
POST_URL_PREFIX: process.env.NEXT_PUBLIC_POST_URL_PREFIX ?? '%category%',
// POST类型文章的默认路径前缀,例如默认POST类型的路径是 /%category%/[slug]
// 如果此项配置为 '' 空, 则文章将没有前缀路径
// 支援類似 WP 可自訂文章連結格式的功能:https://wordpress.org/documentation/article/customize-permalinks/,目前只先實作 %year%/%month%/%day%
Expand Down

0 comments on commit 8582838

Please sign in to comment.