mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 19:51:07 +02:00
fix: visual height inconsistency between chinese and english title font
This commit is contained in:
parent
dc260f3f6c
commit
26a3cce66e
5 changed files with 11 additions and 11 deletions
|
@ -75,7 +75,7 @@ export function getNextLangUrl(currentPath: string): string {
|
|||
* @param supportedLangs 文章支持的语言列表
|
||||
* @returns 下一个可用语言的URL
|
||||
*/
|
||||
export function getPostNextLangUrl(currentPath: string, supportedLangs: string[]): string {
|
||||
export function getNextSupportedLangUrl(currentPath: string, supportedLangs: string[]): string {
|
||||
// 从路径提取当前语言
|
||||
const currentLang = getLangFromPath(currentPath)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue