mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-15 19:22:52 +02:00

- Update config.ts with more descriptive comments and simplified settings - Remove about page content section - Add new path utility functions for localization and page type detection - Introduce SiteTitle component for mobile post page navigation - Modify Header and Layout components to use new path utilities - Adjust title spacing and font sizes - Update VSCode settings with new dictionary words
15 lines
328 B
Text
15 lines
328 B
Text
---
|
|
import themeConfig from '@/config'
|
|
import { getPagePath } from '@/utils/path'
|
|
|
|
const { title } = themeConfig.site
|
|
const currentPath = Astro.url.pathname
|
|
const { getLocalizedPath } = getPagePath(currentPath)
|
|
---
|
|
|
|
<a
|
|
class="mt--1.4 text-8.32 c-secondary font-bold font-title"
|
|
href={getLocalizedPath('/')}
|
|
>
|
|
{title}
|
|
</a>
|