chore: layouts/PostLayout.tsx use main branch for editUrl
This commit is contained in:
parent
6140ff7780
commit
14067f2039
@ -10,7 +10,7 @@ import Tag from '@/components/Tag'
|
||||
import siteMetadata from '@/data/siteMetadata'
|
||||
import ScrollTopAndComment from '@/components/ScrollTopAndComment'
|
||||
|
||||
const editUrl = (path) => `${siteMetadata.siteRepo}/blob/master/data/${path}`
|
||||
const editUrl = (path) => `${siteMetadata.siteRepo}/blob/main/data/${path}`
|
||||
const discussUrl = (path) =>
|
||||
`https://mobile.twitter.com/search?q=${encodeURIComponent(`${siteMetadata.siteUrl}/${path}`)}`
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user