mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-18 04:06:05 +02:00
refactor: rename functions
This commit is contained in:
parent
ca1abd28c1
commit
f5526f8622
17 changed files with 46 additions and 49 deletions
|
@ -1,11 +1,10 @@
|
|||
---
|
||||
import themeConfig from '@/config'
|
||||
import { getPagePath } from '@/i18n/path'
|
||||
import { getPageInfo } from '@/i18n/path'
|
||||
|
||||
const { title, subtitle } = themeConfig.site
|
||||
const { titleSpace } = themeConfig.global
|
||||
const currentPath = Astro.url.pathname
|
||||
const { getLocalizedPath } = getPagePath(currentPath)
|
||||
const { getLocalizedPath } = getPageInfo(Astro.url.pathname)
|
||||
|
||||
const marginBottom = {
|
||||
1: 'mb-1.625',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue