refactor: clean up configuration and components, optimize implementation details

- Remove unused navigation bar and social link configurations
- Update Footer component, simplify code
- Refactor PostList and PostTime components, improve code readability
- Adjust Waline comment component styles
- Streamline content config and reading time plugin
- Update theme guide document titles and tags
This commit is contained in:
radishzzz 2025-03-12 01:05:15 +00:00
parent 8ac9b865f5
commit c23a54ae83
10 changed files with 33 additions and 126 deletions

View file

@ -1,4 +1,3 @@
// biome-ignore lint/suspicious/noShadowRestrictedNames: <explanation>
import { toString } from 'mdast-util-to-string'
import getReadingTime from 'reading-time'
@ -10,6 +9,5 @@ export function remarkReadingTime() {
1,
Math.round(readingTime.minutes),
)
data.astro.frontmatter.words = readingTime.words
}
}