Skip to content

Commit

Permalink
Merge pull request #50 from terwer/dev
Browse files Browse the repository at this point in the history
feat:#42 修复SEO关键字
  • Loading branch information
terwer authored Sep 3, 2022
2 parents ee2115a + d6e1190 commit 34b439f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/common/siteconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default class SiteConfig {
this.webtheme = "default"
this.webname = "浅海拾贝"
this.webslogen = "寻找未知的技术拼图"
this.keywords = "软件架构服务端开发JavaSpringDubboZookeeper微服务"
this.keywords = "软件架构,服务端开发,Java,Spring,Dubbo,Zookeeper,微服务"
this.description = "浅海拾贝是关注与分享互联网及服务端开发技术的个人博客,致力于Java后端开发及服务端技术、软件架构、微服务技术分享。同时也记录个人的一路点滴,所蕴含的包括前端、后端、数据库等知识,欢迎您关注我。"
this.beianinfo = "粤ICP备18023717号-1"
}
Expand Down
2 changes: 1 addition & 1 deletion pages/post/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ export const getServerSideProps: GetServerSideProps<Props> = async (context) =>
cfg.webslogen = cfg.webname
cfg.webname = post.title
if (post.mt_keywords) {
cfg.keywords = post.mt_keywords.split(",").join(" ")
cfg.keywords = post.mt_keywords.split(",").join(",")
}
if (post.shortDesc) {
cfg.description = post.shortDesc
Expand Down

1 comment on commit 34b439f

@vercel
Copy link

@vercel vercel bot commented on 34b439f Sep 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.